Context
272K
Max output
128K
Serving providers
1
Cheapest input
$1.25 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Benchmarks
independent evaluations · source: Artificial AnalysisSpeed & latency
Output speed
149 t/s
tokens / second
Time to first token
5.25s
latency
Headline indices
Individual benchmarks · click a row for effort variants
| Benchmark | Best score | Effort | Cost / task | |
|---|---|---|---|---|
| CritPt | 5% | default | — | |
| GPQA Diamond | 84% | default | — | |
| Humanity's Last Exam | 26% | default | — | |
| IFBench | 74% | default | — | |
| LiveCodeBench | 84% | default | — | |
| Long-Context Reasoning | 69% | default | — | |
| MMLU-Pro | 86% | default | — | |
| MMMU-Pro | 74% | default | — | |
| Omniscience | -6.8 | default | — | |
| SciCode | 41% | default | — | |
| TerminalBench Hard | 38% | default | — | |
| τ²-bench | 87% | default | — |
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenRouterCheapest | $1.25 | $10.00 | 1 | |||||||||||||||||||||
| ||||||||||||||||||||||||
Price history
input + output $/1M since we started tracking Input Output
Cost calculator
estimate your monthly spend on this model$1,050
estimated / month
Model IDs
copy the exact identifier for your platformopenrouter/openai/gpt-5-codex
Frequently asked questions
GPT-5 Codex pricing, context and availabilityHow much does GPT-5 Codex cost?
GPT-5 Codex costs $1.25 per 1M input tokens and $10.00 per 1M output tokens at its cheapest provider via OpenRouter.
What is the context window of GPT-5 Codex?
GPT-5 Codex accepts up to 272K tokens of context and can return up to 128K output tokens.
What can GPT-5 Codex do?
GPT-5 Codex supports tool use and reasoning.
Other OpenAI models
compare pricing across the OpenAI lineup Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI