Claude Opus 4.8 vs GPT-5.4: API price and specs
GPT-5.4 is 50% cheaper than Claude Opus 4.8 on input price.
GPT-5.4 is 35% cheaper than Claude Opus 4.8 on output price.
GPT-5.4 is 42% cheaper than Claude Opus 4.8 on a 1M-in / 200k-out workload.
GPT-5.4 has a 0.1% larger context than Claude Opus 4.8.
| Field | Claude Opus 4.8 | GPT-5.4 |
|---|---|---|
| Lowest input, per 1M | $1.50 +100% | $0.75 |
| Median input, per 1M | $5.00 +100% | $2.50 |
| Lowest output, per 1M | $9.25 +54.2% | $6.00 |
| Median output, per 1M | $25.00 +66.7% | $15.00 |
| Lowest unit price | $0.001 / request | $0.001 / request |
| Cost of 1M in + 200k out | $3.35 +71.8% | $1.95 |
| Context | 1M +0.1% | 1.1M |
| Max output | 128K | 128K |
| Providers | 34 | 33 +2.9% |
| 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 | application/pdf, 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 | xpersona |
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, amazon-bedrock, azure, azure-cognitive-services, cometapi, cortecs, digitalocean, edenai, fastrouter, freemodel, github-copilot, impossibl, jiekou, kilo, meganova, 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?
GPT-5.4 is 50% cheaper than Claude Opus 4.8 on input price. GPT-5.4 is 35% cheaper than Claude Opus 4.8 on output price. GPT-5.4 is 42% 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?
Claude Opus 4.8: 1M tokens; GPT-5.4: 1.1M tokens.
Where can I use both Claude Opus 4.8 and GPT-5.4?
302ai, abacus, aihubmix, aiml, amazon-bedrock, azure, azure-cognitive-services, cometapi, cortecs, digitalocean, edenai, fastrouter, freemodel, github-copilot, impossibl, jiekou, kilo, meganova, nearai, ofox, opencode, openrouter, orcarouter, poe, requesty, trustedrouter, vercel, xpersona, zenmux