Scheduled for retirement on May 18, 2027. Still available at the prices below until then.
Context
400K
Max output
128K
Serving providers
4
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.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $1.25 to $1.38 per 1M tokens across 4 providers, so the dearest route costs 10% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
DatabricksCheapest$1.25$10.001
Standarddatabricks/databricks-gpt-5-1-codex-max
ComponentUnitStandard
Text cached in/1M tok$0.125
Text cache write/1M tok$1.25
Text input/1M tok$1.25
Text output/1M tok$10.00
OpenRouter$1.25$10.001
VercelVercel reseller quote$1.25$10.001
Azure$1.38$11.001

Price history

listed seller prices, input and output per 1M tokens
Input Output
$0.00$5.00$10.00Aug 19Aug 26Sep 17$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
databricks/databricks-gpt-5-1-codex-maxopenai/gpt-5.1-codex-maxopenai/gpt-5.1-codex-maxazure/eu/gpt-5.1-codex-max

Frequently asked questions

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

Is GPT-5.1-Codex-Max still available?

Yes. GPT-5.1-Codex-Max is scheduled for retirement on 2027-05-18.

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

GPT-5.1-Codex-Max costs $1.25 per 1M input tokens from Databricks, and $10.00 per 1M output tokens from Databricks. Across 4 serving providers, input prices range from $1.25 to $1.38 per 1M tokens.

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.

Which providers serve GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max is available from 4 serving providers, each with its own pricing and model ID. Databricks is currently the cheapest.

What can GPT-5.1-Codex-Max do?

GPT-5.1-Codex-Max 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 Sep 22, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI