Enter opens the highlighted result. Esc closes.

GPT-5.2-Codex vs Mercury 2

GPT-5.2-Codex leads Mercury 2 on the Artificial Analysis Intelligence Index, 28.5 to 10.8, and Mercury 2 costs 18.7x less per output token ($0.75 vs $14.00 per million). Updated October 22, 2026; 11 benchmarks have a result for both.

GPT-5.2-CodexOpenAI
Coding
45.4
Overall
No data
Output $/M
$14.00
11
Mercury 2Inception
Coding
No data
Overall
No data
Output $/M
$0.75
0
vs boards won of 11 shared

GPT-5.2-Codex or Mercury 2: which to pick

Only GPT-5.2-Codex has a coding score, 45.4 on the Vibe Coding Index; Mercury 2 has none, so the two cannot be ranked on coding.

Pick Mercury 2 for output tokens 18.7x cheaper ($0.75 vs $14.00 per million).

Shared results
11
GPT-5.2-Codex only
11
Mercury 2 only
31
Like-for-like categories
5 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GPT-5.2-Codex 45.4 from 3 benchmarks, Mercury 2 not benchmarked.
Widest category
General, 23.2 points apart on average over 2 shared benchmarks.
Widest single gap
Long context reasoning (AA-LCR): GPT-5.2-Codex 82.3% against Mercury 2 43.7%, 38.7 points apart on a 0 to 100 scale.
Output price
GPT-5.2-Codex $14.00 against Mercury 2 $0.75 per million output tokens, 18.7x apart.
Context window
GPT-5.2-Codex takes 400K tokens, Mercury 2 128K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGPT-5.2-CodexBarsMercury 2Ties
Coding50
Intelligence10
Agentic work10
Reasoning20
General20
All shared boards110
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
SWE-bench Verified72.8%Not measuredOnly GPT-5.2-Codex measured
SWE-bench Multilingual66.3%Not measuredOnly GPT-5.2-Codex measured
LMArena WebDev13391171GPT-5.2-Codex
AA Coding IndexNot measured31.1Only Mercury 2 measured
LiveCodeBench (Vals AI)88.0%Not measuredOnly GPT-5.2-Codex measured
SWE-bench Verified (Vals AI)72.4%Not measuredOnly GPT-5.2-Codex measured
Vibe Code Bench (Vals AI)37.9%Not measuredOnly GPT-5.2-Codex measured
SciCodeNot measured37.7%Only Mercury 2 measured
Terminal-Bench Hard (Artificial Analysis run)37.1%26.5%GPT-5.2-Codex
Terminal-Bench66.5%Not measuredOnly GPT-5.2-Codex measured
WeirdMLNot measured43.2%Only Mercury 2 measured
ALE-Bench1299.9785.6GPT-5.2-Codex
LMArena Text: codingNot measured1390Only Mercury 2 measured
LMArena Text: software and ITNot measured1385Only Mercury 2 measured
LMArena WebDev: React13291160GPT-5.2-Codex
LMArena WebDev: HTML13481199GPT-5.2-Codex
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
AA Intelligence Index28.510.8GPT-5.2-Codex
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
AA Agentic IndexNot measured1.6Only Mercury 2 measured
Design Arena: agents building web apps1051Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building full-stack apps993Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building mobile apps1090Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building Android apps1176Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building Godot games1142Not measuredOnly GPT-5.2-Codex measured
τ²-Bench Telecom92.1%70.8%GPT-5.2-Codex
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
GPQA Diamond (Artificial Analysis run)89.9%77.0%GPT-5.2-Codex
Humanity's Last Exam (Artificial Analysis run)35.7%17.1%GPT-5.2-Codex
LMArena Text: hard promptsNot measured1362Only Mercury 2 measured
LMArena Text: expertNot measured1358Only Mercury 2 measured
LMArena Text: hard prompts in EnglishNot measured1374Only Mercury 2 measured
Neither model has a result on the other 17 boards here
MathNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Math benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
Neither model has a result on 13 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Knowledge benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
LMArena Text: scienceNot measured1343Only Mercury 2 measured
LMArena Text: medicine and healthcareNot measured1363Only Mercury 2 measured
LMArena Text: business and financeNot measured1349Only Mercury 2 measured
Neither model has a result on the other 15 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
Design Arena: websitesNot measured1036Only Mercury 2 measured
Design Arena: UI componentsNot measured996Only Mercury 2 measured
Design Arena: game devNot measured984Only Mercury 2 measured
Design Arena: data vizNot measured1009Only Mercury 2 measured
Design Arena: 3DNot measured982Only Mercury 2 measured
Design Arena: all code categoriesNot measured1021Only Mercury 2 measured
Design Arena: SVGNot measured998Only Mercury 2 measured
Design Arena: ASCII artNot measured988Only Mercury 2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
IFBench77.6%69.8%GPT-5.2-Codex
Long context reasoning (AA-LCR)82.3%43.7%GPT-5.2-Codex
LMArena TextNot measured1354Only Mercury 2 measured
LMArena Text: instruction followingNot measured1328Only Mercury 2 measured
LMArena Text: creative writingNot measured1286Only Mercury 2 measured
LMArena Text: EnglishNot measured1378Only Mercury 2 measured
LMArena Text: non-EnglishNot measured1330Only Mercury 2 measured
LMArena Text: ChineseNot measured1414Only Mercury 2 measured
LMArena Text: RussianNot measured1304Only Mercury 2 measured
LMArena Text: multi-turnNot measured1357Only Mercury 2 measured
LMArena Text: longer queriesNot measured1329Only Mercury 2 measured
LMArena Text: writing and languageNot measured1300Only Mercury 2 measured
LMArena Text: entertainment and mediaNot measured1314Only Mercury 2 measured
Neither model has a result on the other 33 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.2-Codex and Mercury 2
BenchmarkGPT-5.2-CodexMercury 2Leader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GPT-5.2-Codex$0.0088Fits in one request
Mercury 2$0.0006Fits in one request

Mercury 2 costs less

Repository review

50K input + 3K output tokens

GPT-5.2-Codex$0.130Fits in one request
Mercury 2$0.015Fits in one request

Mercury 2 costs less

Agent loop

200K input + 10K output tokens

GPT-5.2-Codex$0.490Fits in one request
Mercury 2$0.058Exceeds the context window

Mercury 2 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GPT-5.2-Codex and Mercury 2
SpecificationOpenAI GPT-5.2-CodexInception Mercury 2
MakerOpenAIInception
WeightsNo public weights listedNo public weights listed
ReleasedJanuary 14, 2026March 4, 2026
Context window400K128K
Input $/Mtok$1.75$0.25
Output $/Mtok$14.00$0.75
Coding index45.4Not benchmarked
Independent measurements behind it31
Cost per solved task$0.43Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.2-Codex better than Mercury 2 for coding?

Only GPT-5.2-Codex has a coding score, 45.4 on the Vibe Coding Index; Mercury 2 has none, so the two cannot be ranked on coding. Pick Mercury 2 for output tokens 18.7x cheaper ($0.75 vs $14.00 per million).

Which is cheaper, GPT-5.2-Codex or Mercury 2?

GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens; Mercury 2 costs $0.25 and $0.75. Cost per solved task is known for GPT-5.2-Codex only.

Which has the bigger context window, GPT-5.2-Codex or Mercury 2?

GPT-5.2-Codex, with 400K tokens against 128K.

How many benchmarks is the GPT-5.2-Codex vs Mercury 2 comparison based on?

11 benchmarks have a result for both models as of October 22, 2026. GPT-5.2-Codex's coding index rests on 3 independent benchmarks and Mercury 2's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next