Context
400K
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.

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.00Mar 3Jun 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.1-codex-max

Frequently asked questions

GPT-5.1-Codex-Max pricing, context and availability

How much does GPT-5.1-Codex-Max cost?

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

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

What can GPT-5.1-Codex-Max do?

GPT-5.1-Codex-Max supports image input (vision), tool use, reasoning and prompt caching.

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