← Model list
Claude Sonnet 4 (latest)
anthropic·anthropic/claude-sonnet-4-0·GA·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 $0.30 · GitHub Copilot
Lowest paid$2.90 / $14.49
Cortecs Gateway · 1× spread
Context216,000
⚠ Providers report 200,000–216,000; the table below is authoritative
Output limit16,000
Capabilities
✓ Reasoning✓ Tool use✓ Structured 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 3 providers3 with public prices
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Cortecs claude-sonnet-4 | Gateway | $2.90 | $14.49 | $0.29 | $3.62 | 200,000 ⚠ | 200,000 | |
| OrcaRouter anthropic/claude-sonnet-4 | Gateway | $3.00 | $15.00 | $0.30 | $3.75 | 200,000 ⚠ | 64,000 | |
| GitHub Copilot claude-sonnet-4 | Cloud | $3.00 | $15.00 | $0.30 | $3.75 | 216,000 | 16,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
1Cortecs$991.29
2OrcaRouter$1,026.00
3GitHub Copilot$1,026.00
The cheapest paid channel is the only channel.
Benchmark2 items
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| Aider Polyglot | — | 61.3 | percent correct | Source ↗ |
| SWE-Bench Pro | dataset: public | 42.7 | resolve rate | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.
Reasoning control
effort = loweffort = mediumeffort = highbudget_tokens ≥ 1,024
2 / 3 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