AI Rate Card

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.

FieldClaude Opus 4.8GPT-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
Context1M400K +61.9%
Max output128K128K
Providers3427 +20.6%
RegionsAPAC, AU, EU, GLOBAL, JP, USEU, GLOBAL, US
Acceptsapplication/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, textfile, image, image/gif, image/jpeg, image/png, image/webp, pdf, text
Returnstextimage, text
TypeText modelsText models
Free optionnono
Cheapest providerxpersonaopenrouter

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