LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.5 Flash vs GLM 5.1

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

Gemini 3.5 FlashGoogle
Coding
42.8
Overall
33.6
Output $/M
$9.00
67
GLM 5.1Z.ai
Coding
44.0
Overall
26.1
Output $/M
$4.40
15
vs boards won of 83 shared, 1 tied

Decision reading

Gemini 3.5 Flash and GLM 5.1 are level for coding, 42.8 against 44.0 on the Vibe Coding Index, so price and context decide.

Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 205K tokens, or when what matters is LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads. Pick GLM 5.1 when output tokens cost 2.0x less, or when a solved task costs $0.60 against $1.21.

Shared results
83
Gemini 3.5 Flash only
27
GLM 5.1 only
6
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 3.5 Flash 42.8 from 1 benchmark, GLM 5.1 44.0 from 1 benchmark.
Widest category
Math, 9.3 points apart on average over 5 shared benchmarks.
Widest single gap
SimpleQA Verified: Gemini 3.5 Flash 66.2% against GLM 5.1 34.0%, 32.2 points apart on a 0 to 100 scale.
Output price
Gemini 3.5 Flash $9.00 against GLM 5.1 $4.40 per million output tokens, 2.0x apart.
Context window
Gemini 3.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 3.5 FlashBarsGLM 5.1Ties
Coding1221 tie
Intelligence20
Agentic work85
Reasoning90
Math50
Knowledge91
Web design26
General201
All shared boards67151 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index122
Coding benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
LMArena WebDev14991508GLM 5.1
AA Coding IndexNot measured55.8Only GLM 5.1 measured
LiveCodeBench (Vals AI)87.6%81.4%Gemini 3.5 Flash
SWE-bench Verified (Vals AI)78.8%76.4%Gemini 3.5 Flash
Terminal-Bench 4 (Vals AI)6.1%Not measuredOnly Gemini 3.5 Flash measured
Vibe Code Bench (Vals AI)48.7%31.5%Gemini 3.5 Flash
Code migration (Vals AI)26.8%25.8%Gemini 3.5 Flash
ProgramBench (Vals AI)0.0%0.0%Tie
Terminal-Bench 2.1 (Vals AI)74.2%56.9%Gemini 3.5 Flash
SkillsBench (Vals AI)52.7%Not measuredOnly Gemini 3.5 Flash measured
SciCode53.9%44.8%Gemini 3.5 Flash
Terminal-Bench Hard (Artificial Analysis run)46.2%43.2%Gemini 3.5 Flash
WeirdML62.6%57.1%Gemini 3.5 Flash
ALE-Bench911.0887.1Gemini 3.5 Flash
LMArena Text: coding14931485Gemini 3.5 Flash
LMArena Text: software and IT14941484Gemini 3.5 Flash
LMArena WebDev: React14951505GLM 5.1
LMArena WebDev: HTML15221508Gemini 3.5 Flash
LMArena WebDev: from an image1504Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
AA Intelligence Index33.626.1Gemini 3.5 Flash
Epoch Capabilities Index154.9149.8Gemini 3.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index85
Agentic work benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
Design Arena: agents building web apps12021175Gemini 3.5 Flash
Design Arena: agents building full-stack apps11971167Gemini 3.5 Flash
Design Arena: agents building mobile apps11751162Gemini 3.5 Flash
Design Arena: agents building Android apps11901186Gemini 3.5 Flash
Design Arena: agents building Godot games10981053Gemini 3.5 Flash
Design Arena: agents building games11801164Gemini 3.5 Flash
Design Arena: HTML slides11421170GLM 5.1
Design Arena: PowerPoint slides11781189GLM 5.1
Design Arena: spreadsheetsNot measured1315Only GLM 5.1 measured
Finance Agent (Vals AI)57.9%44.8%Gemini 3.5 Flash
Tax Agent Bench (Vals AI)21.6%Not measuredOnly Gemini 3.5 Flash measured
Legal Research Bench (Vals AI)30.8%27.9%Gemini 3.5 Flash
Excel Modeling Benchmark (Vals AI)63.5%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly Gemini 3.5 Flash measured
τ²-Bench Telecom95.6%97.7%GLM 5.1
APEX-Agents27.5%40.9%GLM 5.1
Vending-Bench 2$5,396$5,634GLM 5.1
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
Reasoning benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
GPQA Diamond92.7%84.5%Gemini 3.5 Flash
MMMU Pro (Vals AI)88.3%Not measuredOnly Gemini 3.5 Flash measured
GPQA Diamond (Artificial Analysis run)92.2%86.8%Gemini 3.5 Flash
Humanity's Last Exam (Artificial Analysis run)42.7%30.1%Gemini 3.5 Flash
GPQA Diamond (Epoch AI run)92.8%89.9%Gemini 3.5 Flash
ARC-AGI92.5%Not measuredOnly Gemini 3.5 Flash measured
ARC-AGI-272.1%Not measuredOnly Gemini 3.5 Flash measured
SimpleBench76.7%55.1%Gemini 3.5 Flash
Chess puzzles45.0%20.0%Gemini 3.5 Flash
Mystery game puzzles32.0%Not measuredOnly Gemini 3.5 Flash measured
EBR-bench4.8%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts14881473Gemini 3.5 Flash
LMArena Text: expert14951478Gemini 3.5 Flash
LMArena Text: hard prompts in English14831482Gemini 3.5 Flash
LMArena Vision: diagrams1323Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: homework1330Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
AIMENot measured91.9%Only GLM 5.1 measured
OTIS Mock AIME95.6%93.3%Gemini 3.5 Flash
FrontierMath, tiers 1 to 362.8%36.8%Gemini 3.5 Flash
FrontierMath, tier 426.8%Not measuredOnly Gemini 3.5 Flash measured
ProofBench31.0%22.2%Gemini 3.5 Flash
LMArena Text: math15041473Gemini 3.5 Flash
LMArena Text: mathematical work14951470Gemini 3.5 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index91
Knowledge benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
MMLU Pro89.5%86.9%Gemini 3.5 Flash
LegalBench (Vals AI)83.6%84.4%GLM 5.1
CaseLaw (Vals AI)Not measured51.5%Only GLM 5.1 measured
CorpFin (Vals AI)64.7%64.5%Gemini 3.5 Flash
TaxEval (Vals AI)74.4%71.2%Gemini 3.5 Flash
MortgageTax (Vals AI)68.1%Not measuredOnly Gemini 3.5 Flash measured
MedCode (Vals AI)55.8%41.6%Gemini 3.5 Flash
SimpleQA Verified66.2%34.0%Gemini 3.5 Flash
LMArena Text: science14951478Gemini 3.5 Flash
LMArena Text: medicine and healthcare14831474Gemini 3.5 Flash
LMArena Text: legal and government14881465Gemini 3.5 Flash
LMArena Text: business and finance14671452Gemini 3.5 Flash
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
Design Arena: websites12681290GLM 5.1
Design Arena: UI components12721292GLM 5.1
Design Arena: game dev12631265GLM 5.1
Design Arena: data viz12361366GLM 5.1
Design Arena: 3D12441336GLM 5.1
Design Arena: all code categories12661268GLM 5.1
Design Arena: SVG12541217Gemini 3.5 Flash
Design Arena: ASCII art12531142Gemini 3.5 Flash
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index201
General benchmarks for Gemini 3.5 Flash and GLM 5.1
BenchmarkGemini 3.5 FlashGLM 5.1Leader
Public Benefits Bench (Vals AI)59.5%61.8%GLM 5.1
SAGE (Vals AI)49.9%Not measuredOnly Gemini 3.5 Flash measured
MedScribe (Vals AI)76.6%72.3%Gemini 3.5 Flash
Vals Multimodal Index62.9%Not measuredOnly Gemini 3.5 Flash measured
IFBench76.3%76.3%Gemini 3.5 Flash
Long context reasoning (AA-LCR)74.3%73.7%Gemini 3.5 Flash
DTBench94.7%Not measuredOnly Gemini 3.5 Flash measured
LMCA47.1%Not measuredOnly Gemini 3.5 Flash measured
Surface Evolver Bench58.1%Not measuredOnly Gemini 3.5 Flash measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena Text14821463Gemini 3.5 Flash
LMArena Text: instruction following14671453Gemini 3.5 Flash
LMArena Text: creative writing14701453Gemini 3.5 Flash
LMArena Vision1308Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: English14811476Gemini 3.5 Flash
LMArena Text: non-English14751448Gemini 3.5 Flash
LMArena Text: Chinese15271515Gemini 3.5 Flash
LMArena Text: German14941467Gemini 3.5 Flash
LMArena Text: Japanese14861435Gemini 3.5 Flash
LMArena Text: Korean14481424Gemini 3.5 Flash
LMArena Text: French14901470Gemini 3.5 Flash
LMArena Text: Spanish14801468Gemini 3.5 Flash
LMArena Text: Russian14931454Gemini 3.5 Flash
LMArena Text: Polish15161449Gemini 3.5 Flash
LMArena Text: multi-turn14811473Gemini 3.5 Flash
LMArena Text: longer queries14831467Gemini 3.5 Flash
LMArena Text: writing and language14781454Gemini 3.5 Flash
LMArena Text: entertainment and media14591442Gemini 3.5 Flash
LMArena Vision: English1305Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: Chinese1377Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: reading text1317Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: humor1321Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: creative writing1301Not measuredOnly Gemini 3.5 Flash measured
LMArena Document1463Not measuredOnly Gemini 3.5 Flash 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 3.5 Flash and GLM 5.1
BenchmarkGemini 3.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 3.5 Flash$0.0060Fits in one request
GLM 5.1$0.0036Fits in one request

GLM 5.1 costs less

Repository review

50K input + 3K output tokens

Gemini 3.5 Flash$0.102Fits in one request
GLM 5.1$0.083Fits in one request

GLM 5.1 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.5 Flash$0.390Fits 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 3.5 Flash and GLM 5.1
SpecificationGoogle Gemini 3.5 FlashZ.ai GLM 5.1
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedMay 19, 2026April 7, 2026
Context window1.05M205K
Input $/Mtok$1.50$1.40
Output $/Mtok$9.00$4.40
Coding index42.844.0
Independent measurements behind it11
Cost per solved task$1.21$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.5 Flash better than GLM 5.1 for coding?

Gemini 3.5 Flash and GLM 5.1 are level for coding, 42.8 against 44.0 on the Vibe Coding Index, so price and context decide. Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 205K tokens, or when what matters is LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads. Pick GLM 5.1 when output tokens cost 2.0x less, or when a solved task costs $0.60 against $1.21.

Which is cheaper, Gemini 3.5 Flash or GLM 5.1?

Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GLM 5.1 $0.60.

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

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

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

83 benchmarks have a result for both models as of October 21, 2026. Gemini 3.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