GPT-5 Codex API Pricing Calculator

Track GPT-5-Codex pricing across providers and set alerts to monitor changes in coding-focused AI model costs.

GPT-5 Codex, a coding model from OpenAI released 23 September 2025, has been deprecated. It replaced Codex Mini Latest, but was in turn 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
Sep 23, 2025
Status
Deprecated(on Jul 23, 2026)
Context Length
400,000
Max Output
128,000
Superseded By

Where is GPT-5 Codex a perfect fit?

GPT-5-Codex builds on OpenAI’s coding lineage, providing advanced programming assistance and reasoning capabilities with stronger accuracy, context handling, and language versatility than prior Codex models.

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

(USD 1.2500 per 1M tokens)
(USD 10.0000 per 1M tokens)

Your GPT-5 Codex Cost Estimate

πŸ’° Total Cost

β€”

for 1000 input + 1000 output tokens

πŸ“₯ Input (1000 Γ— $1.250000) β€”
πŸ“€ Output (1000 Γ— $10.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 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 LogoOpenAI23rd Jul 2026Model retiredTextStandard$1.2500$10.0000$0.1250400,000 tokens→
OpenAI LogoOpenAI23rd Jul 2026Model retiredTextPriority$2.5000$20.0000$0.2500400,000 tokens→

Recent changes

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

  1. Retired

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

See all changes, new releases and retirements →

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.