Claude Opus 4.5 (latest) vs GPT-5-Codex: API price and specs
GPT-5-Codex is 57% cheaper than Claude Opus 4.5 (latest) on input price.
GPT-5-Codex is 32% cheaper than Claude Opus 4.5 (latest) on output price.
GPT-5-Codex is 45% cheaper than Claude Opus 4.5 (latest) on a 1M-in / 200k-out workload.
GPT-5-Codex has a 100% larger context than Claude Opus 4.5 (latest).
| Field | Claude Opus 4.5 (latest) | GPT-5-Codex |
|---|---|---|
| Lowest input, per 1M | $2.50 +133.6% | $1.07 |
| Median input, per 1M | $5.00 +300% | $1.25 |
| Lowest output, per 1M | $12.50 +47.1% | $8.50 |
| Median output, per 1M | $25.00 +150% | $10.00 |
| Lowest unit price | — | — |
| Cost of 1M in + 200k out | $5.00 +80.5% | $2.77 |
| Context | 200K +50% | 400K |
| Max output | 66K +48.8% | 128K |
| Providers | 30 | 10 +66.7% |
| Regions | EU, GLOBAL, US | GLOBAL |
| Accepts | application/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text | file, image, pdf, text |
| Returns | text | text |
| Type | Text models | Text models |
| Free option | no | no |
| Cheapest provider | openrouter | opencode |
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, azure, edenai, helicone, impossibl, jiekou, opencode, poe, vercel, zenmux
Frequently asked questions
Which is cheaper, Claude Opus 4.5 (latest) or GPT-5-Codex?
GPT-5-Codex is 57% cheaper than Claude Opus 4.5 (latest) on input price. GPT-5-Codex is 32% cheaper than Claude Opus 4.5 (latest) on output price. GPT-5-Codex is 45% 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-Codex?
Claude Opus 4.5 (latest): 200K tokens; GPT-5-Codex: 400K tokens.
Where can I use both Claude Opus 4.5 (latest) and GPT-5-Codex?
aihubmix, azure, edenai, helicone, impossibl, jiekou, opencode, poe, vercel, zenmux