GPT-5.2 Codex API pricing retired

OpenAI has scheduled GPT-5.2 Codex for deprecation on 2027-07-13. The prices below are the last ones we recorded (data last changed 2026-10-13); plan a migration before that date.

GPT-5.2 Codex prices per 1M tokens
Input$1.75 / 1M tokens
Output$14.00 / 1M tokens
Cached input$0.175 / 1M tokens

Last prices in context

Its last price was $1.75 input / $14.00 output per 1M. The cheapest current OpenAI model, GPT-5 nano, costs $0.05 / $0.40 (2.86% of the old output price), and the closest current OpenAI model by price is GPT-5.3 Codex ($1.75 / $14.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

Price history

No price changes recorded since tracking began on 2026-10-08.