Claude Opus 4.8 vs GPT-5.4
Claude Opus 4.8 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (159.9 vs 157.9). GPT-5.4 is about 1.8× cheaper on a blended (3:1 input:output) token price. GPT-5.4 has the larger context window (1.1M vs 1M).
| Spec | Claude Opus 4.8 | GPT-5.4 |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Released | May 28, 2026 (better) | Mar 5, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M | 1.1M (better) |
| Max output | 125K | 125K |
| Input price / 1M | $5 | $2.50 (better) |
| Output price / 1M | $25 | $15 (better) |
| Input modalities | text, image, pdf, file | text, image, pdf, file |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 58 (better) | 51 |
| Epoch Capabilities Index | 159.9 (better) | 157.9 |
| GPQA Diamond | 91.0% | 93.3% (better) |
| Humanity's Last Exam | — | 36.2% |
| SWE-bench Verified | — | 76.9% |
| Terminal-Bench | — | 81.8% |
| WebDev Arena | 1559 (better) | 1463 |
| OTIS Mock AIME | 98.3% (better) | 97.8% |
| FrontierMath | 80.0% (better) | 78.6% |
| ARC-AGI-2 | 72.1% | 74.0% (better) |
| SimpleQA Verified | 53.0% (better) | 45.1% |
| METR Time Horizon | — | 342 min |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Opus 4.8 costs $100.00 and GPT-5.4 costs $55.00 at list price (Anthropic / openai pricing).
About Claude Opus 4.8
Claude Opus 4.8 is a proprietary reasoning llm from Anthropic, released May 28, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $5 per million input tokens and $25 per million output tokens. It is available from 58 API providers. It scores 159.9 on the Epoch Capabilities Index. Full Claude Opus 4.8 specs →
About GPT-5.4
GPT-5.4 is a proprietary reasoning llm from OpenAI, released Mar 5, 2026. It has a 1.1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2.50 per million input tokens and $15 per million output tokens. It is available from 51 API providers. It scores 157.9 on the Epoch Capabilities Index. Full GPT-5.4 specs →
Compare other models
FAQ
Which is better, Claude Opus 4.8 or GPT-5.4?
Claude Opus 4.8 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (159.9 vs 157.9). GPT-5.4 is about 1.8× cheaper on a blended (3:1 input:output) token price. GPT-5.4 has the larger context window (1.1M vs 1M).
Is Claude Opus 4.8 cheaper than GPT-5.4?
Claude Opus 4.8 costs $5 input / $25 output per 1M tokens; GPT-5.4 costs $2.50 / $15. GPT-5.4 is cheaper overall.
Which has a bigger context window?
Claude Opus 4.8: 1,000,000 tokens. GPT-5.4: 1,050,000 tokens.
Are Claude Opus 4.8 and GPT-5.4 open source?
Claude Opus 4.8 is proprietary; GPT-5.4 is proprietary.