Claude Sonnet 5 vs GPT-5
Both have similar output pricing, while Claude Sonnet 5 offers a larger context window. Choose Claude Sonnet 5 or GPT-5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Claude Sonnet 5 | GPT-5 |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Input / 1M tokens | $2.00 | $1.25 |
| Output / 1M tokens | $10.00 | $10.00 |
| Context window | 1M | 400K |
| Parameters | — | — |
| Open weights | — | No |
| Released | — | Aug 2025 |
| LMArena (Chatbot Arena) Elo score | 1442 | 1406 |
| LMArena WebDev Elo score | 1540 | 1417 |
| LMArena Vision Elo score | 1274 | 1208 |
| GPQA Diamond score | 90.5 | 86.2 |
| Epoch Capabilities Index score | 156 | 150 |
| SWE-bench Verified score | — | 75.6 |
| Aider Polyglot score | — | 88.0 |
| FrontierMath score | — | 32.4 |
FAQ
Is Claude Sonnet 5 or GPT-5 cheaper?
Claude Sonnet 5 and GPT-5 have comparable output pricing.
Which has the larger context window, Claude Sonnet 5 or GPT-5?
Claude Sonnet 5 has the larger context window (1M tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.