Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs GLM 5.1

GLM 5.1 leads Gemini 2.5 Pro on coding, 49.2 to 19.1 on the Vibe Coding Index, and GLM 5.1 costs 2.3x less per output token ($4.40 vs $10.00 per million). Updated October 21, 2026; 58 benchmarks have a result for both.

Gemini 2.5 ProGoogle
Coding
19.1
Overall
41.8
Output $/M
$10.00
16
GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
42
vs boards won of 58 shared

Gemini 2.5 Pro or GLM 5.1: which to pick

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro.

Pick Gemini 2.5 Pro for a larger context window (1.05M against 205K tokens) and work measured by SciCode or CaseLaw (Vals AI), where it leads.

Shared results
58
Gemini 2.5 Pro only
32
GLM 5.1 only
31
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 2.5 Pro 19.1 from 3 benchmarks, GLM 5.1 49.2 from 3 benchmarks.
Widest category
Agentic work, 32.5 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena WebDev: HTML: Gemini 2.5 Pro 1235 against GLM 5.1 1508, 45.5 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against GLM 5.1 $4.40 per million output tokens, 2.3x apart.
Context window
Gemini 2.5 Pro takes 1.05M tokens, GLM 5.1 205K.

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.1Ties
Coding19
Intelligence02
Agentic work03
Reasoning06
Math04
Knowledge52
Web design06
General1010
All shared boards1642
CodingLike-for-likeSix of these boards feed the Vibe Coding Index19
Coding benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
SWE-bench Verified53.6%Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev12261508GLM 5.1
AA Coding Index33.355.8GLM 5.1
LiveCodeBench (Vals AI)Not measured81.4%Only GLM 5.1 measured
SWE-bench Verified (Vals AI)54.4%76.4%GLM 5.1
Vibe Code Bench (Vals AI)0.4%31.5%GLM 5.1
Code migration (Vals AI)Not measured25.8%Only GLM 5.1 measured
ProgramBench (Vals AI)Not measured0.0%Only GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)Not measured56.9%Only GLM 5.1 measured
LiveCodeBench (Artificial Analysis run)80.1%Not measuredOnly Gemini 2.5 Pro measured
SciCode46.3%44.8%Gemini 2.5 Pro
Terminal-Bench Hard (Artificial Analysis run)26.5%43.2%GLM 5.1
Terminal-Bench32.6%Not measuredOnly Gemini 2.5 Pro measured
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%57.1%GLM 5.1
ALE-BenchNot measured887.1Only GLM 5.1 measured
LMArena Text: coding14521485GLM 5.1
LMArena Text: software and IT14591484GLM 5.1
LMArena WebDev: ReactNot measured1505Only GLM 5.1 measured
LMArena WebDev: HTML12351508GLM 5.1
LMArena WebDev: from an image1285Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
AA Intelligence Index16.126.1GLM 5.1
Epoch Capabilities Index145.1149.8GLM 5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
Agentic work benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
AA Agentic Index1.623.9GLM 5.1
Design Arena: agents building web appsNot measured1175Only GLM 5.1 measured
Design Arena: agents building full-stack appsNot measured1167Only GLM 5.1 measured
Design Arena: agents building mobile appsNot measured1162Only GLM 5.1 measured
Design Arena: agents building Android appsNot measured1180Only GLM 5.1 measured
Design Arena: agents building Godot gamesNot measured1053Only GLM 5.1 measured
Design Arena: agents building gamesNot measured1164Only GLM 5.1 measured
Design Arena: HTML slidesNot measured1170Only GLM 5.1 measured
Design Arena: PowerPoint slidesNot measured1188Only GLM 5.1 measured
Design Arena: spreadsheetsNot measured1315Only GLM 5.1 measured
Finance Agent (Vals AI)Not measured44.8%Only GLM 5.1 measured
Legal Research Bench (Vals AI)Not measured27.9%Only GLM 5.1 measured
τ²-Bench Telecom54.1%97.7%GLM 5.1
APEX-AgentsNot measured40.9%Only GLM 5.1 measured
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574$5,634GLM 5.1
BrowseComp-Plus29.5%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
GPQA DiamondNot measured84.5%Only GLM 5.1 measured
GPQA Diamond (Artificial Analysis run)84.4%86.8%GLM 5.1
Humanity's Last Exam (Artificial Analysis run)22.5%30.1%GLM 5.1
GPQA Diamond (Epoch AI run)85.3%89.9%GLM 5.1
ARC-AGI41.0%Not measuredOnly Gemini 2.5 Pro measured
ARC-AGI-24.9%Not measuredOnly Gemini 2.5 Pro measured
SimpleBenchNot measured55.1%Only GLM 5.1 measured
Chess puzzlesNot measured20.0%Only GLM 5.1 measured
LMArena Text: hard prompts14551473GLM 5.1
LMArena Text: expert14521478GLM 5.1
LMArena Text: hard prompts in English14531482GLM 5.1
LMArena Vision: diagrams1274Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: homework1281Not 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 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
AIMENot measured91.9%Only GLM 5.1 measured
AA Math Index87.7Not measuredOnly Gemini 2.5 Pro measured
AIME 2025 (Artificial Analysis run)87.7%Not measuredOnly Gemini 2.5 Pro measured
OTIS Mock AIME84.7%93.3%GLM 5.1
FrontierMath, tiers 1 to 324.6%36.8%GLM 5.1
FrontierMath, tier 40.0%Not measuredOnly Gemini 2.5 Pro measured
ProofBenchNot measured22.2%Only GLM 5.1 measured
LMArena Text: math14501473GLM 5.1
LMArena Text: mathematical work14541470GLM 5.1
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index52
Knowledge benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
MMLU ProNot measured86.9%Only GLM 5.1 measured
LegalBench (Vals AI)Not measured84.4%Only GLM 5.1 measured
CaseLaw (Vals AI)63.9%51.5%Gemini 2.5 Pro
CorpFin (Vals AI)60.8%64.5%GLM 5.1
TaxEval (Vals AI)Not measured71.2%Only GLM 5.1 measured
MortgageTax (Vals AI)68.9%Not measuredOnly Gemini 2.5 Pro measured
MedCode (Vals AI)50.6%41.6%Gemini 2.5 Pro
MMLU Pro (Artificial Analysis run)86.2%Not measuredOnly Gemini 2.5 Pro measured
SimpleQA VerifiedNot measured34.0%Only GLM 5.1 measured
LMArena Text: science14801478Gemini 2.5 Pro
LMArena Text: medicine and healthcare14761474Gemini 2.5 Pro
LMArena Text: legal and government14801465Gemini 2.5 Pro
LMArena Text: business and finance14391452GLM 5.1
FACTS Benchmark Suite61.5%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
Design Arena: websites11671290GLM 5.1
Design Arena: UI components11401292GLM 5.1
Design Arena: game dev11111265GLM 5.1
Design Arena: data viz12211366GLM 5.1
Design Arena: 3D10811336GLM 5.1
Design Arena: all code categories11521268GLM 5.1
Design Arena: SVGNot measured1218Only GLM 5.1 measured
Design Arena: ASCII artNot measured1142Only GLM 5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index1010
General benchmarks for Gemini 2.5 Pro and GLM 5.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
SAGE (Vals AI)41.9%Not measuredOnly Gemini 2.5 Pro measured
MedScribe (Vals AI)73.5%72.3%Gemini 2.5 Pro
IFBench48.7%76.3%GLM 5.1
Long context reasoning (AA-LCR)69.0%73.7%GLM 5.1
DTBench82.4%Not measuredOnly Gemini 2.5 Pro measured
LMCA34.8%Not measuredOnly Gemini 2.5 Pro measured
Creative writing (Lech Mazur)83.8%Not measuredOnly Gemini 2.5 Pro measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena Text14581463GLM 5.1
LMArena Text: instruction following14371453GLM 5.1
LMArena Text: creative writing14541453Gemini 2.5 Pro
LMArena Vision1263Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: English14581476GLM 5.1
LMArena Text: non-English14521448Gemini 2.5 Pro
LMArena Text: Chinese15071515GLM 5.1
LMArena Text: German14871467Gemini 2.5 Pro
LMArena Text: Japanese14611435Gemini 2.5 Pro
LMArena Text: Korean14341424Gemini 2.5 Pro
LMArena Text: French14731470Gemini 2.5 Pro
LMArena Text: Spanish14741468Gemini 2.5 Pro
LMArena Text: Russian14611454Gemini 2.5 Pro
LMArena Text: Polish14791449Gemini 2.5 Pro
LMArena Text: multi-turn14531473GLM 5.1
LMArena Text: longer queries14491467GLM 5.1
LMArena Text: writing and language14541454GLM 5.1
LMArena Text: entertainment and media14411442GLM 5.1
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: captioning1304Not 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 Document1421Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 11 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.1
BenchmarkGemini 2.5 ProGLM 5.1Leader
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.1$0.0036Fits in one request

GLM 5.1 costs less

Repository review

50K input + 3K output tokens

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

GLM 5.1 costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
GLM 5.1$0.324Exceeds the context window

GLM 5.1 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.1
SpecificationGoogle Gemini 2.5 ProZ.ai GLM 5.1
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025April 7, 2026
Context window1.05M205K
Input $/Mtok$1.25$1.40
Output $/Mtok$10.00$4.40
Coding index19.149.2
Independent measurements behind it33
Cost per solved task$0.64$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than GLM 5.1 for coding?

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro for a larger context window (1.05M against 205K tokens) and work measured by SciCode or CaseLaw (Vals AI), where it leads.

Which is cheaper, Gemini 2.5 Pro or GLM 5.1?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and GLM 5.1 $0.60.

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

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

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

58 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Pro's coding index rests on 3 independent benchmarks and GLM 5.1'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-2-5-pro-vs-glm-5-1" title="Gemini 2.5 Pro vs GLM 5.1, 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-1">LLMBenchmark.ai, Gemini 2.5 Pro vs GLM 5.1</a></p>