OpenAI · Released Jan 14, 2026

GPT-5.2-Codex

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

ReasoningVision
  • Top 18%Terminal-Bench
Released
Jan 14 2026
Context window
400K 128K out
Input / 1M tokens
$1.75 from $0.14
Output / 1M tokens
$14.00 from $1.14

Where to run it

20 providers compared

Included in GitLab Duo. Cheapest: QiHang at $0.14 / $1.14 per 1M input / output tokens — 92% less than the priciest option.

ProviderInputOutputCache readContextMax outputUptimevs. best
GitLab Duosubscription plan Plan Plan —400K128K— Plan
QiHang $0.14 $1.14 —400K128K— Cheapest
Poe $1.60 $13.00 $0.16400K128K— +1041%
Azure $1.75 $14.00 $0.17400K128K100%24h +1134%
NanoGPT $1.75 $14.00 $0.17400K128K— +1134%
Kilo Gateway $1.75 $14.00 $0.17400K128K— +1134%
Vercel AI Gateway $1.75 $14.00 $0.17400K128K— +1134%
LLM Gateway $1.75 $14.00 $0.17400K128K— +1134%
AIHubMix $1.75 $14.00 $0.17400K128K— +1134%
ZenMux $1.75 $14.00 $0.17400K128K— +1134%
Jiekou.AI $1.75 $14.00 $0.17400K128K— +1134%
Azure Cognitive Services $1.75 $14.00 $0.17400K128K— +1134%
Vivgrid $1.75 $14.00 $0.17400K128K— +1134%
Abacus $1.75 $14.00 $0.17400K128K— +1134%
DevPass (LLM Gateway) $1.75 $14.00 $0.17400K128K— +1134%
Ofox $1.75 $14.00 $0.18400K128K— +1134%
Impossibl $1.75 $14.00 $0.17400K128K— +1134%
OrcaRouter $1.75 $14.00 $0.17400K128K— +1134%
OpenCode $1.75 $14.00 $0.17400K128K— +1134%
Eden AI $1.75 $14.00 $0.17272K128K— +1134%

Value

Price vs. performance

1 model scores higher for the same price or lesson Terminal-Bench, e.g. GPT-5.3-Codex.
3.4%30.5%57.6%84.7% $0.01$0.10$1.00$10.00$100.00 Qwen3.6 35B A3B (Qwen) — 24.6% · $0.10/1M in Claude Opus 4.7 (Anthropic) — 80.2% · $5.00/1M in Grok 4.20 (xAI) — 57.3% · $1.25/1M in MiniMax M2.7 (MiniMax) — 45.1% · $0.30/1M in Qwen3.5-9B (Qwen) — 9.2% · $0.08/1M in Gemini 3.1 Pro Preview (Google) — 80.2% · $2.00/1M in Claude Sonnet 4.6 (Anthropic) — 53.4% · $3.00/1M in MiniMax M2.5 (MiniMax) — 42.7% · $0.27/1M in GLM 5 (Z.ai) — 52.4% · $1.00/1M in Claude Opus 4.6 (Anthropic) — 79.8% · $5.00/1M in Kimi K2.5 (Moonshot AI) — 43.2% · $0.50/1M in MiniMax M2.1 (MiniMax) — 36.6% · $0.30/1M in GLM 4.7 (Z.ai) — 33.4% · $0.54/1M in Gemini 3 Flash Preview (Google) — 64.3% · $0.50/1M in DeepSeek V3.2 (DeepSeek) — 39.6% · $0.28/1M in Claude Opus 4.5 (Anthropic) — 63.1% · $5.00/1M in Kimi K2 Thinking (Moonshot AI) — 35.7% · $0.60/1M in MiniMax M2 (MiniMax) — 30.0% · $0.26/1M in Claude Haiku 4.5 (Anthropic) — 35.5% · $1.00/1M in GLM 4.6 (Z.ai) — 24.5% · $0.55/1M in Claude Sonnet 4.5 (Anthropic) — 46.5% · $3.00/1M in DeepSeek V3.2 Exp (DeepSeek) — 39.6% · $0.27/1M in Claude Opus 4.1 (Anthropic) — 38.0% · $15.00/1M in Gemini 2.5 Flash (Google) — 17.1% · $0.30/1M in Gemini 2.5 Pro (Google) — 32.6% · $1.25/1M in Gemini 2.5 Pro Preview 06-05 (Google) — 32.6% · $1.25/1M in GPT-5.5 (OpenAI) — 84.7% · $5.00/1M in GPT-5.4 (OpenAI) — 81.8% · $2.50/1M in GPT-5.3-Codex (OpenAI) — 78.4% · $1.75/1M in GPT-5.2 (OpenAI) — 64.9% · $1.75/1M in GPT-5.1-Codex-Max (OpenAI) — 60.5% · $1.25/1M in GPT-5.1 (OpenAI) — 47.6% · $1.25/1M in GPT-5.1-Codex (OpenAI) — 57.8% · $1.25/1M in GPT-5.1-Codex-Mini (OpenAI) — 61.6% · $0.25/1M in GPT-5 (OpenAI) — 49.6% · $1.25/1M in GPT-5 Mini (OpenAI) — 34.8% · $0.25/1M in GPT-5 Nano (OpenAI) — 21.8% · $0.05/1M in gpt-oss-120b (OpenAI) — 18.7% · $0.15/1M in gpt-oss-20b (OpenAI) — 3.4% · $0.018/1M in GPT-5.2-Codex (OpenAI) — 66.5% · $1.75/1M in GPT-5.2-Codex

GPT-5.2-Codex Other OpenAI Other labs Value frontier · Terminal-Bench vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.

Benchmarks

2 benchmark scores

BenchmarkScoreRankLeader
Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) 66.5% #7of 40 GPT-5.584.7%
WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) 1339 #78of 90 Claude Opus 5.51820

Specs

Details

Model ID
openai/gpt-5.2-codex
Developer
OpenAI
Release date
Jan 14, 2026 ·
Context window
400,000 tokens
Max output
128,000 tokens
API price
$1.75 / $14.00 per 1M input / output tokens
Providers
20
Input types
text, image
Reasoning
Yes
Tool calling
Yes
Open weights
No
Free tier
No

Release date and prices from OpenRouter's catalog; providers from OpenRouter and models.dev. Buying directly from a provider can cost a little differently. Speed, latency and uptime are measured on OpenRouter only; uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.