Models / OpenAI/ GPT-5.2-Codex

GPT-5.2-Codex

OpenAI · released Jan 14, 2026

Input: text and images. Output: text.InputOutput
Type
Proprietary
Input
$1.75
Output
$14.00
Cached
$0.17

List price · per 1M tokens · OpenAI at 400K context · source ↗

Our take

Written Aug 3, 2026

GPT-5.2-Codex is a hosted-only coding specialist from OpenAI that can handle up to 400,000 tokens in a single request. It scores well on raw coding tasks but its agentic-coding ability lags far behind, making it a strong reviewer rather than an autonomous builder.

Who should pick it

Choose this for long-document code review or documentation tasks where 400,000 tokens of context matter. Use the standard tier when you do not need the premium one, or pick Azure if 12 tokens per second meets your throughput needs. Skip it if you need agentic coding workflows, self-hosting, or strong instruction-following scores.

The case for it

  • Extremely long request limit for code and document processing: 400,000 tokens.
  • Strong raw coding performance: LiveBench Coding 83.62 and Arena Code Elo 1338.4038.
  • Highly stable scores over time, varying only 0.06 points across seven daily snapshots.
  • Predictable premium pricing: the higher tier is exactly double the standard rate for both input and output.

The case against it

  • Agentic coding falls 34.23 points below raw coding, scoring 41% lower on that LiveBench subtest.
  • Instruction following is its weakest area at 66.45, well below its own overall average.
  • Throughput is largely undisclosed: only Azure lists 12 tokens per second; no self-hosting option exists.
00

How good is it?

IntelligencePuzzles, maths, exam questions

Scored, not ratedLiveBench Data Analysis · 8th of 35 · 78.2

GPT-5.2-Codex is not on Arena Text (overall), which is where the rating would come from, so there is no rating here. It is on LiveBench Data Analysis, in 8th of 35 with 78.2.

LiveBench Mathematics 17th of 35LiveBench Reasoning 27th of 35

CodingWriting and fixing code on its own

Scored, not ratedArena Code (WebDev) · 57th of 74 · 1338.4

GPT-5.2-Codex is not on Arena Coding, which is where the rating would come from, so there is no rating here. It is on Arena Code (WebDev), in 57th of 74 with 1338.4.

LiveBench Coding 3rd of 35

AgenticPlanning, calling tools, staying on task

Scored, not ratedSWE-bench Verified · 7th of 39 · 72.8via mini-SWE-agent

GPT-5.2-Codex is not on Arena Agent (IPS), which is where the rating would come from, so there is no rating here. It is on SWE-bench Verified, in 7th of 39 with 72.8.

LiveBench Agentic Coding 15th of 35

WritingWe do not rate this

Scored, not ratedThe placings are on the right.

Two boards come close and neither tests writing: Arena Creative Writing asks people which of two replies they prefer, and LiveBench Language tests whether a model understood a passage. So we show where GPT-5.2-Codex placed and give it no mark out of five.

LiveBench Language 26th of 35 · 73.7
Also scored, on boards we give no mark for
LiveBench 16th of 35LiveBench Instruction Following 16th of 35

These tests check whether a model follows instructions — a precondition for all the work above, but not a measure of how well that work is done, which is why they get no rating.

Every published score for this model10 scoresEvery figure we hold, from 10 boards, with who ran it and a link to the source — including the boards no rating above is built on.
LiveBenchreasoning
74independentsource ↗
83.6independentsource ↗
78.2independentsource ↗
73.7independentsource ↗
77.7independentsource ↗
1338.4independentsource ↗
72.8via mini-SWE-agentindependentsource ↗
01

Or rent it from someone else

Cheapest published offer

Why this differs from the header. The strip above quotes OpenAI's own list price. This is the cheapest live offer at the widest standard context we hold, whoever is serving it — a reseller undercutting a lab is ordinary commerce, not an error.

per 1M tokens
$1.75 in / $14.00 out
Context served
400K
Throughput
Not measured
Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
OpenRouter$1.75 / $14.00400Knot measuredUnknownUnknownUnknown
Microsoft Azure AI$1.75 / $14.00400K13 tok/sNoNoConfirmed
OpenAI$1.75 / $14.00400Knot measuredNoYesunknown periodUnknown
OpenAIpriority tier$3.50 / $28.00400Knot measuredNoYesunknown periodUnknown

Across the 4 listings we hold: 3 say they do not train on prompts, 0 say they do and 1 do not say. 1 appear in the zero-retention registry we check; the rest are unknown to us rather than confirmed either way.

What each host's API supports

From the parameter list each endpoint publishes. Streaming is omitted: nothing we hold reports it, for any model.

Supported
Not supported
Not published
host gave no parameter list
API features per host
ProviderTool callingJSON outputStrict schema
OpenRouter
Microsoft Azure AI
OpenAI
OpenAIpriority

Tool calling: 4 of 4 listings say yes. JSON output: 4 of 4 listings say yes. Strict schema: 4 of 4 listings say yes.

02

Models people weigh against GPT-5.2-Codex

03

When we formed this view

Dates behind this page

Aug 2, 2026BenchmarkScored 1338.4 on Arena Code (WebDev)leaderboard
Jul 26, 2026ListedListed on LLMapfirst indexed by our pipeline
Jun 25, 2026BenchmarkScored 74 on LiveBenchleaderboard
Jun 25, 2026BenchmarkScored 49.4 on LiveBench Agentic Codingleaderboard
Jun 25, 2026BenchmarkScored 83.6 on LiveBench Codingleaderboard
Jun 25, 2026BenchmarkScored 78.2 on LiveBench Data Analysisleaderboard
Jun 25, 2026BenchmarkScored 66.5 on LiveBench Instruction Followingleaderboard
Jun 25, 2026BenchmarkScored 73.7 on LiveBench Languageleaderboard
Jun 25, 2026BenchmarkScored 88.8 on LiveBench Mathematicsleaderboard
Jun 25, 2026BenchmarkScored 77.7 on LiveBench Reasoningleaderboard

Prices last checked 9d ago

What we do not know about this model yet

  • Nothing we hold says whether an endpoint streams, so we do not show it either way.
  • 1 of 4 listings do not say whether they train on prompts.
04

Licence and identifiers

What the licence allowsWe hold no licence record for this model. Inside are the identifiers you need to pull it — its Hugging Face repo where we have one, our slug and a machine-readable card.

Licence

Commercial API terms. We hold no licence record for this model, so there is nothing to summarise here.

Identifiers

Modality record
text+image->text
Catalogue slug
openai-gpt-5-2-codex

Machine-readable model card (omc.json) →

Something wrong on this page? Tell us