Claude Sonnet 3.5 vs GPT-5.4
Both have similar output pricing, while GPT-5.4 offers a larger context window. Choose Claude Sonnet 3.5 or GPT-5.4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Claude Sonnet 3.5 | GPT-5.4 |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Input / 1M tokens | $3.00 | $2.50 |
| Output / 1M tokens | $15.00 | $15.00 |
| Context window | 200K | 1.1M |
| Parameters | — | — |
| Open weights | No | No |
| Released | Jun 2024 | Mar 2026 |
| SWE-bench Multimodal score | 12.2 | — |
| LiveBench score | — | 80.9 |
| GPQA Diamond score | — | 93.3 |
| FrontierMath score | — | 47.6 |
| Epoch Capabilities Index score | — | 157 |
| LMArena (Chatbot Arena) Elo score | — | 1469 |
| LMArena WebDev Elo score | — | 1463 |
| LMArena Vision Elo score | — | 1303 |
FAQ
Is Claude Sonnet 3.5 or GPT-5.4 cheaper?
Claude Sonnet 3.5 and GPT-5.4 have comparable output pricing.
Which has the larger context window, Claude Sonnet 3.5 or GPT-5.4?
GPT-5.4 has the larger context window (1.1M tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.