AI Rate Card

Claude Opus 4.5 (latest) vs GPT-5.2 Codex: API price and specs

GPT-5.2 Codex is 36% cheaper than Claude Opus 4.5 (latest) on input price.

Claude Opus 4.5 (latest) is 4% cheaper than GPT-5.2 Codex on output price.

GPT-5.2 Codex is 16% cheaper than Claude Opus 4.5 (latest) on a 1M-in / 200k-out workload.

GPT-5.2 Codex has a 100% larger context than Claude Opus 4.5 (latest).

FieldClaude Opus 4.5 (latest)GPT-5.2 Codex
Lowest input, per 1M$2.50 +56.2%$1.60
Median input, per 1M$5.00 +185.7%$1.75
Lowest output, per 1M$12.50$13.00 +4%
Median output, per 1M$25.00 +78.6%$14.00
Lowest unit price——
Cost of 1M in + 200k out$5.00 +19%$4.20
Context200K +50%400K
Max output66K +48.8%128K
Providers3015 +50%
RegionsEU, GLOBAL, USGLOBAL, US
Acceptsapplication/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, textapplication/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text
Returnstexttext
TypeText modelsText models
Free optionnono
Cheapest provideropenrouterpoe

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

aihubmix, aiml, azure, edenai, impossibl, jiekou, kilo, ofox, opencode, openrouter, orcarouter, poe, requesty, vercel, zenmux

Frequently asked questions

Which is cheaper, Claude Opus 4.5 (latest) or GPT-5.2 Codex?

GPT-5.2 Codex is 36% cheaper than Claude Opus 4.5 (latest) on input price. Claude Opus 4.5 (latest) is 4% cheaper than GPT-5.2 Codex on output price. GPT-5.2 Codex is 16% cheaper than Claude Opus 4.5 (latest) on a 1M-in / 200k-out workload.

Which has the larger context, Claude Opus 4.5 (latest) or GPT-5.2 Codex?

Claude Opus 4.5 (latest): 200K tokens; GPT-5.2 Codex: 400K tokens.

Where can I use both Claude Opus 4.5 (latest) and GPT-5.2 Codex?

aihubmix, aiml, azure, edenai, impossibl, jiekou, kilo, ofox, opencode, openrouter, orcarouter, poe, requesty, vercel, zenmux