openai Vision Reasoning

GPT-5.2-Codex pricing & benchmarks

Released Jan 14, 2026 · served by 2 providers

Input / 1M tokens$1.75
Output / 1M tokens$14.00
Context window400K
Cached input$0.175
1M in + 300K out$5.95

What GPT-5.2-Codex is

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....

Providers and prices for GPT-5.2-Codex

The same model costs different amounts depending on who serves it. Prices are per 1M tokens, cheapest first. Uptime and throughput are OpenRouter's rolling measurements, not vendor claims.

ProviderInputOutputContext QuantUptime 24hThroughput
Azurecheapest $1.75 $14.00 400K 100.0%
OpenAI $3.50 $28.00 400K 0.0%

GPT-5.2-Codex benchmark results

Design Arena head-to-head results, as reported through the OpenRouter model API.

CategoryArenaRankEloWin rate
androidnative agents #17 1176 47.5%
godotgamedev agents #19 1142 47.8%
mobileapps agents #25 1167 47.2%
webapps agents #30 1109 40.1%
fullstack agents #31 1041 37%

FAQ

How much does the GPT-5.2-Codex API cost?

$1.75 per 1M input tokens and $14.00 per 1M output tokens. A typical workload of 1M input + 300K output tokens costs about $5.95.

Is GPT-5.2-Codex free?

No. It is a paid model starting at $1.75 per 1M input tokens, though some providers offer trial credits.

Which provider is cheapest for GPT-5.2-Codex?

Azure at $1.75 input / $14.00 output per 1M tokens.

Can I self-host GPT-5.2-Codex?

No. GPT-5.2-Codex is closed-weight and only available through hosted APIs.