OpenAI › GPT-5.1 Codex Mini › Pricing

GPT-5.1 Codex Mini pricing

Cheapest host: Azure · checked Oct 26, 2026
Benchmarks and alternatives →
$0.25 / $2per 1M tokens in / out
#329on OpenRouter by tokens · 1.1B / week

Price sheetper 1M tokens

Input$0.25Azure
Output$2
Context · max output400K · 128Ktokens

Where to buy1 provider · per 1M tokens

ProviderInputOutputContext
Azure$0.25$2—

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

GPT-6 Luna Decisions$0.10 / —−100%
GPT OSS 20B$0.018 / $0.09−95%
GPT OSS 120B$0.03 / $0.15−91%
GPT OSS Safeguard 20B$0.07 / $0.20−85%
GPT-6 Luna$0.10 / $0.50−71%
GPT OSS Safeguard 120B$0.15 / $0.60−62%
GPT-5.4 Mini (2026-03-17)$0.75 / $4.502.5×
<

Cheaper for the same workvs GPT-5.1 Codex Mini at high

MiMo v2.6 Pro thinkingOpen-21%score ×2.3$0.13
DeepSeek V4.1 Flash 1017 maxOpen-24%score ×2.2$0.26
Ling 3.1 Flash 1019-35%score ×2.2$1.49
Claude Haiku 5.5 max-71%score ×2.1$0.21
MiniMax M3.1 Flash thinking-62%score ×2.1$0.22

Pricing questions

How much does GPT-5.1 Codex Mini cost?›

$0.25 per 1M input tokens and $2 per 1M output tokens.

Is GPT-5.1 Codex Mini free to use?›

There is no free API tier.

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

MiMo v2.6 Pro at thinking effort costs -21% per task with a score ×2.3 on .