OpenAI: GPT-5.2-Codex
OpenAI
OpenAI: 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.
Pricing
Input (per 1M tokens)
$1.75
Output (per 1M tokens)
$14.00
Cached input (per 1M)
$0.18
| Provider | Input / 1M | Output / 1M |
|---|---|---|
| OpenAI | $1.75 | $14.00 |
| openrouter | $1.75 | $14.00 |
Specifications
- Provider
- OpenAI
- Context window
- 400K tokens
- Parameters
- —
- Released
- Dec 2025
- Open weights
- No
- Frontier model
- No
Benchmarks
- LiveBench
- 74.0
- LMArena WebDev Elo
- 1338.4
Speed & latency
Time to first token
1.70s
Output speed
57 tok/s
Fastest host: azure (via vercel-ai-gateway).
Compare OpenAI: GPT-5.2-Codex with…
FAQ
How much does OpenAI: GPT-5.2-Codex cost?
OpenAI: GPT-5.2-Codex is priced at $1.75 per 1M input tokens and $14.00 per 1M output tokens. Output tokens cost more than input.
What is OpenAI: GPT-5.2-Codex's context window?
OpenAI: GPT-5.2-Codex supports a context window of 400K tokens — the maximum prompt plus response length it can handle in a single request.
Is OpenAI: GPT-5.2-Codex open weight?
No — OpenAI: GPT-5.2-Codex is a closed/proprietary model accessed via API.
Data as of 2026-10-15. Source: Pricing via OpenRouter API, openrouter.ai. Pricing is per 1M tokens (USD); confirm with the provider before production use.