GPT-5 Codex

OpenAIReleasedSep 15, 2025KnowledgeSep 2024
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 Analysis
Speed & 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
BenchmarkBest scoreEffortCost / task
CritPt5%default
GPQA Diamond84%default
Humanity's Last Exam26%default
IFBench74%default
LiveCodeBench84%default
Long-Context Reasoning69%default
MMLU-Pro86%default
MMMU-Pro74%default
Omniscience-6.8default
SciCode41%default
TerminalBench Hard38%default
τ²-bench87%default

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
OpenRouterCheapest$1.25$10.001
ComponentUnitStandardBatchCached
Text cached in/1M tok$0.1250
Text input/1M tok$1.25
Text output/1M tok$10.00

Price history

input + output $/1M since we started tracking
Input Output
$0.000$5.00$10.00Sep 25Jun 22$10.00$1.25

Cost calculator

estimate your monthly spend on this model
$1,050
estimated / month

Model IDs

copy the exact identifier for your platform
openrouter/openai/gpt-5-codex

Frequently asked questions

GPT-5 Codex pricing, context and availability

How 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