GPT-5.2 Codex API Pricing Calculator

Track gpt-5.2-codex pricing with real-time alerts, compare providers, and monitor cost changes across advanced agentic coding workflows.

Released 18 December 2025, GPT-5.2 Codex is a coding model from OpenAI that has been deprecated. It was replaced by GPT-5.6 Sol on 23 July 2026. The context window holds 400,000 tokens, with up to 128,000 returned per response.

Not currently offered by any tracked provider. Who stopped, and its last prices

Last updated Sep 27, 2026

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

๐Ÿ”’ We respect your privacy. Unsubscribe anytime.

Model Details

Released
Dec 18, 2025
Status
Deprecated(on Jul 23, 2026)
Context Length
400,000
Max Output
128,000
Superseded By

Where is GPT-5.2 Codex a perfect fit?

gpt-5.2-codex is built for real-world software engineering at scale, going beyond assistance into full agentic execution. Ideal for:
- 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

(USD 1.7500 per 1M tokens)
(USD 14.0000 per 1M tokens)

Your GPT-5.2 Codex Cost Estimate

๐Ÿ’ฐ Total Cost

โ€”

for 1000 input + 1000 output tokens

๐Ÿ“ฅ Input (1000 ร— $1.750000) โ€”
๐Ÿ“ค Output (1000 ร— $14.000000) โ€”

Cost Breakdown

๐Ÿ“ฅ Input ๐Ÿ“ค Output

At the last price OpenAI charged, before it stopped on 23rd Jul 2026. No longer on offer.

Estimate with GPT-5.6 Sol โ†’

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 LogoOpenAI23rd Jul 2026Model retiredTextStandard$1.7500$14.0000$0.1750400,000 tokensโ†’
OpenAI LogoOpenAI23rd Jul 2026Model retiredTextPriority$3.5000$28.0000$0.3500400,000 tokensโ†’

Recent changes

When GPT-5.2 Codex was newly listed on a provider, moved to legacy or deprecated, or retired.

  1. Retired

    OpenAI retired GPT-5.2 Codex, with GPT-5.6 Sol as the suggested replacement.

See all changes, new releases and retirements →

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.