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
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.
