Enter opens the highlighted result. Esc closes.

Gemini 4 Carbon vs GPT-5.2-Codex

Gemini 4 Carbon leads GPT-5.2-Codex on coding, 86.6 to 45.4 on the Vibe Coding Index, and Gemini 4 Carbon costs 1.4x less per output token ($10.00 vs $14.00 per million). Updated November 14, 2026; 7 benchmarks have a result for both.

Gemini 4 CarbonGoogle
Coding
86.6
Overall
88.3
Output $/M
$10.00
6
GPT-5.2-CodexOpenAI
Coding
45.4
Overall
No data
Output $/M
$14.00
1
vs boards won of 7 shared

Gemini 4 Carbon or GPT-5.2-Codex: which to pick

Pick Gemini 4 Carbon for coding: it scores 86.6 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex.

Pick GPT-5.2-Codex for work measured by Long context reasoning (AA-LCR), where it leads.

Shared results
7
Gemini 4 Carbon only
66
GPT-5.2-Codex only
15
Like-for-like categories
3 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 4 Carbon 86.6 from 4 benchmarks, GPT-5.2-Codex 45.4 from 3 benchmarks.
Widest category
Coding, 47.1 points apart on average over 5 shared benchmarks.
Widest single gap
LMArena WebDev: Gemini 4 Carbon 1768 against GPT-5.2-Codex 1339, 61.3 points apart on a 0 to 100 scale.
Output price
Gemini 4 Carbon $10.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.4x apart.
Context window
Gemini 4 Carbon 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 4 CarbonBarsGPT-5.2-CodexTies
Coding50
Agentic work10
General01
All shared boards61
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2-Codex measured
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LiveBench coding91.0%Not measuredOnly Gemini 4 Carbon measured
LMArena WebDev17681339Gemini 4 Carbon
LiveCodeBench (Vals AI)Not measured88.0%Only GPT-5.2-Codex measured
SWE-bench Verified (Vals AI)Not measured72.4%Only GPT-5.2-Codex measured
Terminal-Bench 4 (Vals AI)63.1%Not measuredOnly Gemini 4 Carbon measured
Vibe Code Bench (Vals AI)89.1%37.9%Gemini 4 Carbon
Terminal-Bench Hard (Artificial Analysis run)Not measured37.1%Only GPT-5.2-Codex measured
Terminal-Bench 4.0 (Artificial Analysis run)65.2%Not measuredOnly Gemini 4 Carbon measured
FrontierCode 2.040.6%Not measuredOnly Gemini 4 Carbon measured
Terminal-BenchNot measured66.5%Only GPT-5.2-Codex measured
FrontierSWE61.2%Not measuredOnly Gemini 4 Carbon measured
ALE-Bench2374.71299.9Gemini 4 Carbon
LMArena Text: coding1564Not measuredOnly Gemini 4 Carbon measured
LMArena Text: software and IT1552Not measuredOnly Gemini 4 Carbon measured
LMArena WebDev: React17921329Gemini 4 Carbon
LMArena WebDev: HTML17701348Gemini 4 Carbon
Terminal-Bench 2.0Not measured66.5%Only GPT-5.2-Codex measured
CursorBench 4.060.4%Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 32 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
AA Intelligence Index60.0Not measuredOnly Gemini 4 Carbon measured
Epoch Capabilities Index169.8Not measuredOnly Gemini 4 Carbon measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
Design Arena: agents building web appsNot measured1027Only GPT-5.2-Codex measured
Design Arena: agents building full-stack appsNot measured967Only GPT-5.2-Codex measured
Design Arena: agents building mobile apps12841082Gemini 4 Carbon
Design Arena: agents building Android appsNot measured1176Only GPT-5.2-Codex measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
Design Arena: spreadsheets1224Not measuredOnly Gemini 4 Carbon measured
LiveBench research92.5%Not measuredOnly Gemini 4 Carbon measured
LiveBench browser80.0%Not measuredOnly Gemini 4 Carbon measured
LiveBench long agentic72.7%Not measuredOnly Gemini 4 Carbon measured
Tax Agent Bench (Vals AI)51.8%Not measuredOnly Gemini 4 Carbon measured
Legal Research Bench (Vals AI)55.8%Not measuredOnly Gemini 4 Carbon measured
Harvey's Legal Agent Benchmark (Vals AI)17.5%Not measuredOnly Gemini 4 Carbon measured
τ²-Bench TelecomNot measured92.1%Only GPT-5.2-Codex measured
APEX-Agents84.2%Not measuredOnly Gemini 4 Carbon measured
Vending-Bench 2$16,484Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 29 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
Reasoning benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
LiveBench reasoning90.6%Not measuredOnly Gemini 4 Carbon measured
GPQA Diamond (Artificial Analysis run)Not measured89.9%Only GPT-5.2-Codex measured
Humanity's Last Exam (Artificial Analysis run)Not measured35.7%Only GPT-5.2-Codex measured
HLE-Diamond (Artificial Analysis run)69.1%Not measuredOnly Gemini 4 Carbon measured
CritPt v2, hard subset (Artificial Analysis run)69.0%Not measuredOnly Gemini 4 Carbon measured
GPQA Diamond (Epoch AI run)96.5%Not measuredOnly Gemini 4 Carbon measured
ARC-AGI98.5%Not measuredOnly Gemini 4 Carbon measured
ARC-AGI-294.2%Not measuredOnly Gemini 4 Carbon measured
SimpleBench92.6%Not measuredOnly Gemini 4 Carbon measured
Chess puzzles78.0%Not measuredOnly Gemini 4 Carbon measured
Mystery game puzzles73.0%Not measuredOnly Gemini 4 Carbon measured
EBR-bench87.6%Not measuredOnly Gemini 4 Carbon measured
LMArena Text: hard prompts1551Not measuredOnly Gemini 4 Carbon measured
LMArena Text: expert1582Not measuredOnly Gemini 4 Carbon measured
LMArena Text: hard prompts in English1545Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 11 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Math benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
OTIS Mock AIME100.0%Not measuredOnly Gemini 4 Carbon measured
FrontierMath, tiers 1 to 390.5%Not measuredOnly Gemini 4 Carbon measured
FrontierMath, tier 495.1%Not measuredOnly Gemini 4 Carbon measured
LMArena Text: mathematical work1538Not measuredOnly Gemini 4 Carbon measured
MathArena85.4%Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Knowledge benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
AA-Omniscience53.5Not measuredOnly Gemini 4 Carbon measured
SimpleQA Verified77.7%Not measuredOnly Gemini 4 Carbon measured
LMArena Text: science1535Not measuredOnly Gemini 4 Carbon measured
LMArena Text: medicine and healthcare1525Not measuredOnly Gemini 4 Carbon measured
LMArena Text: legal and government1542Not measuredOnly Gemini 4 Carbon measured
LMArena Text: business and finance1520Not measuredOnly Gemini 4 Carbon measured
FACTS Benchmark Suite78.4%Not measuredOnly Gemini 4 Carbon measured
PRBench Legal53.3%Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 13 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
Design Arena: websites1319Not measuredOnly Gemini 4 Carbon measured
Design Arena: UI components1357Not measuredOnly Gemini 4 Carbon measured
Design Arena: game dev1326Not measuredOnly Gemini 4 Carbon measured
Design Arena: 3D1434Not measuredOnly Gemini 4 Carbon measured
Design Arena: all code categories1348Not measuredOnly Gemini 4 Carbon measured
LiveBench design80.2%Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
General benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-5.2-CodexLeader
Vals Index70.5%Not measuredOnly Gemini 4 Carbon measured
LiveBench data analysis86.5%Not measuredOnly Gemini 4 Carbon measured
IFBenchNot measured77.6%Only GPT-5.2-Codex measured
Long context reasoning (AA-LCR)79.3%82.3%GPT-5.2-Codex
GDPval-AA1733Not measuredOnly Gemini 4 Carbon measured
Furniture assembly77.5%Not measuredOnly Gemini 4 Carbon measured
LMArena Text1538Not measuredOnly Gemini 4 Carbon measured
LMArena Text: instruction following1539Not measuredOnly Gemini 4 Carbon measured
LMArena Text: creative writing1533Not measuredOnly Gemini 4 Carbon measured
LMArena Text: English1530Not measuredOnly Gemini 4 Carbon measured
LMArena Text: non-English1534Not measuredOnly Gemini 4 Carbon measured
LMArena Text: Chinese1613Not measuredOnly Gemini 4 Carbon measured
LMArena Text: Russian1560Not measuredOnly Gemini 4 Carbon measured
LMArena Text: multi-turn1569Not measuredOnly Gemini 4 Carbon measured
LMArena Text: longer queries1549Not measuredOnly Gemini 4 Carbon measured
LMArena Text: writing and language1542Not measuredOnly Gemini 4 Carbon measured
LMArena Text: entertainment and media1527Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 32 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 4 Carbon and GPT-5.2-Codex
BenchmarkGemini 4 CarbonGPT-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 4 Carbon$0.0070Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

Gemini 4 Carbon costs less

Repository review

50K input + 3K output tokens

Gemini 4 Carbon$0.130Fits in one request
GPT-5.2-Codex$0.130Fits in one request

GPT-5.2-Codex costs less

Agent loop

200K input + 10K output tokens

Gemini 4 Carbon$0.500Fits in one request
GPT-5.2-Codex$0.490Fits in one request

GPT-5.2-Codex 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 4 Carbon and GPT-5.2-Codex
SpecificationGoogle Gemini 4 CarbonOpenAI GPT-5.2-Codex
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 10, 2026January 14, 2026
Context window1.05M400K
Input $/Mtok$2.00$1.75
Output $/Mtok$10.00$14.00
Coding index86.645.4
Independent measurements behind it43
Cost per solved taskNot computable$0.43
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 4 Carbon better than GPT-5.2-Codex for coding?

Pick Gemini 4 Carbon for coding: it scores 86.6 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex. Pick GPT-5.2-Codex for work measured by Long context reasoning (AA-LCR), where it leads.

Which is cheaper, Gemini 4 Carbon or GPT-5.2-Codex?

Gemini 4 Carbon costs $2.00 per million input tokens and $10.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Cost per solved task is known for GPT-5.2-Codex only.

Which has the bigger context window, Gemini 4 Carbon or GPT-5.2-Codex?

Gemini 4 Carbon, with 1.05M tokens against 400K.

How many benchmarks is the Gemini 4 Carbon vs GPT-5.2-Codex comparison based on?

7 benchmarks have a result for both models as of November 14, 2026. Gemini 4 Carbon's coding index rests on 4 independent benchmarks and GPT-5.2-Codex's on 3. 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-4-carbon-vs-gpt-5-2-codex" title="Gemini 4 Carbon 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-4-carbon-vs-gpt-5-2-codex">LLMBenchmark.ai, Gemini 4 Carbon vs GPT-5.2-Codex</a></p>