Context
400K
Max output
128K
Serving providers
2
Cheapest input
$1.25 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower. An OpenRouter routed quote is the price of whichever upstream provider OpenRouter prefers today, so it moves day to day.

Benchmarks

independent evaluations · source: Artificial Analysis
Headline indices
23.7
of 100
Last refreshed Nov 13, 2026
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
CritPtLast refreshed Oct 26, 20266%default—
GPQA DiamondLast refreshed Oct 26, 202686%default—
Humanity's Last ExamLast refreshed Oct 26, 202626%default—
IFBenchLast refreshed Oct 26, 202670%default—
LiveCodeBenchLast refreshed Oct 26, 202685%default—
Long-Context ReasoningLast refreshed Oct 26, 202669%default—
MMLU-ProLast refreshed Aug 18, 202686%default—
MMMU-ProLast refreshed Oct 26, 202672%default—
OmniscienceLast refreshed Nov 13, 2026-6.5default—
Omniscience AccuracyLast refreshed Oct 26, 20260.4default—
Omniscience Non HallucinationLast refreshed Oct 26, 20260.2default—
SciCodeLast refreshed Oct 26, 202640%default—
TerminalBench HardLast refreshed Oct 26, 202635%default—
τ²-benchLast refreshed Oct 26, 202683%default—
Artificial Analysis scores last refreshed Nov 13, 2026.
Artificial Analysis scores last refreshed Oct 26, 2026.
Artificial Analysis scores last refreshed Aug 18, 2026.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
OpenRouter Routed quote$1.25$10.001
Standardopenai/gpt-5.1-codex
ComponentUnitStandard
Text cached in/1M tok$0.13
Text input/1M tok$1.25
Text output/1M tok$10.00
Vercel Reseller quote$1.25$10.001

Price history

OpenRouter routed quote

OpenRouter's price is a routed quote. It moves with whichever upstream route OpenRouter prefers that day, so we do not track it as a price history.

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-codexopenai/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 as an OpenRouter routed quote, and $10.00 per 1M output tokens as an OpenRouter routed quote. An OpenRouter routed quote is the price of whichever upstream provider OpenRouter prefers today, so it moves day to day.

What is the context window of GPT-5.1-Codex?

GPT-5.1-Codex accepts up to 400K tokens of context and can return up to 128K output tokens.

Which providers serve GPT-5.1-Codex?

GPT-5.1-Codex is available from 2 serving providers, each with its own pricing and model ID. OpenRouter is currently the cheapest, as a routed quote.

What can GPT-5.1-Codex do?

GPT-5.1-Codex supports image input (vision), tool use, reasoning, prompt caching, structured output and web search.

Other OpenAI models

compare pricing across the OpenAI lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Nov 28, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI