Claude Opus 4.8 vs GPT-5.4 mini
Claude Opus 4.8 wins 7 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (159.9 vs 149.4). GPT-5.4 mini is about 6× cheaper on a blended (3:1 input:output) token price. Claude Opus 4.8 has the larger context window (1M vs 400K).
| Spec | Claude Opus 4.8 | GPT-5.4 mini |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Released | May 28, 2026 (better) | Mar 17, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M (better) | 400K |
| Max output | 125K | 125K |
| Input price / 1M | $5 | $0.75 (better) |
| Output price / 1M | $25 | $4.50 (better) |
| Input modalities | text, image, pdf, file (better) | text, image, file |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 58 (better) | 43 |
| Epoch Capabilities Index | 159.9 (better) | 149.4 |
| GPQA Diamond | 91.0% (better) | 86.9% |
| WebDev Arena | 1559 (better) | 1397 |
| OTIS Mock AIME | 98.3% (better) | 88.9% |
| FrontierMath | 80.0% (better) | 51.2% |
| ARC-AGI-2 | 72.1% (better) | 18.9% |
| SimpleQA Verified | 53.0% (better) | 29.4% |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Opus 4.8 costs $100.00 and GPT-5.4 mini costs $16.50 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 mini
GPT-5.4 mini is a proprietary reasoning llm from OpenAI, released Mar 17, 2026. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.75 per million input tokens and $4.50 per million output tokens. It is available from 43 API providers. It scores 149.4 on the Epoch Capabilities Index. Full GPT-5.4 mini specs →
Compare other models
FAQ
Which is better, Claude Opus 4.8 or GPT-5.4 mini?
Claude Opus 4.8 wins 7 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (159.9 vs 149.4). GPT-5.4 mini is about 6× cheaper on a blended (3:1 input:output) token price. Claude Opus 4.8 has the larger context window (1M vs 400K).
Is Claude Opus 4.8 cheaper than GPT-5.4 mini?
Claude Opus 4.8 costs $5 input / $25 output per 1M tokens; GPT-5.4 mini costs $0.75 / $4.50. GPT-5.4 mini is cheaper overall.
Which has a bigger context window?
Claude Opus 4.8: 1,000,000 tokens. GPT-5.4 mini: 400,000 tokens.
Are Claude Opus 4.8 and GPT-5.4 mini open source?
Claude Opus 4.8 is proprietary; GPT-5.4 mini is proprietary.