Enter opens the highlighted result. Esc closes.

Gemini 4 Carbon vs GLM 5.2

Gemini 4 Carbon leads GLM 5.2 on coding, 86.6 to 61.1 on the Vibe Coding Index, and GLM 5.2 costs 2.3x less per output token ($4.40 vs $10.00 per million). Updated November 14, 2026; 54 benchmarks have a result for both.

Gemini 4 CarbonGoogle
Coding
86.6
Overall
88.3
Output $/M
$10.00
54
GLM 5.2Z.ai
Coding
61.1
Overall
65.5
Output $/M
$4.40
0
vs boards won of 54 shared

Gemini 4 Carbon or GLM 5.2: which to pick

Pick Gemini 4 Carbon for coding: it scores 86.6 on the Vibe Coding Index against 61.1 for GLM 5.2.

Pick GLM 5.2 for output tokens 2.3x cheaper ($4.40 vs $10.00 per million).

Shared results
54
Gemini 4 Carbon only
19
GLM 5.2 only
60
Like-for-like categories
8 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, GLM 5.2 61.1 from 4 benchmarks.
Widest category
Reasoning, 37.2 points apart on average over 11 shared benchmarks.
Widest single gap
EBR-bench: Gemini 4 Carbon 87.6% against GLM 5.2 9.5%, 78.1 points apart on a 0 to 100 scale.
Output price
Gemini 4 Carbon $10.00 against GLM 5.2 $4.40 per million output tokens, 2.3x apart.
Context window
Both take 1.05M tokens.

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 CarbonBarsGLM 5.2Ties
Coding80
Intelligence10
Agentic work50
Reasoning110
Math50
Knowledge60
Web design50
General130
All shared boards540
CodingLike-for-likeSix of these boards feed the Vibe Coding Index80
Coding benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
LiveBench coding91.0%Not measuredOnly Gemini 4 Carbon measured
LMArena WebDev17681608Gemini 4 Carbon
AA Coding IndexNot measured68.8Only GLM 5.2 measured
LiveCodeBench (Vals AI)Not measured69.5%Only GLM 5.2 measured
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Terminal-Bench 4 (Vals AI)63.1%Not measuredOnly Gemini 4 Carbon measured
Vibe Code Bench (Vals AI)89.1%64.0%Gemini 4 Carbon
Code migration (Vals AI)Not measured37.9%Only GLM 5.2 measured
ProgramBench (Vals AI)Not measured0.5%Only GLM 5.2 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only GLM 5.2 measured
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
SciCodeNot measured51.2%Only GLM 5.2 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured50.8%Only GLM 5.2 measured
Terminal-Bench 4.0 (Artificial Analysis run)65.2%1.0%Gemini 4 Carbon
FrontierCode 2.040.6%Not measuredOnly Gemini 4 Carbon measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
FrontierSWE61.2%Not measuredOnly Gemini 4 Carbon measured
WeirdMLNot measured70.1%Only GLM 5.2 measured
MirrorCodeNot measured36.7%Only GLM 5.2 measured
ALE-Bench2374.71047.0Gemini 4 Carbon
LMArena Text: coding15641488Gemini 4 Carbon
LMArena Text: software and IT15521487Gemini 4 Carbon
LMArena WebDev: React17921621Gemini 4 Carbon
LMArena WebDev: HTML17701567Gemini 4 Carbon
SWE Atlas: Codebase QnANot measured48.1%Only GLM 5.2 measured
SWE Atlas: RefactoringNot measured42.4%Only GLM 5.2 measured
SWE Atlas: Test WritingNot measured41.5%Only GLM 5.2 measured
GameBench 2Not measured49.9Only GLM 5.2 measured
Terminal-Bench 3.0Not measured4.6%Only GLM 5.2 measured
CursorBench 4.060.4%Not measuredOnly Gemini 4 Carbon measured
ProgramBenchNot measured0.0%Only GLM 5.2 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
AA Intelligence Index60.0Not measuredOnly Gemini 4 Carbon measured
Epoch Capabilities Index169.8153.0Gemini 4 Carbon
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
Agentic work benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
AA Agentic IndexNot measured38.4Only GLM 5.2 measured
Design Arena: agents building web appsNot measured1199Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1215Only GLM 5.2 measured
Design Arena: agents building mobile apps12841153Gemini 4 Carbon
Design Arena: agents building Android appsNot measured1170Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1153Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1071Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1161Only GLM 5.2 measured
Design Arena: spreadsheets12241011Gemini 4 Carbon
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
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)Not measured49.7%Only GLM 5.2 measured
Tax Agent Bench (Vals AI)51.8%Not measuredOnly Gemini 4 Carbon measured
Legal Research Bench (Vals AI)55.8%31.3%Gemini 4 Carbon
Harvey's Legal Agent Benchmark (Vals AI)17.5%Not measuredOnly Gemini 4 Carbon measured
Excel Modeling Benchmark (Vals AI)Not measured61.5%Only GLM 5.2 measured
τ²-Bench TelecomNot measured99.1%Only GLM 5.2 measured
APEX-Agents84.2%45.2%Gemini 4 Carbon
PostTrainBenchNot measured30.4%Only GLM 5.2 measured
Vending-Bench 2$16,484$8,314Gemini 4 Carbon
MCP AtlasNot measured77.8%Only GLM 5.2 measured
Toolathlon-VerifiedNot measured59.9%Only GLM 5.2 measured
τ³-BankingNot measured37.1%Only GLM 5.2 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
Reasoning benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
GPQA DiamondNot measured85.6%Only GLM 5.2 measured
LiveBench reasoning90.6%Not measuredOnly Gemini 4 Carbon measured
GPQA Diamond (Artificial Analysis run)Not measured89.5%Only GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)Not measured41.1%Only GLM 5.2 measured
HLE-Diamond (Artificial Analysis run)69.1%17.7%Gemini 4 Carbon
CritPt v2, hard subset (Artificial Analysis run)69.0%Not measuredOnly Gemini 4 Carbon measured
GPQA Diamond (Epoch AI run)96.5%91.9%Gemini 4 Carbon
ARC-AGI98.5%77.0%Gemini 4 Carbon
ARC-AGI-294.2%22.8%Gemini 4 Carbon
SimpleBench92.6%58.8%Gemini 4 Carbon
Chess puzzles78.0%22.0%Gemini 4 Carbon
Mystery game puzzles73.0%19.0%Gemini 4 Carbon
EBR-bench87.6%9.5%Gemini 4 Carbon
LMArena Text: hard prompts15511480Gemini 4 Carbon
LMArena Text: expert15821488Gemini 4 Carbon
LMArena Text: hard prompts in English15451481Gemini 4 Carbon
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
OTIS Mock AIME100.0%86.4%Gemini 4 Carbon
FrontierMath, tiers 1 to 390.5%59.2%Gemini 4 Carbon
FrontierMath, tier 495.1%29.3%Gemini 4 Carbon
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: mathNot measured1483Only GLM 5.2 measured
LMArena Text: mathematical work15381489Gemini 4 Carbon
MathArena85.4%21.7%Gemini 4 Carbon
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index60
Knowledge benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
MMLU ProNot measured86.7%Only GLM 5.2 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5.2 measured
CorpFin (Vals AI)Not measured66.1%Only GLM 5.2 measured
TaxEval (Vals AI)Not measured73.3%Only GLM 5.2 measured
MedCode (Vals AI)Not measured40.8%Only GLM 5.2 measured
AA-Omniscience53.50.6Gemini 4 Carbon
SimpleQA Verified77.7%34.2%Gemini 4 Carbon
LMArena Text: science15351488Gemini 4 Carbon
LMArena Text: medicine and healthcare15251475Gemini 4 Carbon
LMArena Text: legal and government15421489Gemini 4 Carbon
LMArena Text: business and finance15201450Gemini 4 Carbon
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 8 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index50
Web design benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
Design Arena: websites13191277Gemini 4 Carbon
Design Arena: UI components13571286Gemini 4 Carbon
Design Arena: game dev13261256Gemini 4 Carbon
Design Arena: data vizNot measured1282Only GLM 5.2 measured
Design Arena: 3D14341266Gemini 4 Carbon
Design Arena: all code categories13481277Gemini 4 Carbon
Design Arena: SVGNot measured1195Only GLM 5.2 measured
Design Arena: ASCII artNot measured1185Only GLM 5.2 measured
LiveBench design80.2%Not measuredOnly Gemini 4 Carbon measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for Gemini 4 Carbon and GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.2Leader
Vals Index70.5%Not measuredOnly Gemini 4 Carbon measured
LiveBench data analysis86.5%Not measuredOnly Gemini 4 Carbon measured
MedScribe (Vals AI)Not measured83.5%Only GLM 5.2 measured
IFBenchNot measured73.3%Only GLM 5.2 measured
Long context reasoning (AA-LCR)79.3%78.3%Gemini 4 Carbon
GDPval-AA17331380Gemini 4 Carbon
DTBenchNot measured93.6%Only GLM 5.2 measured
LMCANot measured45.8%Only GLM 5.2 measured
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
Furniture assembly77.5%Not measuredOnly Gemini 4 Carbon measured
LMArena Text15381469Gemini 4 Carbon
LMArena Text: instruction following15391467Gemini 4 Carbon
LMArena Text: creative writing15331459Gemini 4 Carbon
LMArena Text: English15301475Gemini 4 Carbon
LMArena Text: non-English15341458Gemini 4 Carbon
LMArena Text: Chinese16131522Gemini 4 Carbon
LMArena Text: GermanNot measured1467Only GLM 5.2 measured
LMArena Text: JapaneseNot measured1451Only GLM 5.2 measured
LMArena Text: KoreanNot measured1428Only GLM 5.2 measured
LMArena Text: FrenchNot measured1476Only GLM 5.2 measured
LMArena Text: SpanishNot measured1483Only GLM 5.2 measured
LMArena Text: Russian15601466Gemini 4 Carbon
LMArena Text: PolishNot measured1460Only GLM 5.2 measured
LMArena Text: multi-turn15691469Gemini 4 Carbon
LMArena Text: longer queries15491479Gemini 4 Carbon
LMArena Text: writing and language15421461Gemini 4 Carbon
LMArena Text: entertainment and media15271448Gemini 4 Carbon
EQ-Bench 4Not measured1208Only GLM 5.2 measured
Neither model has a result on the other 21 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 GLM 5.2
BenchmarkGemini 4 CarbonGLM 5.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

Gemini 4 Carbon$0.0070Fits in one request
GLM 5.2$0.0036Fits in one request

GLM 5.2 costs less

Repository review

50K input + 3K output tokens

Gemini 4 Carbon$0.130Fits in one request
GLM 5.2$0.083Fits in one request

GLM 5.2 costs less

Agent loop

200K input + 10K output tokens

Gemini 4 Carbon$0.500Fits in one request
GLM 5.2$0.324Fits in one request

GLM 5.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 Gemini 4 Carbon and GLM 5.2
SpecificationGoogle Gemini 4 CarbonZ.ai GLM 5.2
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedNovember 10, 2026June 16, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$1.40
Output $/Mtok$10.00$4.40
Coding index86.661.1
Independent measurements behind it44
Cost per solved taskNot computable$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 4 Carbon better than GLM 5.2 for coding?

Pick Gemini 4 Carbon for coding: it scores 86.6 on the Vibe Coding Index against 61.1 for GLM 5.2. Pick GLM 5.2 for output tokens 2.3x cheaper ($4.40 vs $10.00 per million).

Which is cheaper, Gemini 4 Carbon or GLM 5.2?

Gemini 4 Carbon costs $2.00 per million input tokens and $10.00 per million output tokens; GLM 5.2 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.2 only.

Which has the bigger context window, Gemini 4 Carbon or GLM 5.2?

Neither: both take 1.05M tokens.

How many benchmarks is the Gemini 4 Carbon vs GLM 5.2 comparison based on?

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