OpenAI › GPT-5.1 Codex › Pricing

GPT-5.1 Codex pricing

Cheapest host: Azure · checked Oct 23, 2026
Benchmarks and alternatives →
$1.25 / $10per 1M tokens in / out
#355on OpenRouter by tokens · 727M / week

Price sheetper 1M tokens

Input$1.25Azure
Output$10
Context · max output400K · 128Ktokens

Where to buy1 provider · per 1M tokens

ProviderInputOutputContext
Azure$1.25$10—

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 Nano (2026-03-17)$0.20 / $1.25−87%
<

Cheaper for the same workvs GPT-5.1 Codex at high

Muse Spark 1.3 max-42%score ×2$1.60
Grok 4.7 xhigh-13%score +96%$3.74
MiMo v2.6 Pro thinkingOpen-84%score +95%$0.13
Qwen3.8 Max (0902) thinking-13%score +92%$5.41
DeepSeek V4.1 Flash 1017 maxOpen-85%score +90%$0.26

Pricing questions

How much does GPT-5.1 Codex cost?›

$1.25 per 1M input tokens and $10 per 1M output tokens.

Is GPT-5.1 Codex free to use?›

There is no free API tier.

What is a cheaper alternative to GPT-5.1 Codex?›

Muse Spark 1.3 at max effort costs -42% per task with a score ×2 on .