Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs GLM 5.1

Gemini 3.7 Flash leads GLM 5.1 on coding, 58.0 to 49.2 on the Vibe Coding Index, at about the same output price ($3.75 vs $4.40 per million). Updated October 22, 2026; 75 benchmarks have a result for both.

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
71
GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
3
vs boards won of 75 shared, 1 tied

Gemini 3.7 Flash or GLM 5.1: which to pick

Pick Gemini 3.7 Flash for coding: it scores 58.0 on the Vibe Coding Index against 49.2 for GLM 5.1.

Pick GLM 5.1 for a lower cost per solved task ($0.60 against $1.78) and work measured by Design Arena: spreadsheets or Design Arena: data viz, where it leads.

Shared results
75
Gemini 3.7 Flash only
39
GLM 5.1 only
14
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 3.7 Flash 58.0 from 6 benchmarks, GLM 5.1 49.2 from 3 benchmarks.
Widest category
Math, 17.2 points apart on average over 5 shared benchmarks.
Widest single gap
Chess puzzles: Gemini 3.7 Flash 66.0% against GLM 5.1 20.0%, 46.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against GLM 5.1 $4.40 per million output tokens, 1.2x apart.
Context window
Gemini 3.7 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.7 FlashBarsGLM 5.1Ties
Coding1301 tie
Intelligence20
Agentic work91
Reasoning80
Math50
Knowledge90
Web design62
General190
All shared boards7131 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index130
Coding benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev15911508Gemini 3.7 Flash
AA Coding Index71.555.8Gemini 3.7 Flash
LiveCodeBench (Vals AI)88.7%81.4%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)80.8%76.4%Gemini 3.7 Flash
Terminal-Bench 4 (Vals AI)12.1%Not measuredOnly Gemini 3.7 Flash measured
Vibe Code Bench (Vals AI)70.4%31.5%Gemini 3.7 Flash
Code migration (Vals AI)34.8%25.8%Gemini 3.7 Flash
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)67.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)77.5%56.9%Gemini 3.7 Flash
SkillsBench (Vals AI)65.9%Not measuredOnly Gemini 3.7 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.7 Flash measured
SciCode59.8%44.8%Gemini 3.7 Flash
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5.1 measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
WeirdMLNot measured57.1%Only GLM 5.1 measured
ALE-Bench904.3887.1Gemini 3.7 Flash
LMArena Text: coding14991485Gemini 3.7 Flash
LMArena Text: software and IT14981484Gemini 3.7 Flash
LMArena WebDev: React15871505Gemini 3.7 Flash
LMArena WebDev: HTML15931508Gemini 3.7 Flash
LMArena WebDev: from an image1599Not measuredOnly Gemini 3.7 Flash measured
SciCode13.8%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
AA Intelligence Index39.626.1Gemini 3.7 Flash
Epoch Capabilities Index158.0149.8Gemini 3.7 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index91
Agentic work benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
Design Arena: agents building web apps12231175Gemini 3.7 Flash
Design Arena: agents building full-stack apps12081167Gemini 3.7 Flash
Design Arena: agents building mobile apps12291162Gemini 3.7 Flash
Design Arena: agents building Android apps12431182Gemini 3.7 Flash
Design Arena: agents building Godot games12641053Gemini 3.7 Flash
Design Arena: agents building games12351164Gemini 3.7 Flash
Design Arena: HTML slidesNot measured1120Only GLM 5.1 measured
Design Arena: PowerPoint slidesNot measured1163Only GLM 5.1 measured
Design Arena: spreadsheets10581315GLM 5.1
LiveBench research76.5%Not measuredOnly Gemini 3.7 Flash measured
LiveBench browser56.0%Not measuredOnly Gemini 3.7 Flash measured
LiveBench long agentic28.3%Not measuredOnly Gemini 3.7 Flash measured
SREBench (Vals AI)4.6%Not measuredOnly Gemini 3.7 Flash measured
Finance Agent (Vals AI)59.0%44.8%Gemini 3.7 Flash
Tax Agent Bench (Vals AI)22.8%Not measuredOnly Gemini 3.7 Flash measured
Legal Research Bench (Vals AI)34.6%27.9%Gemini 3.7 Flash
Excel Modeling Benchmark (Vals AI)71.3%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench-Science (Vals AI)7.1%Not measuredOnly Gemini 3.7 Flash measured
τ²-Bench TelecomNot measured97.7%Only GLM 5.1 measured
APEX-Agents67.8%40.9%Gemini 3.7 Flash
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 Flash measured
Vending-Bench 2Not measured$5,634Only GLM 5.1 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
Reasoning benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
GPQA Diamond93.9%84.5%Gemini 3.7 Flash
LiveBench reasoning87.8%Not measuredOnly Gemini 3.7 Flash measured
MMMU Pro (Vals AI)89.0%Not measuredOnly Gemini 3.7 Flash measured
GPQA Diamond (Artificial Analysis run)94.5%86.8%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%30.1%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%89.9%Gemini 3.7 Flash
ARC-AGI95.5%Not measuredOnly Gemini 3.7 Flash measured
ARC-AGI-284.6%Not measuredOnly Gemini 3.7 Flash measured
SimpleBenchNot measured55.1%Only GLM 5.1 measured
Chess puzzles66.0%20.0%Gemini 3.7 Flash
Mystery game puzzles37.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: hard prompts14951473Gemini 3.7 Flash
LMArena Text: expert15121478Gemini 3.7 Flash
LMArena Text: hard prompts in English14871482Gemini 3.7 Flash
LMArena Vision: diagrams1329Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: homework1320Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
AIMENot measured91.9%Only GLM 5.1 measured
OTIS Mock AIME97.2%93.3%Gemini 3.7 Flash
FrontierMath, tiers 1 to 371.6%36.8%Gemini 3.7 Flash
FrontierMath, tier 436.6%Not measuredOnly Gemini 3.7 Flash measured
ProofBench58.0%22.2%Gemini 3.7 Flash
LMArena Text: math15111473Gemini 3.7 Flash
LMArena Text: mathematical work15021470Gemini 3.7 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
Knowledge benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
MMLU Pro90.1%86.9%Gemini 3.7 Flash
LegalBench (Vals AI)87.3%84.4%Gemini 3.7 Flash
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)74.7%71.2%Gemini 3.7 Flash
MortgageTax (Vals AI)66.7%Not measuredOnly Gemini 3.7 Flash measured
MedCode (Vals AI)53.4%41.6%Gemini 3.7 Flash
SimpleQA Verified69.2%34.0%Gemini 3.7 Flash
LMArena Text: science15111478Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941474Gemini 3.7 Flash
LMArena Text: legal and government14961465Gemini 3.7 Flash
LMArena Text: business and finance14791452Gemini 3.7 Flash
FACTS Benchmark Suite71.2%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index62
Web design benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
Design Arena: websites13031290Gemini 3.7 Flash
Design Arena: UI components12961292Gemini 3.7 Flash
Design Arena: game dev13171265Gemini 3.7 Flash
Design Arena: data viz13151366GLM 5.1
Design Arena: 3D13071336GLM 5.1
Design Arena: all code categories13081268Gemini 3.7 Flash
Design Arena: SVG12831218Gemini 3.7 Flash
Design Arena: ASCII art12761141Gemini 3.7 Flash
LiveBench design73.2%Not measuredOnly Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Gemini 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 FlashGLM 5.1Leader
LiveBench data analysis68.0%Not measuredOnly Gemini 3.7 Flash measured
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
SAGE (Vals AI)49.2%Not measuredOnly Gemini 3.7 Flash measured
MedScribe (Vals AI)83.9%72.3%Gemini 3.7 Flash
IFBenchNot measured76.3%Only GLM 5.1 measured
Long context reasoning (AA-LCR)83.0%73.7%Gemini 3.7 Flash
DTBench96.8%Not measuredOnly Gemini 3.7 Flash measured
LMCA50.4%Not measuredOnly Gemini 3.7 Flash measured
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena Text14891463Gemini 3.7 Flash
LMArena Text: instruction following14841453Gemini 3.7 Flash
LMArena Text: creative writing14881453Gemini 3.7 Flash
LMArena Vision1314Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: English14831476Gemini 3.7 Flash
LMArena Text: non-English14871448Gemini 3.7 Flash
LMArena Text: Chinese15521515Gemini 3.7 Flash
LMArena Text: German15061467Gemini 3.7 Flash
LMArena Text: Japanese15111435Gemini 3.7 Flash
LMArena Text: Korean14811424Gemini 3.7 Flash
LMArena Text: French15001470Gemini 3.7 Flash
LMArena Text: Spanish14951468Gemini 3.7 Flash
LMArena Text: Russian15151454Gemini 3.7 Flash
LMArena Text: Polish15031449Gemini 3.7 Flash
LMArena Text: multi-turn14851473Gemini 3.7 Flash
LMArena Text: longer queries14921467Gemini 3.7 Flash
LMArena Text: writing and language14911454Gemini 3.7 Flash
LMArena Text: entertainment and media14771442Gemini 3.7 Flash
LMArena Vision: English1309Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: Chinese1394Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: reading text1322Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: humor1299Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: creative writing1312Not measuredOnly Gemini 3.7 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 3.7 Flash and GLM 5.1
BenchmarkGemini 3.7 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.7 Flash$0.0026Fits in one request
GLM 5.1$0.0036Fits in one request

Gemini 3.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.7 Flash$0.049Fits in one request
GLM 5.1$0.083Fits in one request

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
GLM 5.1$0.324Exceeds the context window

Gemini 3.7 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 3.7 Flash and GLM 5.1
SpecificationGoogle Gemini 3.7 FlashZ.ai GLM 5.1
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedAugust 13, 2026April 7, 2026
Context window1.05M205K
Input $/Mtok$0.75$1.40
Output $/Mtok$3.75$4.40
Coding index58.049.2
Independent measurements behind it63
Cost per solved task$1.78$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.7 Flash better than GLM 5.1 for coding?

Pick Gemini 3.7 Flash for coding: it scores 58.0 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for a lower cost per solved task ($0.60 against $1.78) and work measured by Design Arena: spreadsheets or Design Arena: data viz, where it leads.

Which is cheaper, Gemini 3.7 Flash or GLM 5.1?

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and GLM 5.1 $0.60.

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

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

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

75 benchmarks have a result for both models as of October 22, 2026. Gemini 3.7 Flash's coding index rests on 6 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-3-7-flash-vs-glm-5-1" title="Gemini 3.7 Flash 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-3-7-flash-vs-glm-5-1">LLMBenchmark.ai, Gemini 3.7 Flash vs GLM 5.1</a></p>