Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs GPT-5.2-Codex

GPT-5.2-Codex leads Gemini 2.5 Pro on coding, 51.4 to 34.2 on the Vibe Coding Index, and Gemini 2.5 Pro costs 1.4x less per output token ($10.00 vs $14.00 per million). Updated December 6, 2026; 12 benchmarks have a result for both.

Gemini 2.5 ProGoogle
Coding
34.2
Overall
51.6
Output $/M
$10.00
0
GPT-5.2-CodexOpenAI
Coding
51.4
Overall
No data
Output $/M
$14.00
12
vs boards won of 12 shared

Gemini 2.5 Pro or GPT-5.2-Codex: which to pick

Pick GPT-5.2-Codex for coding: it scores 51.4 on the Vibe Coding Index against 34.2 for Gemini 2.5 Pro.

Pick Gemini 2.5 Pro for output tokens 1.4x cheaper ($10.00 vs $14.00 per million) and a larger context window (1.05M against 400K tokens).

Shared results
12
Gemini 2.5 Pro only
79
GPT-5.2-Codex only
9
Like-for-like categories
4 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
Gemini 2.5 Pro 34.2 from 2 benchmarks, GPT-5.2-Codex 51.4 from 2 benchmarks.
Widest category
Agentic work, 38.0 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Gemini 2.5 Pro 54.1% against GPT-5.2-Codex 92.1%, 38.0 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.4x apart.
Context window
Gemini 2.5 Pro takes 1.05M tokens, GPT-5.2-Codex 400K.

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
CategoryGemini 2.5 ProBarsGPT-5.2-CodexTies
Coding07
Agentic work01
Reasoning02
General02
All shared boards012
CodingLike-for-likeSix of these boards feed the Vibe Coding Index07
Coding benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
SWE-bench Verified53.6%72.8%GPT-5.2-Codex
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LMArena WebDev12271339GPT-5.2-Codex
LiveCodeBench (Vals AI)Not measured88.0%Only GPT-5.2-Codex measured
SWE-bench Verified (Vals AI)54.4%72.4%GPT-5.2-Codex
LiveCodeBench (Artificial Analysis run)80.1%Not measuredOnly Gemini 2.5 Pro measured
SciCode46.3%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench Hard (Artificial Analysis run)26.5%37.1%GPT-5.2-Codex
Terminal-Bench 4.0 (Artificial Analysis run)0.0%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench32.6%66.5%GPT-5.2-Codex
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%Not measuredOnly Gemini 2.5 Pro measured
ALE-BenchNot measured1299.9Only GPT-5.2-Codex measured
LMArena Text: coding1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: software and IT1459Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev: ReactNot measured1329Only GPT-5.2-Codex measured
LMArena WebDev: HTML12351349GPT-5.2-Codex
LMArena WebDev: from an image1284Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench 2.032.6%66.5%GPT-5.2-Codex
Neither model has a result on the other 33 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
Epoch Capabilities Index144.9Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
Design Arena: agents building web appsNot measured1012Only GPT-5.2-Codex measured
Design Arena: agents building full-stack appsNot measured1039Only GPT-5.2-Codex measured
Design Arena: agents building mobile appsNot measured1079Only GPT-5.2-Codex measured
Design Arena: agents building Android appsNot measured1176Only GPT-5.2-Codex measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
τ²-Bench Telecom54.1%92.1%GPT-5.2-Codex
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574Not measuredOnly Gemini 2.5 Pro measured
LMArena Search1143Not measuredOnly Gemini 2.5 Pro measured
BrowseComp-Plus29.5%Not measuredOnly Gemini 2.5 Pro measured
τ³-Banking13.7%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
GPQA Diamond (Artificial Analysis run)84.4%89.9%GPT-5.2-Codex
Humanity's Last Exam (Artificial Analysis run)22.5%35.7%GPT-5.2-Codex
GPQA Diamond (Epoch AI run)85.3%Not measuredOnly Gemini 2.5 Pro measured
ARC-AGI41.0%Not measuredOnly Gemini 2.5 Pro measured
ARC-AGI-24.9%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: hard prompts1455Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: expert1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: hard prompts in English1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: diagrams1273Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: homework1282Not measuredOnly Gemini 2.5 Pro measured
Kagi LLM Benchmark70.3%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
AIME 2025 (Artificial Analysis run)87.7%Not measuredOnly Gemini 2.5 Pro measured
OTIS Mock AIME84.7%Not measuredOnly Gemini 2.5 Pro measured
FrontierMath, tiers 1 to 324.6%Not measuredOnly Gemini 2.5 Pro measured
FrontierMath, tier 40.0%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: math1450Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: mathematical work1455Not measuredOnly Gemini 2.5 Pro measured
MathArena12.2%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Knowledge benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
CaseLaw (Vals AI)63.9%Not measuredOnly Gemini 2.5 Pro measured
CorpFin (Vals AI)60.8%Not measuredOnly Gemini 2.5 Pro measured
MortgageTax (Vals AI)68.9%Not measuredOnly Gemini 2.5 Pro measured
MedCode (Vals AI)50.6%Not measuredOnly Gemini 2.5 Pro measured
MMLU Pro (Artificial Analysis run)86.2%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: science1480Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: medicine and healthcare1476Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: legal and government1480Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: business and finance1440Not measuredOnly Gemini 2.5 Pro measured
PRBench Finance38.9%Not measuredOnly Gemini 2.5 Pro measured
PRBench Legal38.9%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 10 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
Design Arena: websites1207Not measuredOnly Gemini 2.5 Pro measured
Design Arena: UI components1120Not measuredOnly Gemini 2.5 Pro measured
Design Arena: game dev1075Not measuredOnly Gemini 2.5 Pro measured
Design Arena: data viz1217Not measuredOnly Gemini 2.5 Pro measured
Design Arena: 3D1045Not measuredOnly Gemini 2.5 Pro measured
Design Arena: all code categories1194Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
MedScribe (Vals AI)73.5%Not measuredOnly Gemini 2.5 Pro measured
IFBench48.7%77.6%GPT-5.2-Codex
Long context reasoning (AA-LCR)69.0%82.3%GPT-5.2-Codex
GDPval-AA466Not measuredOnly Gemini 2.5 Pro measured
DTBench82.4%Not measuredOnly Gemini 2.5 Pro measured
LMCA34.8%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text1458Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: instruction following1437Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: creative writing1454Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision1263Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: English1458Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: non-English1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Chinese1507Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: German1487Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Japanese1461Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Korean1434Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: French1474Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Spanish1474Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Russian1461Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Polish1479Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: multi-turn1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: longer queries1449Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: writing and language1454Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: entertainment and media1441Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: English1261Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: Chinese1300Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: reading text1270Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: humor1262Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: captioning1303Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: recognizing things1283Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: creative writing1265Not measuredOnly Gemini 2.5 Pro measured
LMArena Document1423Not measuredOnly Gemini 2.5 Pro measured
MultiChallenge53.6%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 16 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Pro and GPT-5.2-Codex
BenchmarkGemini 2.5 ProGPT-5.2-CodexLeader
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

Gemini 2.5 Pro$0.0063Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

Gemini 2.5 Pro costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
GPT-5.2-Codex$0.130Fits in one request

Gemini 2.5 Pro costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
GPT-5.2-Codex$0.490Fits in one request

Gemini 2.5 Pro 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 Gemini 2.5 Pro and GPT-5.2-Codex
SpecificationGoogle Gemini 2.5 ProOpenAI GPT-5.2-Codex
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025January 14, 2026
Context window1.05M400K
Input $/Mtok$1.25$1.75
Output $/Mtok$10.00$14.00
Coding index34.251.4
Independent measurements behind it22
Cost per solved task$0.64$0.43
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than GPT-5.2-Codex for coding?

Pick GPT-5.2-Codex for coding: it scores 51.4 on the Vibe Coding Index against 34.2 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro for output tokens 1.4x cheaper ($10.00 vs $14.00 per million) and a larger context window (1.05M against 400K tokens).

Which is cheaper, Gemini 2.5 Pro or GPT-5.2-Codex?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and GPT-5.2-Codex $0.43.

Which has the bigger context window, Gemini 2.5 Pro or GPT-5.2-Codex?

Gemini 2.5 Pro, with 1.05M tokens against 400K.

How many benchmarks is the Gemini 2.5 Pro vs GPT-5.2-Codex comparison based on?

12 benchmarks have a result for both models as of December 6, 2026. Gemini 2.5 Pro's coding index rests on 2 independent benchmarks and GPT-5.2-Codex's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gemini-2-5-pro-vs-gpt-5-2-codex" title="Gemini 2.5 Pro vs GPT-5.2-Codex, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gemini-2-5-pro-vs-gpt-5-2-codex">LLMBenchmark.ai, Gemini 2.5 Pro vs GPT-5.2-Codex</a></p>