Context
400K
Max output
n/a
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
Headline indices
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
CritPt6%default
GPQA Diamond86%default
Humanity's Last Exam26%default
IFBench70%default
LiveCodeBench85%default
Long-Context Reasoning69%default
MMLU-Pro86%default
MMMU-Pro72%default
Omniscience-6.5default
Omniscience Accuracy0.4default
Omniscience Non Hallucination0.2default
SciCode40%default
TerminalBench Hard35%default
τ²-bench83%default

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
OpenRouterCheapest$1.25$10.001
EndpointStd inStd outCached inBatch in / outModel ID
StandardCheapest$1.25$10.00$0.13openai/gpt-5.1-codex

Price history

input + output $/1M since we started tracking
Input Output
$0.000$5.00$10.00Jul 19Jul 27$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
openai/gpt-5.1-codex

Frequently asked questions

GPT-5.1-Codex pricing, context and availability

How much does GPT-5.1-Codex cost?

GPT-5.1-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.1-Codex?

GPT-5.1-Codex accepts up to 400K tokens of context.

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