OpenAI: GPT-5.2-Codex pricing
GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. OpenAI: GPT-5.2-Codex from OpenRouter costs $1.75 per 1M input tokens and $14.00 per 1M output tokens. Cached input is $0.175 per 1M. Context window 400,000 tokens.
API id openai/gpt-5.2-codex · OpenRouter · source · updated 2026-11-10 · general-purpose
$1.75
Input / 1M tokens
$14.00
Output / 1M tokens
$0.175
Cached input / 1M
400K
Context window
OpenAI: GPT-5.2-Codex specifications
- Provider
- OpenRouter
- API id
openai/gpt-5.2-codex- Model type
- general-purpose
- Context window
- 400K tokens
- Max output
- 128K tokens
- Currency
- USD
- Price source
- Provider API
- Last checked
- 2026-11-10
Tags
- flagship
- vision
What OpenAI: GPT-5.2-Codex costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0088 |
| Document summary | 50,000 | 2,000 | $0.12 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $4.55 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does OpenAI: GPT-5.2-Codex cost per 1M tokens?
- OpenAI: GPT-5.2-Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens on the standard tier. Cached input is $0.175 per 1M.
- What is OpenAI: GPT-5.2-Codex's context window?
- OpenAI: GPT-5.2-Codex accepts up to 400,000 tokens in a single request, and can return up to 128,000 output tokens.
- Is there a cheaper OpenRouter model than OpenAI: GPT-5.2-Codex?
- Yes. Free Models Router is free per 1M input tokens versus $1.75 for OpenAI: GPT-5.2-Codex, with a 200,000 token context window.
- Where does this OpenAI: GPT-5.2-Codex price come from?
- From the OpenRouter catalogue, because OpenRouter does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from OpenRouter's own — verify before committing spend.
Head-to-head comparisons
Other OpenRouter models
- Nex AGI: Nex-N2.6 $0.120
- Thinking Machines: Inkling 2 Small (free) Free
- Anthropic: Claude Fable 5.2 $8.00
- Meta: Muse Ember $0.100
- LiquidAI: LFM3-1.7B $0.080
- LiquidAI: LFM3-1.7B (free) Free
- Google: Gemini Omni 1.2 Flash $1.50
- Google: Gemini Omni 1.1 Flash $1.50
- Ricursive: Ripple 65B Preview $0.200
- Tencent: Hy4 $0.417
- Z.ai: GLM 5.3 FlashX Legal $0.370
- Particle AI: Particle-1 $0.050
- OpenAI: GPT-6.1 Terra Pro $1.00
- OpenAI: GPT-6.1 Terra $1.00
- MoonshotAI: Kimi K3.1 Pro $2.00
- Recursive: Flint (free) Free