Enter opens the highlighted result. Esc closes.

Gemini 4 Carbon vs GPT-5.1-Codex

Gemini 4 Carbon leads GPT-5.1-Codex on coding, 86.6 to 15.3 on the Vibe Coding Index, at about the same output price ($10.00 vs $10.00 per million). Updated November 14, 2026; 10 benchmarks have a result for both.

Gemini 4 CarbonGoogle
Coding
86.6
Overall
88.3
Output $/M
$10.00
10
GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
0
vs boards won of 10 shared

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

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

GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
10
Gemini 4 Carbon only
63
GPT-5.1-Codex only
15
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 4 Carbon 86.6 from 4 benchmarks, GPT-5.1-Codex 15.3 from 2 benchmarks.
Widest category
Coding, 54.3 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 4 Carbon 89.1% against GPT-5.1-Codex 13.1%, 75.9 points apart on a 0 to 100 scale.
Output price
Both cost $10.00 per million output tokens.
Context window
Gemini 4 Carbon takes 1.05M tokens, GPT-5.1-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.1-CodexTies
Coding40
Agentic work10
Web design40
General10
All shared boards100
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 4 Carbon and GPT-5.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1-Codex measured
LiveBench coding91.0%Not measuredOnly Gemini 4 Carbon measured
LMArena WebDev17681338Gemini 4 Carbon
LiveCodeBench (Vals AI)Not measured85.5%Only GPT-5.1-Codex measured
Terminal-Bench 4 (Vals AI)63.1%Not measuredOnly Gemini 4 Carbon measured
Vibe Code Bench (Vals AI)89.1%13.1%Gemini 4 Carbon
LiveCodeBench (Artificial Analysis run)Not measured84.9%Only GPT-5.1-Codex measured
Terminal-Bench Hard (Artificial Analysis run)Not measured34.8%Only GPT-5.1-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 measured57.8%Only GPT-5.1-Codex measured
FrontierSWE61.2%Not measuredOnly Gemini 4 Carbon measured
ALE-Bench2374.71244.9Gemini 4 Carbon
LMArena Text: coding1564Not measuredOnly Gemini 4 Carbon measured
LMArena Text: software and IT1552Not measuredOnly Gemini 4 Carbon measured
LMArena WebDev: React1792Not measuredOnly Gemini 4 Carbon measured
LMArena WebDev: HTML17701346Gemini 4 Carbon
Terminal-Bench 2.0Not measured57.8%Only GPT-5.1-Codex measured
CursorBench 4.060.4%Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 33 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.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-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.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
Design Arena: agents building web appsNot measured994Only GPT-5.1-Codex measured
Design Arena: agents building full-stack appsNot measured1086Only GPT-5.1-Codex measured
Design Arena: agents building mobile apps12841191Gemini 4 Carbon
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 measured83.0%Only GPT-5.1-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 31 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.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
LiveBench reasoning90.6%Not measuredOnly Gemini 4 Carbon measured
GPQA Diamond (Artificial Analysis run)Not measured86.0%Only GPT-5.1-Codex measured
Humanity's Last Exam (Artificial Analysis run)Not measured25.7%Only GPT-5.1-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 index6 boards, none shared
Math benchmarks for Gemini 4 Carbon and GPT-5.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
AIME 2025 (Artificial Analysis run)Not measured95.7%Only GPT-5.1-Codex measured
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 8 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Knowledge benchmarks for Gemini 4 Carbon and GPT-5.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
MMLU Pro (Artificial Analysis run)Not measured86.0%Only GPT-5.1-Codex measured
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 12 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index40
Web design benchmarks for Gemini 4 Carbon and GPT-5.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
Design Arena: websites13191154Gemini 4 Carbon
Design Arena: UI components13571227Gemini 4 Carbon
Design Arena: game dev13261127Gemini 4 Carbon
Design Arena: data vizNot measured1210Only GPT-5.1-Codex measured
Design Arena: 3D1434Not measuredOnly Gemini 4 Carbon measured
Design Arena: all code categories13481142Gemini 4 Carbon
LiveBench design80.2%Not measuredOnly Gemini 4 Carbon measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for Gemini 4 Carbon and GPT-5.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-CodexLeader
Vals Index70.5%Not measuredOnly Gemini 4 Carbon measured
LiveBench data analysis86.5%Not measuredOnly Gemini 4 Carbon measured
IFBenchNot measured70.0%Only GPT-5.1-Codex measured
Long context reasoning (AA-LCR)79.3%69.3%Gemini 4 Carbon
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.1-Codex
BenchmarkGemini 4 CarbonGPT-5.1-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.1-Codex$0.0063Fits in one request

GPT-5.1-Codex costs less

Repository review

50K input + 3K output tokens

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

GPT-5.1-Codex costs less

Agent loop

200K input + 10K output tokens

Gemini 4 Carbon$0.500Fits in one request
GPT-5.1-Codex$0.350Fits in one request

GPT-5.1-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.1-Codex
SpecificationGoogle Gemini 4 CarbonOpenAI GPT-5.1-Codex
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 10, 2026November 13, 2025
Context window1.05M400K
Input $/Mtok$2.00$1.25
Output $/Mtok$10.00$10.00
Coding index86.615.3
Independent measurements behind it42
Cost per solved taskNot computable$0.892
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Gemini 4 Carbon for coding: it scores 86.6 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

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

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

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

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

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

10 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.1-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-4-carbon-vs-gpt-5-1-codex" title="Gemini 4 Carbon vs GPT-5.1-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-1-codex">LLMBenchmark.ai, Gemini 4 Carbon vs GPT-5.1-Codex</a></p>