All modelsCalculate what your real prompts cost on GPT-5.2-Codex
GPT-5.2-Codex
OpenAI model, released 14 Jan 2026.
$1.75
per 1M input tokens
$14.00
per 1M output tokens
$0.175
per 1M cached-read tokens
Price history
Price stable since we started tracking (7 Jul 2026). History will chart here as soon as it moves.
Specifications
- Lab
- OpenAI
- Released
- 14 Jan 2026
- Context window
- 400k tokens
- Max output
- 128k tokens
- Input modalities
- text, image
- Output modalities
- text
- Knowledge cutoff
- —
- Open source
- No
Frequently asked questions
How much does GPT-5.2-Codex cost?
GPT-5.2-Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens (list price, updated every 6 hours).
What is GPT-5.2-Codex's context window?
GPT-5.2-Codex supports a 400k-token context window with up to 128k output tokens.