GPT-5 Codex API pricing retired
OpenAI has scheduled GPT-5 Codex for deprecation on 2027-03-17. The prices below are the last ones we recorded (data last changed 2026-10-13); plan a migration before that date.
| Input | $1.25 / 1M tokens |
|---|---|
| Output | $10.00 / 1M tokens |
| Cached input | $0.125 / 1M tokens |
Last prices in context
Its last price was $1.25 input / $10.00 output per 1M. The cheapest current OpenAI model, GPT-5 nano, costs $0.05 / $0.40 (4% of the old output price), and the closest current OpenAI model by price is GPT-5.1 ($1.25 / $10.00). Before migrating, re-run your own evaluation on the replacement; every current OpenAI price is on the OpenAI hub and changes appear in the monthly roundups.
Current OpenAI models
- GPT-5 nano — $0.05 / $0.40
- GPT-6 Luna — $0.10 / $0.50
- GPT-4o mini — $0.15 / $0.60
- GPT-5.6 Luna — $0.20 / $1.20
- GPT-5.4 nano — $0.20 / $1.25
Price history
No price changes recorded since tracking began on 2026-10-08.