GPT-5.2-Codex pricing & price history
GPT-5.2-Codex by OpenAI costs $1.75 per 1M input tokens and $14.00 per 1M output tokens, with a 400K token context window.
Price history
No price changes since tracking began on 2026-09-24. We check hourly.
Cost calculator
Cheaper alternatives to GPT-5.2-Codex
| Model | Input | Output | Context | Intel. | |
|---|---|---|---|---|---|
M Ministral 3 8B 2512 Mistral AI | $0.15 | $0.15 | 262K | 5.5 | compare |
M Llama 4 Scout Meta Llama | $0.10 | $0.30 | 1.3M | — | compare |
X MiMo-V2.6-Flash Xiaomi | $0.14 | $0.28 | 1M | — | compare |
M Llama Guard 4 12B Meta Llama | $0.18 | $0.18 | 164K | — | compare |
O GPT-6 Luna Pro OpenAI | $0.10 | $0.50 | 1.1M | — | compare |
O GPT-6 Luna OpenAI | $0.10 | $0.50 | 1.1M | 37.3 | compare |
N | $0.20 | $0.20 | 131K | — | compare |
M Ministral 3 14B 2512 Mistral AI | $0.20 | $0.20 | 262K | 6 | compare |
About GPT-5.2-Codex
GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
FAQ
How much does GPT-5.2-Codex cost?
GPT-5.2-Codex by OpenAI costs $1.75 per 1M input tokens and $14.00 per 1M output tokens, with a 400K token context window. A typical request with 2,000 input and 500 output tokens costs about $0.0105.
What is the context window of GPT-5.2-Codex?
GPT-5.2-Codex supports up to 400,000 tokens of context and up to 128,000 output tokens per request.
Has GPT-5.2-Codex’s price changed?
No price changes recorded since ModelBank started tracking it on 2026-09-24.
Is GPT-5.2-Codex being deprecated?
No retirement date has been announced for GPT-5.2-Codex as of 2026-09-24.
What are cheaper alternatives to GPT-5.2-Codex?
Cheaper options include Ministral 3 8B 2512 ($0.15/$0.15), Llama 4 Scout ($0.10/$0.30), MiMo-V2.6-Flash ($0.14/$0.28), Llama Guard 4 12B ($0.18/$0.18).