OpenAI › GPT-5.1 Codex Max › Pricing

GPT-5.1 Codex Max pricing

Cheapest host: Azure · checked Oct 26, 2026
Benchmarks and alternatives →
$1.25 / $10per 1M tokens in / out
$0.13cache read · −90%
#413on OpenRouter by tokens · 211M / week

Price sheetper 1M tokens

Input$1.25Azure
Output$10
Cache read$0.13−90% vs input
Context · max output400K · 128Ktokens

Where to buy1 provider · per 1M tokens

ProviderInputOutputContext
Azure$1.25$10400K

In OpenAI's line-upper 1M in / out

GPT-6 Luna Decisions$0.10 / —−100%
GPT OSS 20B$0.018 / $0.09−99%
GPT OSS 120B$0.03 / $0.15−98%
GPT OSS Safeguard 20B$0.07 / $0.20−97%
GPT-6 Luna$0.10 / $0.50−94%
GPT OSS Safeguard 120B$0.15 / $0.60−92%
GPT-5.4 Mini (2026-03-17)$0.75 / $4.50−51%
<

Pricing questions

How much does GPT-5.1 Codex Max cost?›

$1.25 per 1M input tokens and $10 per 1M output tokens. Cached input is $0.13.

Is GPT-5.1 Codex Max free to use?›

There is no free API tier.

How much does prompt caching save?›

Cache reads cost $0.13 per 1M, 90% below the input price.