OpenAI › GPT-5 Codex › Pricing

GPT-5 Codex pricing

Cheapest host: Abacus · checked Oct 26, 2026
Benchmarks and alternatives →
$1.25 / $10per 1M tokens in / out

Price sheetper 1M tokens

Input$1.25Abacus
Output$10
Context400Ktokens
Exact modelsdev provider Abacus deployment gpt-5-codex; provider contract, not a family-wide guarantee. USD per million input tokens.

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%
<

Cheaper for the same workvs GPT-5 Codex at high

GPT-6.1 Terra max-42%score +93%$0.40
Muse Spark 1.3 max-42%score +93%$3.69
Grok 4.7 xhigh-13%score +87%$3.24
MiMo v2.6 Pro thinkingOpen-84%score +86%$0.13
Qwen3.8 Max (0902) thinking-13%score +83%$5.41

Pricing questions

How much does GPT-5 Codex cost?›

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

Is GPT-5 Codex free to use?›

There is no free API tier.

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

GPT-6.1 Terra at max effort costs -42% per task with a score +93% on .