Model Details
Where is GPT-5 Codex a perfect fit?
Perfect Fit For:
- Code generation, completion, and refactoring
- API and script automation
- Multi-language programming support (Python, JavaScript, Go, etc.)
- Development tools, IDE assistants, and software documentation generation
Quick Model Estimate
Your GPT-5 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 Codex.
No longer offered by
The last prices each provider charged for GPT-5 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.2500 | $10.0000 | $0.1250 | 400,000 tokens | → |
OpenAI | 23rd Jul 2026Model retired | Text | Priority | $2.5000 | $20.0000 | $0.2500 | 400,000 tokens | → |
Recent changes
When GPT-5 Codex was newly listed on a provider, moved to legacy or deprecated, or retired.
-
Retired
OpenAI retired GPT-5 Codex, with GPT-5.6 Sol as the suggested replacement.
Other Models in the GPT-5 Family
Compare GPT-5 Codex with
Two models side by side: worked costs, every rate, and every benchmark figure both of them report.
Alternatives to GPT-5 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 Codex
What is GPT-5 Codex's context window?
GPT-5 Codex has a context window of 400,000 tokens, and returns up to 128,000 tokens in a single response.
Is GPT-5 Codex still available?
GPT-5 Codex is deprecated and was retired on 23 July 2026. The replacement is GPT-5.6 Sol.
