Skip to content
Toolsummary LLM price ledger

GPT-5 Codex pricing

Source: litellm · updated 2026-11-17

Short answer: GPT-5 Codex costs $1.25 per million input tokens and $10.00 per million output tokens. That is a 3:1 blended rate of $3.44 per million tokens, ranking it #584 of 823 tracked models by input price.
Input / 1M
$1.25
Output / 1M
$10.00
Output ÷ input
8.00×
Context window
272,000

Price breakdown

MetricUSD
Input, per 1M tokens$1.25
Output, per 1M tokens$10.00
Output ÷ input multiple8.00×
3:1 blended, per 1M tokens$3.44
Context window272,000 tokens
Vendorgpt

What a typical workload costs

Monthly volumeInput costOutput costTotal
1M in / 250K out$1.25$2.50$3.75
10M in / 2.5M out$12.50$25.00$37.50
100M in / 25M out$125$250$375

Other gpt models

ModelInputOutput
GPT-5 Nano$0.050$0.400
GPT-4.1 Nano$0.100$0.400
GPT-4 O Mini Audio Preview$0.150$0.600
GPT-4 O Mini Search Preview$0.150$0.600
GPT-4 O Mini Search Preview$0.150$0.600

Cheaper alternatives

Next cheaper option: Kimi K2.7 Code Highspeed at $1.90 per 1M input tokens. Next step up: GPT-4.1 at $2.00 per 1M input tokens.


Spotted a price that is out of date? Submit a correction.