Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs GLM 5

GLM 5 leads Gemini 2.5 Pro on coding, 41.7 to 19.1 on the Vibe Coding Index, and GLM 5 costs 3.1x less per output token ($3.20 vs $10.00 per million). Updated October 22, 2026; 57 benchmarks have a result for both.

Gemini 2.5 ProGoogle
Coding
19.1
Overall
41.8
Output $/M
$10.00
26
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
30
vs boards won of 57 shared, 1 tied

Gemini 2.5 Pro or GLM 5: which to pick

Pick GLM 5 for coding: it scores 41.7 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 WeirdML or GPQA Diamond (Artificial Analysis run), where it leads.

Shared results
57
Gemini 2.5 Pro only
33
GLM 5 only
19
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 41.7 from 3 benchmarks.
Widest category
Agentic work, 34.1 points apart on average over 2 shared benchmarks.
Widest single gap
τ²-Bench Telecom: Gemini 2.5 Pro 54.1% against GLM 5 98.2%, 44.2 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against GLM 5 $3.20 per million output tokens, 3.1x apart.
Context window
Gemini 2.5 Pro takes 1.05M tokens, GLM 5 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 5Ties
Coding19
Intelligence02
Agentic work02
Reasoning261 tie
Math30
Knowledge51
Web design06
General154
All shared boards26301 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index19
Coding benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
SWE-bench Verified53.6%72.8%GLM 5
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LMArena WebDev12261435GLM 5
AA Coding Index33.3Not measuredOnly Gemini 2.5 Pro measured
LiveCodeBench (Vals AI)Not measured81.9%Only GLM 5 measured
SWE-bench Verified (Vals AI)54.4%71.4%GLM 5
Vibe Code Bench (Vals AI)0.4%23.4%GLM 5
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%43.2%GLM 5
Terminal-Bench32.6%52.4%GLM 5
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%48.2%Gemini 2.5 Pro
ALE-BenchNot measured765.6Only GLM 5 measured
LMArena Text: coding14521461GLM 5
LMArena Text: software and IT14591460GLM 5
LMArena WebDev: ReactNot measured1424Only GLM 5 measured
LMArena WebDev: HTML12351450GLM 5
LMArena WebDev: from an image1285Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
AA Intelligence Index16.127.9GLM 5
Epoch Capabilities Index145.1145.8GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
AA Agentic Index1.6Not measuredOnly Gemini 2.5 Pro measured
Design Arena: agents building full-stack appsNot measured1123Only GLM 5 measured
Design Arena: agents building mobile appsNot measured1136Only GLM 5 measured
Design Arena: agents building Android appsNot measured1147Only GLM 5 measured
Design Arena: agents building Godot gamesNot measured1144Only GLM 5 measured
Design Arena: HTML slidesNot measured1098Only GLM 5 measured
τ²-Bench Telecom54.1%98.2%GLM 5
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574$4,432GLM 5
BrowseComp-Plus29.5%Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 30 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index26
Reasoning benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
GPQA DiamondNot measured83.3%Only GLM 5 measured
GPQA Diamond (Artificial Analysis run)84.4%82.0%Gemini 2.5 Pro
Humanity's Last Exam (Artificial Analysis run)22.5%29.3%GLM 5
GPQA Diamond (Epoch AI run)85.3%87.8%GLM 5
ARC-AGI41.0%44.7%GLM 5
ARC-AGI-24.9%4.9%Tie
SimpleBenchNot measured53.2%Only GLM 5 measured
LMArena Text: hard prompts14551452Gemini 2.5 Pro
LMArena Text: expert14521454GLM 5
LMArena Text: hard prompts in English14531460GLM 5
LMArena Vision: diagrams1274Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: homework1281Not measuredOnly Gemini 2.5 Pro measured
Kagi LLM Benchmark70.3%75.0%GLM 5
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
AIMENot measured91.7%Only GLM 5 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%80.0%Gemini 2.5 Pro
FrontierMath, tiers 1 to 324.6%Not measuredOnly Gemini 2.5 Pro measured
FrontierMath, tier 40.0%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: math14501440Gemini 2.5 Pro
LMArena Text: mathematical work14541451Gemini 2.5 Pro
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index51
Knowledge benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
MMLU ProNot measured86.0%Only GLM 5 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5 measured
CaseLaw (Vals AI)63.9%52.5%Gemini 2.5 Pro
CorpFin (Vals AI)60.8%62.9%GLM 5
TaxEval (Vals AI)Not measured70.0%Only GLM 5 measured
MortgageTax (Vals AI)68.9%Not measuredOnly Gemini 2.5 Pro measured
MedQA (Vals AI)Not measured94.3%Only GLM 5 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
LMArena Text: science14801460Gemini 2.5 Pro
LMArena Text: medicine and healthcare14761455Gemini 2.5 Pro
LMArena Text: legal and government14801453Gemini 2.5 Pro
LMArena Text: business and finance14391430Gemini 2.5 Pro
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
BenchmarkGemini 2.5 ProGLM 5Leader
Design Arena: websites11671247GLM 5
Design Arena: UI components11371227GLM 5
Design Arena: game dev11111234GLM 5
Design Arena: data viz12221228GLM 5
Design Arena: 3D10801228GLM 5
Design Arena: all code categories11521246GLM 5
Design Arena: SVGNot measured1168Only GLM 5 measured
Design Arena: ASCII artNot measured1147Only GLM 5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index154
General benchmarks for Gemini 2.5 Pro and GLM 5
BenchmarkGemini 2.5 ProGLM 5Leader
SAGE (Vals AI)41.9%Not measuredOnly Gemini 2.5 Pro measured
MedScribe (Vals AI)73.5%Not measuredOnly Gemini 2.5 Pro measured
IFBench48.7%72.3%GLM 5
Long context reasoning (AA-LCR)69.0%75.7%GLM 5
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
CL-benchNot measured18.7%Only GLM 5 measured
LMArena Text14581446Gemini 2.5 Pro
LMArena Text: instruction following14371428Gemini 2.5 Pro
LMArena Text: creative writing14541438Gemini 2.5 Pro
LMArena Vision1263Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: English14581458Gemini 2.5 Pro
LMArena Text: non-English14521430Gemini 2.5 Pro
LMArena Text: Chinese15071511GLM 5
LMArena Text: German14871447Gemini 2.5 Pro
LMArena Text: Japanese14611416Gemini 2.5 Pro
LMArena Text: Korean14341423Gemini 2.5 Pro
LMArena Text: French14731456Gemini 2.5 Pro
LMArena Text: Spanish14741454Gemini 2.5 Pro
LMArena Text: Russian14611436Gemini 2.5 Pro
LMArena Text: Polish14791434Gemini 2.5 Pro
LMArena Text: multi-turn14531456GLM 5
LMArena Text: longer queries14491446Gemini 2.5 Pro
LMArena Text: writing and language14541437Gemini 2.5 Pro
LMArena Text: entertainment and media14411426Gemini 2.5 Pro
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 12 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
BenchmarkGemini 2.5 ProGLM 5Leader
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$0.0026Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
GLM 5$0.060Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
GLM 5$0.232Exceeds the context window

GLM 5 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
SpecificationGoogle Gemini 2.5 ProZ.ai GLM 5
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025February 11, 2026
Context window1.05M205K
Input $/Mtok$1.25$1.00
Output $/Mtok$10.00$3.20
Coding index19.141.7
Independent measurements behind it33
Cost per solved task$0.64$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than GLM 5 for coding?

Pick GLM 5 for coding: it scores 41.7 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 WeirdML or GPQA Diamond (Artificial Analysis run), where it leads.

Which is cheaper, Gemini 2.5 Pro or GLM 5?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and GLM 5 $0.63.

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

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

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

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