Model Details
Where is GPT-5.2 Codex a perfect fit?
- Long-running coding agents working across hours or sessions
- Large-scale refactoring, migrations, and multi-repo changes
- Autonomous debugging, testing, and iterative improvement loops
- Enterprise engineering workflows with strict security constraints
- Code review, vulnerability detection, and cybersecurity-focused analysis
- Building, modifying, and maintaining complex production systems
Quick Model Estimate
Your GPT-5.2 Codex Cost Estimate
π° Total Cost
β
for 1000 input + 1000 output tokens
Cost Breakdown
At the last price OpenAI charged, before it stopped on 23rd Jul 2026. No longer on offer.
Pricing
No provider we track currently offers GPT-5.2 Codex.
No longer offered by
The last prices each provider charged for GPT-5.2 Codex before it stopped offering it. These are no longer on offer. Each row links to that provider's price history.
|
Provider
β
|
Ended
β
|
Modality
β
|
Service Tier
β
|
Input Price
(per 1M tokens) β |
Output Price
(per 1M tokens) β |
Cached Input
(per 1M tokens) β |
Context Size
β
|
View
|
|---|---|---|---|---|---|---|---|---|
OpenAI | 23rd Jul 2026Model retired | Text | Standard | $1.7500 | $14.0000 | $0.1750 | 400,000 tokens | β |
OpenAI | 23rd Jul 2026Model retired | Text | Priority | $3.5000 | $28.0000 | $0.3500 | 400,000 tokens | β |
Recent changes
When GPT-5.2 Codex was newly listed on a provider, moved to legacy or deprecated, or retired.
-
Retired
OpenAI retired GPT-5.2 Codex, with GPT-5.6 Sol as the suggested replacement.
Other Models in the GPT-5.2 Family
Compare GPT-5.2 Codex with
Two models side by side: worked costs, every rate, and every benchmark figure both of them report.
Alternatives to GPT-5.2 Codex
Current models priced closest to it, by Standard input price against the price it was last sold at, from OpenAI and others.
FAQs about GPT-5.2 Codex
What is GPT-5.2 Codex's context window?
GPT-5.2 Codex has a context window of 400,000 tokens, and returns up to 128,000 tokens in a single response.
Is GPT-5.2 Codex still available?
GPT-5.2 Codex is deprecated and was retired on 23 July 2026. The replacement is GPT-5.6 Sol.
