# GPT-5.2 Codex API pricing retired 

GPT-5.2 Codex was retired by [OpenAI](https://apicostcheck.com/providers/openai/) on 2026-07-23, before we started tracking prices, so no price from before the shutdown is shown here. [Provider notice](https://developers.openai.com/api/docs/deprecations) 

This model is retired. OpenAI recommends [GPT-5.6 Sol](https://apicostcheck.com/models/gpt-5.6-sol/) instead ($5.00 / $30.00 per 1M).

[Calculate my cost on GPT-5.6 Sol →](https://apicostcheck.com/calculator/?model=gpt-5.6-sol) 

## Before you migrate

Before migrating, re-run your own evaluation on the model you plan to switch to; every current OpenAI price is on the [OpenAI hub](https://apicostcheck.com/providers/openai/) and changes appear in the [monthly roundups](https://apicostcheck.com/news/).

## Current OpenAI models

- [GPT-6 Luna](https://apicostcheck.com/models/gpt-6-luna/) — $0.10 / $0.50
- [GPT-5.6 Luna](https://apicostcheck.com/models/gpt-5.6-luna/) — $0.20 / $1.20
- [GPT-5.4 mini](https://apicostcheck.com/models/gpt-5.4-mini/) — $0.75 / $4.50
- [GPT-6.1 Terra](https://apicostcheck.com/models/gpt-6.1-terra/) — $1.00 / $5.00
- [GPT-6.2 Sol](https://apicostcheck.com/models/gpt-6.2-sol/) — $2.00 / $10.00

---
Source: https://apicostcheck.com/models/gpt-5.2-codex/ · prices in USD per 1M tokens, synced 2026-12-05 13:00 UTC · Free to reuse under CC BY 4.0 with attribution to apicostcheck.com (a plain or nofollow link is fine). Prices derived from LiteLLM's model price list, MIT License, (c) 2023 Berri AI.
