LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GLM 5.1

Updated October 21, 2026. 47 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 2.5 FlashGoogle
Coding
28.7
Overall
15.5
Output $/M
$2.50
1
GLM 5.1Z.ai
Coding
44.0
Overall
26.1
Output $/M
$4.40
46
vs boards won of 47 shared

Decision reading

Pick GLM 5.1 for coding: it scores 44.0 on the Vibe Coding Index against 28.7 for Gemini 2.5 Flash.

Pick Gemini 2.5 Flash when output tokens cost 1.8x less, or when a solved task costs $0.466 against $0.60.

Shared results
47
Gemini 2.5 Flash only
22
GLM 5.1 only
42
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 Flash 28.7 from 1 benchmark, GLM 5.1 44.0 from 1 benchmark.
Widest category
Agentic work, 48.9 points apart on average over 2 shared benchmarks.
Widest single gap
τ²-Bench Telecom: Gemini 2.5 Flash 31.6% against GLM 5.1 97.7%, 66.1 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GLM 5.1 $4.40 per million output tokens, 1.8x apart.
Context window
Gemini 2.5 Flash 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 FlashBarsGLM 5.1Ties
Coding03
Intelligence02
Agentic work02
Reasoning06
Math02
Knowledge05
Web design07
General119
All shared boards146
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
SWE-bench Verified28.7%Not measuredOnly Gemini 2.5 Flash measured
LMArena WebDevNot measured1508Only GLM 5.1 measured
AA Coding IndexNot measured55.8Only GLM 5.1 measured
LiveCodeBench (Vals AI)Not measured81.4%Only GLM 5.1 measured
SWE-bench Verified (Vals AI)Not measured76.4%Only GLM 5.1 measured
Vibe Code Bench (Vals AI)Not measured31.5%Only GLM 5.1 measured
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)69.5%Not measuredOnly Gemini 2.5 Flash measured
SciCodeNot measured44.8%Only GLM 5.1 measured
Terminal-Bench Hard (Artificial Analysis run)13.6%43.2%GLM 5.1
Terminal-Bench17.1%Not measuredOnly Gemini 2.5 Flash measured
WeirdMLNot measured57.1%Only GLM 5.1 measured
ALE-BenchNot measured887.1Only GLM 5.1 measured
LMArena Text: coding14231485GLM 5.1
LMArena Text: software and IT14251484GLM 5.1
LMArena WebDev: ReactNot measured1505Only GLM 5.1 measured
LMArena WebDev: HTMLNot measured1508Only GLM 5.1 measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
AA Intelligence Index15.526.1GLM 5.1
Epoch Capabilities Index142.9149.8GLM 5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
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 measured1186Only 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 measured1189Only 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 Telecom31.6%97.7%GLM 5.1
APEX-AgentsNot measured40.9%Only GLM 5.1 measured
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549$5,634GLM 5.1
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 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
GPQA DiamondNot measured84.5%Only GLM 5.1 measured
GPQA Diamond (Artificial Analysis run)79.0%86.8%GLM 5.1
Humanity's Last Exam (Artificial Analysis run)12.1%30.1%GLM 5.1
GPQA Diamond (Epoch AI run)Not measured89.9%Only GLM 5.1 measured
ARC-AGI33.3%Not measuredOnly Gemini 2.5 Flash measured
ARC-AGI-22.5%Not measuredOnly Gemini 2.5 Flash measured
SimpleBench41.2%55.1%GLM 5.1
Chess puzzlesNot measured20.0%Only GLM 5.1 measured
LMArena Text: hard prompts14221473GLM 5.1
LMArena Text: expert14261478GLM 5.1
LMArena Text: hard prompts in English14201482GLM 5.1
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
AIMENot measured91.9%Only GLM 5.1 measured
AA Math Index73.3Not measuredOnly Gemini 2.5 Flash measured
AIME 2025 (Artificial Analysis run)73.3%Not measuredOnly Gemini 2.5 Flash measured
OTIS Mock AIMENot measured93.3%Only GLM 5.1 measured
FrontierMath, tiers 1 to 3Not measured36.8%Only GLM 5.1 measured
ProofBenchNot measured22.2%Only GLM 5.1 measured
LMArena Text: math14111473GLM 5.1
LMArena Text: mathematical work14221470GLM 5.1
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 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)Not measured51.5%Only GLM 5.1 measured
CorpFin (Vals AI)Not measured64.5%Only GLM 5.1 measured
TaxEval (Vals AI)Not measured71.2%Only GLM 5.1 measured
MedCode (Vals AI)40.4%41.6%GLM 5.1
MMLU Pro (Artificial Analysis run)83.2%Not measuredOnly Gemini 2.5 Flash measured
SimpleQA VerifiedNot measured34.0%Only GLM 5.1 measured
LMArena Text: science14331478GLM 5.1
LMArena Text: medicine and healthcare14281474GLM 5.1
LMArena Text: legal and government14301465GLM 5.1
LMArena Text: business and finance14041452GLM 5.1
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
Design Arena: websites10741290GLM 5.1
Design Arena: UI components10051292GLM 5.1
Design Arena: game dev10051265GLM 5.1
Design Arena: data viz10601366GLM 5.1
Design Arena: 3D10211336GLM 5.1
Design Arena: all code categories10591268GLM 5.1
Design Arena: SVG10181217GLM 5.1
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 index119
General benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 5.1Leader
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%72.3%Gemini 2.5 Flash
IFBench50.3%76.3%GLM 5.1
Long context reasoning (AA-LCR)65.3%73.7%GLM 5.1
DTBench76.5%Not measuredOnly Gemini 2.5 Flash measured
LMCA27.5%Not measuredOnly Gemini 2.5 Flash measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena Text14171463GLM 5.1
LMArena Text: instruction following14051453GLM 5.1
LMArena Text: creative writing14001453GLM 5.1
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English14181476GLM 5.1
LMArena Text: non-English14091448GLM 5.1
LMArena Text: Chinese14491515GLM 5.1
LMArena Text: German14171467GLM 5.1
LMArena Text: Japanese13961435GLM 5.1
LMArena Text: Korean13851424GLM 5.1
LMArena Text: French14321470GLM 5.1
LMArena Text: Spanish14221468GLM 5.1
LMArena Text: Russian14151454GLM 5.1
LMArena Text: Polish14131449GLM 5.1
LMArena Text: multi-turn14081473GLM 5.1
LMArena Text: longer queries14191467GLM 5.1
LMArena Text: writing and language14051454GLM 5.1
LMArena Text: entertainment and media13931442GLM 5.1
LMArena Vision: English1239Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Flash and GLM 5.1
BenchmarkGemini 2.5 FlashGLM 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 Flash$0.0015Fits in one request
GLM 5.1$0.0036Fits in one request

Gemini 2.5 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
GLM 5.1$0.083Fits in one request

Gemini 2.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
GLM 5.1$0.324Exceeds the context window

Gemini 2.5 Flash 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 Flash and GLM 5.1
SpecificationGoogle Gemini 2.5 FlashZ.ai GLM 5.1
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025April 7, 2026
Context window1.05M205K
Input $/Mtok$0.30$1.40
Output $/Mtok$2.50$4.40
Coding index28.744.0
Independent measurements behind it11
Cost per solved task$0.466$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Flash better than GLM 5.1 for coding?

Pick GLM 5.1 for coding: it scores 44.0 on the Vibe Coding Index against 28.7 for Gemini 2.5 Flash. Pick Gemini 2.5 Flash when output tokens cost 1.8x less, or when a solved task costs $0.466 against $0.60.

Which is cheaper, Gemini 2.5 Flash or GLM 5.1?

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 2.5 Flash costs $0.466 and GLM 5.1 $0.60.

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

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

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

47 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Flash's coding index rests on 1 independent benchmark and GLM 5.1's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next