← Model list
Claude Sonnet 4
anthropic·anthropic/claude-sonnet-4-20250514-2·Deprecated·Closed·claude-sonnet series
Balanced Claude model for coding, analysis, agent workflows, and cost control
At a glance
Reference price$3.00 / $15.00 per 1M
Cache read — · Abacus
Lowest paid$2.60 / $13.00
Poe Gateway · 1.2× spread
Context200,000
⚠ Providers report 200,000–1,000,000; the table below is authoritative
Output limit64,000
Capabilities
✓ Reasoning✓ Tool useStructured output✓ Temperature✓ Attachments
Modalities
TextImagePDF
Knowledge cutoff2025-03-31
Released / updated2025-05-22 / 2025-05-22
Quality & performance
Artificial Analysis doesn't cover this model (267 of 2059 have data). Quality data comes from independent evals covering widely used models.
Available at 11 providers11 with public prices
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Poe anthropic/claude-sonnet-4 | Gateway | $2.60 | $13.00 | $0.26 | $3.20 | 983,040 ⚠ | 64,000 | |
| Vertex claude-sonnet-4@20250514 | First-party | $3.00 | $15.00 | $0.30 | $3.75 | 200,000 | 64,000 | deprecated |
| OpenRouter anthropic/claude-sonnet-4 | Gateway | $3.00 tiered >200K: $6.00 | $15.00 | $0.30 | $3.75 | 1,000,000 ⚠ | 64,000 | |
| Vertex (Anthropic) claude-sonnet-4@20250514 | Cloud | $3.00 | $15.00 | $0.30 | $3.75 | 200,000 | 64,000 | deprecated |
| Merge Gateway anthropic/claude-sonnet-4-20250514 | Gateway | $3.00 | $15.00 | $0.30 | $3.75 | 200,000 | 64,000 | |
| DigitalOcean anthropic-claude-sonnet-4 | Cloud | $3.00 tiered >200K: $6.00 | $15.00 | $0.30 | $3.75 | 1,000,000 ⚠ | 64,000 | |
| FastRouter anthropic/claude-sonnet-4 | Gateway | $3.00 | $15.00 | $0.30 | $3.75 | 200,000 | 64,000 | |
| ZenMux anthropic/claude-sonnet-4 | Gateway | $3.00 | $15.00 | $0.30 | $3.75 | 1,000,000 ⚠ | 64,000 | |
| OpenCode Zen claude-sonnet-4 | Gateway | $3.00 tiered >200K: $6.00 | $15.00 | $0.30 | $3.75 | 1,000,000 ⚠ | 64,000 | |
| Vercel AI Gateway anthropic/claude-sonnet-4 | Cloud | $3.00 | $15.00 | $0.30 | $3.75 | 1,000,000 ⚠ | 8,192 | |
| Abacus claude-sonnet-4-20250514 | Gateway | $3.00 | $15.00 | — | — | 200,000 | 64,000 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Your usage cost
1Poe$889.20
2Vertex$1,026.00
3OpenRouter$1,026.00
4Vertex (Anthropic)$1,026.00
5Merge Gateway$1,026.00
6DigitalOcean$1,026.00
The cheapest paid channel is the only channel.
Benchmark1 items
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| Aider Polyglot | — | 61.3 | percent correct | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.
Reasoning control
budget_tokens ≥ 1,024Toggle (on / off)effort = loweffort = mediumeffort = high
3 / 11 providers expose no reasoning control (reasoning_options: []).
Related models
Claude Sonnet 5same series$2.00 / $10.00Claude Sonnet 5 Thinkingsame series$2.00 / $10.00Claude Sonnet 5 (JP)same series$2.00 / $10.00GLM-5.2cheaper alternative$1.40 / $4.40GPT OSS 120Bcheaper alternative$1.00 / $4.20Kimi K2.6cheaper alternative$0.95 / $4.00DeepSeek V4 Procheaper alternative$0.435 / $0.87
Price historyone sample accumulated per data sync
Input listOutput listMin blended