GPT-5 Codex pricing
GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5, Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effor. Below you will find 1 current row with input and output dollars per million. Right now the lowest input is $1.25 and the lowest output is $10.00.
Pricing across providers
Every row is a seller of GPT-5 Codex with token pricing we track. The cheapest input in this snapshot is from Openrouter. The bar chart shows the same input and output dollars per million for a quick scan.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
O Openrouter | $1.25 | $10.00 | $0.125 | — |
Input vs output · 1M tokens
Cost calculator
Pick any provider row and type how many tokens you expect per day, week, or year. We turn that into rough dollar totals for GPT-5 Codex.
0.125000¢ / req
0.500000¢ / req
Model specifications
Quick spec sheet for GPT-5 Codex before you dive back into pricing. Reported under OpenAI.
- Context window
- 272,000 tokens
- Max output
- 128,000 tokens
- Vision (images)
- Yes
- Tool / function calling
- Yes
- Streaming
- No
- Released
- Sep 2025
- Primary provider
- OpenAI
- Model family
- N/A
Compare GPT-5 Codex
Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for GPT-5 Codex.
- GPT-5 Codex vs GPT-4o
Compare pricing side by side
- GPT-5 Codex vs GPT-4o mini
Compare pricing side by side
- GPT-5 Codex vs o3
Compare pricing side by side
- GPT-5 Codex vs Claude Sonnet 4.6
Compare pricing side by side
- GPT-5 Codex vs Gemini 2.0 Flash
Compare pricing side by side
- GPT-5 Codex vs Llama 3.1 70B
Compare pricing side by side
Frequently asked questions
Read these after the table if you want plain language around GPT-5 Codex rates. The short model note from our index: GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks...
Also from OpenAI
Other models by OpenAI with live pricing in our catalog.