Claude Opus 4.8 vs GPT-5.4 mini: API price and specs
GPT-5.4 mini is 75% cheaper than Claude Opus 4.8 on input price.
GPT-5.4 mini is 76% cheaper than Claude Opus 4.8 on output price.
GPT-5.4 mini is 75% cheaper than Claude Opus 4.8 on a 1M-in / 200k-out workload.
Claude Opus 4.8 has a 162.1% larger context than GPT-5.4 mini.
| Field | Claude Opus 4.8 | GPT-5.4 mini |
|---|---|---|
| Lowest input, per 1M | $1.50 +300% | $0.38 |
| Median input, per 1M | $5.00 +566.7% | $0.75 |
| Lowest output, per 1M | $9.25 +311.1% | $2.25 |
| Median output, per 1M | $25.00 +455.6% | $4.50 |
| Lowest unit price | $0.001 / request | $0.001 / request |
| Cost of 1M in + 200k out | $3.35 +306.1% | $0.82 |
| Context | 1M | 400K +61.9% |
| Max output | 128K | 128K |
| Providers | 34 | 27 +20.6% |
| Regions | APAC, AU, EU, GLOBAL, JP, US | EU, GLOBAL, US |
| Accepts | application/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text | file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text |
| Returns | text | image, text |
| Type | Text models | Text models |
| Free option | no | no |
| Cheapest provider | xpersona | openrouter |
Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.
Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.
Providers selling both
302ai, abacus, aihubmix, aiml, azure, azure-cognitive-services, cometapi, digitalocean, edenai, fastrouter, freemodel, github-copilot, impossibl, jiekou, kilo, nearai, ofox, opencode, openrouter, orcarouter, poe, requesty, trustedrouter, vercel, xpersona, zenmux
Frequently asked questions
Which is cheaper, Claude Opus 4.8 or GPT-5.4 mini?
GPT-5.4 mini is 75% cheaper than Claude Opus 4.8 on input price. GPT-5.4 mini is 76% cheaper than Claude Opus 4.8 on output price. GPT-5.4 mini is 75% cheaper than Claude Opus 4.8 on a 1M-in / 200k-out workload.
Which has the larger context, Claude Opus 4.8 or GPT-5.4 mini?
Claude Opus 4.8: 1M tokens; GPT-5.4 mini: 400K tokens.
Where can I use both Claude Opus 4.8 and GPT-5.4 mini?
302ai, abacus, aihubmix, aiml, azure, azure-cognitive-services, cometapi, digitalocean, edenai, fastrouter, freemodel, github-copilot, impossibl, jiekou, kilo, nearai, ofox, opencode, openrouter, orcarouter, poe, requesty, trustedrouter, vercel, xpersona, zenmux