Claude Opus 4 vs GPT-4
GPT-4 is cheaper on output tokens, while Claude Opus 4 offers a larger context window. Choose Claude Opus 4 or GPT-4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Claude Opus 4 | GPT-4 |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Input / 1M tokens | $15.00 | $30.00 |
| Output / 1M tokens | $75.00 | $60.00 |
| Context window | 200K | 8K |
| Parameters | — | — |
| Open weights | No | No |
| Released | May 2025 | Nov 2023 |
| Aider Polyglot score | 72.0 | — |
| GPQA Diamond score | 76.3 | 35.7 |
| FrontierMath score | 4.5 | — |
| Epoch Capabilities Index score | 143 | 126 |
| LMArena (Chatbot Arena) Elo score | 1377 | 1206 |
| LMArena Vision Elo score | 1192 | — |
FAQ
Is Claude Opus 4 or GPT-4 cheaper?
GPT-4 is cheaper on output tokens ($60.00 vs $75.00 per 1M).
Which has the larger context window, Claude Opus 4 or GPT-4?
Claude Opus 4 has the larger context window (200K tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.