Claude Sonnet 4 vs anthropic--claude-3.5-sonnet
Both have similar output pricing. Choose Claude Sonnet 4 or anthropic--claude-3.5-sonnet based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Claude Sonnet 4 | anthropic--claude-3.5-sonnet |
|---|---|---|
| Provider | Anthropic | SAP AI Core |
| Input / 1M tokens | $3.00 | $3.00 |
| Output / 1M tokens | $15.00 | $15.00 |
| Context window | 200K | 200K |
| Parameters | — | — |
| Open weights | No | No |
| Released | May 2025 | Oct 2024 |
| SWE-bench Verified score | 76.8 | — |
| Aider Polyglot score | 61.3 | — |
| LMArena (Chatbot Arena) Elo score | 1351 | — |
| LMArena Vision Elo score | 1191 | — |
| GPQA Diamond score | 78.3 | — |
| FrontierMath score | 4.1 | — |
| Epoch Capabilities Index score | 142 | — |
FAQ
Is Claude Sonnet 4 or anthropic--claude-3.5-sonnet cheaper?
Claude Sonnet 4 and anthropic--claude-3.5-sonnet have comparable output pricing.
Which has the larger context window, Claude Sonnet 4 or anthropic--claude-3.5-sonnet?
Both models offer a similar context window.
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.