GPT-5.2 Codex API pricing
Standard tier, blended at 3:1 input to output: $4.81 per million tokens.
OpenRouter charges $1.75 per million input tokens and $14.00 per million output tokens for GPT-5.2 Codex. 5 of the models nearest it in price are cheaper on a blended basis.
Against the models nearest in price
Standard tiers, blended at a 3:1 input to output ratio.
| Source | ||||||
|---|---|---|---|---|---|---|
| GPT-5.2 Codex This model | OpenRouter | $1.75 | $14.00 | 400,000 | $4.81 | ↗ |
| GPT-5.2 | OpenAI | $1.75 | $14.00 | 272,000 | $4.81 | ↗ |
| GPT-5.3 Chat (latest) | OpenAI | $1.75 | $14.00 | 128,000 | $4.81 | ↗ |
| GPT-5.3 Codex | OpenRouter | $1.75 | $14.00 | 400,000 | $4.81 | ↗ |
| GPT-5.6 Terra | OpenAI | $2.00 | $12.00 | 922,000 | $4.50 | ↗ |
| GPT-4o | OpenAI | $2.50 | $10.00 | 128,000 | $4.38 | ↗ |
| Command A | OpenRouter | $2.50 | $10.00 | 256,000 | $4.38 | ↗ |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | 1,000,000 | $4.00 | ↗ |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | 1,000,000 | $4.00 | ↗ |
Prices last checked: . Methodology
Questions
How much does GPT-5.2 Codex cost per million tokens?
$1.75 per million input tokens and $14.00 per million output tokens, with cached input at $0.175. At a 3:1 input to output mix that blends to $4.81. Checked 28 Oct 2026.
What would GPT-5.2 Codex cost for a real workload?
A thousand requests a day at 2,000 input and 600 output tokens each comes to $357.00 a month on the standard tier.
What is the context window for GPT-5.2 Codex?
400,000 tokens of input, with up to 128,000 tokens of output.
GPT-5.2 · GPT-5.3 Chat (latest) · GPT-5.3 Codex · GPT-5.6 Terra · GPT-4o · All OpenRouter models · Cost calculator