Claude Sonnet 4
AnthropicStandardBalanced model with strong coding, analysis, and instruction following. Best value for most tasks.
Pricing
Input (per 1M tokens)
$3.00
Output (per 1M tokens)
$15.00
Cost Examples
| Scenario | Cost |
|---|---|
| 100 chat messages (500 in / 200 out each) | $0.4500 |
| 1K API calls (2K in / 500 out each) | $13.5000 |
| 10K short requests (200 in / 100 out each) | $21.0000 |
| 1M tokens input + 100K output | $4.5000 |
Capabilities
Context Window
200K
Max Output
64K
Speed
70 tok/s
Released
2025-05-22
YesVision
YesTool Use
YesStreaming
YesJSON Mode
API Details
Model ID
claude-sonnet-4-20250514API Endpoint
https://api.anthropic.com/v1/messagesLast Updated2026-04-12
Other Anthropic Models
Open Cost Calculatorto compare Claude Sonnet 4 costs with other models