OpenAI · model
GPT-5 Codex
$1.25/1M in · $10.00/1M out · 400K context. That's cheaper than 18% of the 298 models we track, by output price. Here's what it costs, how its price has moved, and where it fits.
- Context
- 400K
- Input / 1M
- $1.25
- Output / 1M
- $10.00
- Modality
- text + image
- Provider
- OpenAI
- Tokenizer
- GPT
Snapshot · source: provider list ↗ · how we measure →
For 1,500 input + 500 output tokens across 200,000 requests/month. That's 229× the cheapest tracked option (Ling-2.6-flash, $6.00/mo).
Flat at $10.00 since tracking began 2026-06-14. Full history →
Where it fits
- Long inputs — a 400K-token window holds roughly 600 pages of text at once.
- Multimodal prompts — accepts image input alongside text.
- Quality-first tasks where capability matters more than rate — a first-party flagship rather than a budget pick.
Watch for
- Output at $10.00/1M is among the priciest tracked — output-heavy or reasoning-heavy workloads add up fast.
These notes are derived from price, context and modality — structural facts, not measured quality. Measured cost-to-finish-a-task lives on the real-cost index.
Related models
How to read GPT-5 Codex's pricing
Two numbers decide most of the bill: $1.25/1M for input (everything you send — prompt, context, attachments) and $10.00/1M for output (everything it generates, including hidden reasoning tokens). Output is priced 8.0× the input rate here, so the shape of your workload — how much it reads versus writes — matters as much as the headline figure. This is the provider's first-party list price, reconciled against the routed market each run.
Frequently asked questions
How much does GPT-5 Codex cost per million tokens?
GPT-5 Codex is priced at $1.25 per 1M input tokens and $10.00 per 1M output tokens (first-party list price) as of the 2026-06-15 snapshot. Output is the figure that usually drives the bill. Enter your own token volumes in the cost calculator for a monthly estimate.
What is GPT-5 Codex's context window?
GPT-5 Codex has a 400K-token context window — roughly 600 pages of text. Prompt, attachments, conversation and the model's own output all share that budget, and every token you send is billed at the input rate.
Related
- API cost calculator — your monthly cost for GPT-5 Codex and every other model.
- Model comparison — the full sortable table.
- Price history — how token prices move over time.
- LLM pricing explained — input, output, cached and reasoning tokens.