GPT-5.1 Codex Pricing - Cost Calculator

Track GPT-5.1 Codex pricing in real time, receive alerts on token usage, compare providers, and optimize costs for coding workflows.

GPT-5.1 Codex, a coding model from OpenAI released 13 November 2025, has been deprecated. It was replaced by GPT-5.6 Sol on 23 July 2026. A 400,000-token context window feeds responses of up to 128,000 tokens. It costs between $1.25 and $2.50 per million input tokens, depending on service tier.

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
Nov 13, 2025
Status
Deprecated(on Jul 23, 2026)
Context Length
400,000
Max Output
128,000
Superseded By

Where is GPT-5.1 Codex a perfect fit?

Where is GPT-5.1 Codex a perfect fit?
- Long-running, autonomous coding agents and workflows
- Continuous code review and refactoring in large repositories
- Automated test generation, CI/CD integration, and pull-request suggestions
- Interactive development in terminal or IDE via Codex CLI or extension
- Coding tasks where the model needs to think deeply, plan, and iterate over hours

Quick Model Estimate

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

Your GPT-5.1 Codex Cost Estimate

๐Ÿ’ฐ Total Cost

โ€”

for 1000 input + 1000 output tokens

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

Cost Breakdown

๐Ÿ“ฅ Input ๐Ÿ“ค Output

Prices are watched for changes and checked against the provider's own page.

Pricing

Provider โ†•
Modality โ†•
Service Tier โ†•
Input Price
(per 1M tokens)
โ†•
Output Price
(per 1M tokens)
โ†•
Cached Input
(per 1M tokens)
โ†•
Context Size โ†•
View
OpenAI LogoOpenAITextStandard$1.2500$10.0000$0.1250400,000 tokensโ†’
OpenAI LogoOpenAITextPriority$2.5000$20.0000$0.2500400,000 tokensโ†’

FAQs about GPT-5.1 Codex

How much does GPT-5.1 Codex cost per 1M tokens?

GPT-5.1 Codex costs between $1.25 and $2.50 per million input tokens, and between $10.00 and $20.00 per million output tokens. The range covers Standard and Priority pricing.

What does a typical workload cost with GPT-5.1 Codex?

1,000 requests of 2,000 input and 500 output tokens each โ€” 2,000,000 input and 500,000 output tokens in total โ€” costs $7.50 with GPT-5.1 Codex at its lowest rates. Use the calculator on this page for your own volumes.

Where can I use GPT-5.1 Codex?

GPT-5.1 Codex is available through OpenAI, from $1.25 per million input tokens.

What is GPT-5.1 Codex's context window?

GPT-5.1 Codex has a context window of 400,000 tokens, and returns up to 128,000 tokens in a single response.

Is GPT-5.1 Codex still available?

GPT-5.1 Codex is deprecated and was retired on 23 July 2026. The replacement is GPT-5.6 Sol.