Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs GLM 5.4

GLM 5.4 leads Gemini 2.5 Pro on coding, 72.8 to 34.2 on the Vibe Coding Index, and GLM 5.4 costs 2.3x less per output token ($4.40 vs $10.00 per million). Updated December 6, 2026; 7 benchmarks have a result for both.

Gemini 2.5 ProGoogle
Coding
34.2
Overall
51.6
Output $/M
$10.00
0
GLM 5.4Z.ai
Coding
72.8
Overall
69.2
Output $/M
$4.40
7
vs boards won of 7 shared

Gemini 2.5 Pro or GLM 5.4: which to pick

Pick GLM 5.4 for coding: it scores 72.8 on the Vibe Coding Index against 34.2 for Gemini 2.5 Pro.

Gemini 2.5 Pro is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
7
Gemini 2.5 Pro only
84
GLM 5.4 only
18
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, GLM 5.4 72.8 from 2 benchmarks.
Widest category
Coding, 63.6 points apart on average over 2 shared benchmarks.
Widest single gap
LMArena WebDev: Gemini 2.5 Pro 1227 against GLM 5.4 1691, 66.3 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against GLM 5.4 $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 2.5 ProBarsGLM 5.4Ties
Coding02
Reasoning01
Math03
Web design01
All shared boards07
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
SWE-bench Verified53.6%Not measuredOnly Gemini 2.5 Pro measured
LiveBench codingNot measured74.5%Only GLM 5.4 measured
LMArena WebDev12271691GLM 5.4
SWE-bench Verified (Vals AI)54.4%Not measuredOnly Gemini 2.5 Pro measured
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%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench 4.0 (Artificial Analysis run)0.0%Not measuredOnly Gemini 2.5 Pro measured
FrontierCode 2.0Not measured28.2%Only GLM 5.4 measured
Terminal-Bench32.6%Not measuredOnly Gemini 2.5 Pro measured
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%Not measuredOnly Gemini 2.5 Pro measured
ALE-BenchNot measured1491.7Only GLM 5.4 measured
LMArena Text: coding1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: software and IT1459Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev: ReactNot measured1741Only GLM 5.4 measured
LMArena WebDev: HTML12351674GLM 5.4
LMArena WebDev: from an image1284Not measuredOnly Gemini 2.5 Pro measured
GameBench 2Not measured78.5Only GLM 5.4 measured
Terminal-Bench 2.032.6%Not measuredOnly Gemini 2.5 Pro 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 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
AA Intelligence IndexNot measured42.0Only GLM 5.4 measured
Epoch Capabilities Index144.9Not measuredOnly Gemini 2.5 Pro measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Agentic work benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
LiveBench researchNot measured86.0%Only GLM 5.4 measured
LiveBench browserNot measured64.5%Only GLM 5.4 measured
LiveBench long agenticNot measured41.3%Only GLM 5.4 measured
τ²-Bench Telecom54.1%Not measuredOnly Gemini 2.5 Pro measured
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 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index01
Reasoning benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
LiveBench reasoningNot measured85.2%Only GLM 5.4 measured
GPQA Diamond (Artificial Analysis run)84.4%Not measuredOnly Gemini 2.5 Pro measured
Humanity's Last Exam (Artificial Analysis run)22.5%Not measuredOnly Gemini 2.5 Pro measured
HLE-Diamond (Artificial Analysis run)Not measured36.9%Only GLM 5.4 measured
CritPt v2, hard subset (Artificial Analysis run)Not measured52.0%Only GLM 5.4 measured
GPQA Diamond (Epoch AI run)85.3%90.5%GLM 5.4
ARC-AGI41.0%Not measuredOnly Gemini 2.5 Pro measured
ARC-AGI-24.9%Not measuredOnly Gemini 2.5 Pro measured
Mystery game puzzlesNot measured43.0%Only GLM 5.4 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 11 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
AIME 2025 (Artificial Analysis run)87.7%Not measuredOnly Gemini 2.5 Pro measured
OTIS Mock AIME84.7%97.2%GLM 5.4
FrontierMath, tiers 1 to 324.6%67.4%GLM 5.4
FrontierMath, tier 40.0%41.5%GLM 5.4
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 index13 boards, none shared
Knowledge benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
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
AA-OmniscienceNot measured17.2Only GLM 5.4 measured
SimpleQA VerifiedNot measured37.0%Only GLM 5.4 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 8 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index01
Web design benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
Design Arena: websites1207Not measuredOnly Gemini 2.5 Pro measured
Design Arena: UI components1120Not measuredOnly Gemini 2.5 Pro measured
Design Arena: game dev10751298GLM 5.4
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
LiveBench designNot measured74.2%Only GLM 5.4 measured
Neither model has a result on the other 2 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index35 boards, none shared
General benchmarks for Gemini 2.5 Pro and GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
LiveBench data analysisNot measured72.2%Only GLM 5.4 measured
MedScribe (Vals AI)73.5%Not measuredOnly Gemini 2.5 Pro measured
IFBench48.7%Not measuredOnly Gemini 2.5 Pro measured
Long context reasoning (AA-LCR)69.0%Not measuredOnly Gemini 2.5 Pro measured
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
Furniture assemblyNot measured23.3%Only GLM 5.4 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 14 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 GLM 5.4
BenchmarkGemini 2.5 ProGLM 5.4Leader
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
GLM 5.4$0.0036Fits in one request

GLM 5.4 costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
GLM 5.4$0.083Fits in one request

GLM 5.4 costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
GLM 5.4$0.324Fits in one request

GLM 5.4 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 GLM 5.4
SpecificationGoogle Gemini 2.5 ProZ.ai GLM 5.4
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025December 2, 2026
Context window1.05M1.05M
Input $/Mtok$1.25$1.40
Output $/Mtok$10.00$4.40
Coding index34.272.8
Independent measurements behind it22
Cost per solved task$0.64Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than GLM 5.4 for coding?

Pick GLM 5.4 for coding: it scores 72.8 on the Vibe Coding Index against 34.2 for Gemini 2.5 Pro. Gemini 2.5 Pro is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, Gemini 2.5 Pro or GLM 5.4?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GLM 5.4 costs $1.40 and $4.40. Cost per solved task is known for Gemini 2.5 Pro only.

Which has the bigger context window, Gemini 2.5 Pro or GLM 5.4?

Neither: both take 1.05M tokens.

How many benchmarks is the Gemini 2.5 Pro vs GLM 5.4 comparison based on?

7 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 GLM 5.4'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-glm-5-4" title="Gemini 2.5 Pro vs GLM 5.4, 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-glm-5-4">LLMBenchmark.ai, Gemini 2.5 Pro vs GLM 5.4</a></p>