OpenAI › GPT-5.2 Codex › Pricing
$1.75 / $14per 1M tokens in / out
#380on OpenRouter by tokens · 471M / week
Price sheetper 1M tokens
| Input | $1.75 | Azure |
| Output | $14 | |
| Context · max output | 400K · 128K | tokens |
Where to buy1 provider · per 1M tokens
| Provider | Input | Output | Context |
|---|---|---|---|
| Azure | $1.75 | $14 | — |
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 | −99% |
| GPT OSS Safeguard 20B | $0.07 / $0.20 | −98% |
| GPT-6 Luna | $0.10 / $0.50 | −96% |
| GPT OSS Safeguard 120B | $0.15 / $0.60 | −95% |
| GPT-5.4 Mini (2026-03-17) | $0.75 / $4.50 | −65% |
Cheaper for the same workvs GPT-5.2 Codex at xhigh
| Claude Sonnet 5.5 max | -17% | score +96% | $5.46 |
| Gemini 4 Argon high | -17% | score +84% | $1.62 |
| GPT-6.1 Sol max | -17% | score +82% | $0.72 |
| GPT-6.1 Terra max | -58% | score +69% | $0.40 |
| Muse Spark 1.3 max | -58% | score +69% | $3.69 |
Pricing questions
How much does GPT-5.2 Codex cost?›
$1.75 per 1M input tokens and $14 per 1M output tokens.
Is GPT-5.2 Codex free to use?›
There is no free API tier.
What is a cheaper alternative to GPT-5.2 Codex?›
Claude Sonnet 5.5 at max effort costs -17% per task with a score +96% on .