Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs GLM 5

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

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
60
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
0
vs boards won of 60 shared

Gemini 3.7 Flash or GLM 5: which to pick

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

Pick GLM 5 for output tokens 1.2x cheaper ($3.20 vs $3.75 per million) and a lower cost per solved task ($0.63 against $1.78).

Shared results
60
Gemini 3.7 Flash only
54
GLM 5 only
16
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 41.7 from 3 benchmarks.
Widest category
Reasoning, 22.3 points apart on average over 9 shared benchmarks.
Widest single gap
ARC-AGI-2: Gemini 3.7 Flash 84.6% against GLM 5 4.9%, 79.7 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against GLM 5 $3.20 per million output tokens, 1.2x apart.
Context window
Gemini 3.7 Flash 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 3.7 FlashBarsGLM 5Ties
Coding90
Intelligence20
Agentic work40
Reasoning90
Math30
Knowledge70
Web design80
General180
All shared boards600
CodingLike-for-likeSix of these boards feed the Vibe Coding Index90
Coding benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
SWE-bench VerifiedNot measured72.8%Only GLM 5 measured
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev15911435Gemini 3.7 Flash
AA Coding Index71.5Not measuredOnly Gemini 3.7 Flash measured
LiveCodeBench (Vals AI)88.7%81.9%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)80.8%71.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%23.4%Gemini 3.7 Flash
Code migration (Vals AI)34.8%Not measuredOnly Gemini 3.7 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.7 Flash measured
IOI (Vals AI)67.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)77.5%Not measuredOnly Gemini 3.7 Flash measured
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%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5 measured
Terminal-BenchNot measured52.4%Only GLM 5 measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
WeirdMLNot measured48.2%Only GLM 5 measured
ALE-Bench904.3765.6Gemini 3.7 Flash
LMArena Text: coding14991461Gemini 3.7 Flash
LMArena Text: software and IT14981460Gemini 3.7 Flash
LMArena WebDev: React15871424Gemini 3.7 Flash
LMArena WebDev: HTML15931450Gemini 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 11 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
AA Intelligence Index39.627.9Gemini 3.7 Flash
Epoch Capabilities Index158.0145.8Gemini 3.7 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
Design Arena: agents building web apps1223Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building full-stack apps12081123Gemini 3.7 Flash
Design Arena: agents building mobile apps12291136Gemini 3.7 Flash
Design Arena: agents building Android apps12431147Gemini 3.7 Flash
Design Arena: agents building Godot games12641144Gemini 3.7 Flash
Design Arena: agents building games1235Not measuredOnly Gemini 3.7 Flash measured
Design Arena: HTML slidesNot measured1098Only GLM 5 measured
Design Arena: spreadsheets1058Not measuredOnly Gemini 3.7 Flash measured
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%Not measuredOnly Gemini 3.7 Flash measured
Tax Agent Bench (Vals AI)22.8%Not measuredOnly Gemini 3.7 Flash measured
Legal Research Bench (Vals AI)34.6%Not measuredOnly Gemini 3.7 Flash measured
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 measured98.2%Only GLM 5 measured
APEX-Agents67.8%Not measuredOnly Gemini 3.7 Flash measured
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 Flash measured
Vending-Bench 2Not measured$4,432Only GLM 5 measured
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
Reasoning benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
GPQA Diamond93.9%83.3%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%82.0%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%29.3%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%87.8%Gemini 3.7 Flash
ARC-AGI95.5%44.7%Gemini 3.7 Flash
ARC-AGI-284.6%4.9%Gemini 3.7 Flash
SimpleBenchNot measured53.2%Only GLM 5 measured
Chess puzzles66.0%Not measuredOnly Gemini 3.7 Flash measured
Mystery game puzzles37.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: hard prompts14951452Gemini 3.7 Flash
LMArena Text: expert15121454Gemini 3.7 Flash
LMArena Text: hard prompts in English14871460Gemini 3.7 Flash
LMArena Vision: diagrams1329Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: homework1320Not measuredOnly Gemini 3.7 Flash measured
Kagi LLM BenchmarkNot measured75.0%Only GLM 5 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
AIMENot measured91.7%Only GLM 5 measured
OTIS Mock AIME97.2%80.0%Gemini 3.7 Flash
FrontierMath, tiers 1 to 371.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierMath, tier 436.6%Not measuredOnly Gemini 3.7 Flash measured
ProofBench58.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: math15111440Gemini 3.7 Flash
LMArena Text: mathematical work15021451Gemini 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 index70
Knowledge benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
MMLU Pro90.1%86.0%Gemini 3.7 Flash
LegalBench (Vals AI)87.3%84.1%Gemini 3.7 Flash
CaseLaw (Vals AI)Not measured52.5%Only GLM 5 measured
CorpFin (Vals AI)Not measured62.9%Only GLM 5 measured
TaxEval (Vals AI)74.7%70.0%Gemini 3.7 Flash
MortgageTax (Vals AI)66.7%Not measuredOnly Gemini 3.7 Flash measured
MedQA (Vals AI)Not measured94.3%Only GLM 5 measured
MedCode (Vals AI)53.4%Not measuredOnly Gemini 3.7 Flash measured
SimpleQA Verified69.2%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: science15111460Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941455Gemini 3.7 Flash
LMArena Text: legal and government14961453Gemini 3.7 Flash
LMArena Text: business and finance14791430Gemini 3.7 Flash
FACTS Benchmark Suite71.2%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
Design Arena: websites13031247Gemini 3.7 Flash
Design Arena: UI components12961227Gemini 3.7 Flash
Design Arena: game dev13171234Gemini 3.7 Flash
Design Arena: data viz13151228Gemini 3.7 Flash
Design Arena: 3D13071228Gemini 3.7 Flash
Design Arena: all code categories13081246Gemini 3.7 Flash
Design Arena: SVG12831168Gemini 3.7 Flash
Design Arena: ASCII art12761147Gemini 3.7 Flash
LiveBench design73.2%Not measuredOnly Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
General benchmarks for Gemini 3.7 Flash and GLM 5
BenchmarkGemini 3.7 FlashGLM 5Leader
LiveBench data analysis68.0%Not measuredOnly Gemini 3.7 Flash measured
SAGE (Vals AI)49.2%Not measuredOnly Gemini 3.7 Flash measured
MedScribe (Vals AI)83.9%Not measuredOnly Gemini 3.7 Flash measured
IFBenchNot measured72.3%Only GLM 5 measured
Long context reasoning (AA-LCR)83.0%75.7%Gemini 3.7 Flash
DTBench96.8%Not measuredOnly Gemini 3.7 Flash measured
LMCA50.4%Not measuredOnly Gemini 3.7 Flash measured
CL-benchNot measured18.7%Only GLM 5 measured
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text14891446Gemini 3.7 Flash
LMArena Text: instruction following14841428Gemini 3.7 Flash
LMArena Text: creative writing14881438Gemini 3.7 Flash
LMArena Vision1314Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: English14831458Gemini 3.7 Flash
LMArena Text: non-English14871430Gemini 3.7 Flash
LMArena Text: Chinese15521511Gemini 3.7 Flash
LMArena Text: German15061447Gemini 3.7 Flash
LMArena Text: Japanese15111416Gemini 3.7 Flash
LMArena Text: Korean14811423Gemini 3.7 Flash
LMArena Text: French15001456Gemini 3.7 Flash
LMArena Text: Spanish14951454Gemini 3.7 Flash
LMArena Text: Russian15151436Gemini 3.7 Flash
LMArena Text: Polish15031434Gemini 3.7 Flash
LMArena Text: multi-turn14851456Gemini 3.7 Flash
LMArena Text: longer queries14921446Gemini 3.7 Flash
LMArena Text: writing and language14911437Gemini 3.7 Flash
LMArena Text: entertainment and media14771426Gemini 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 14 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
BenchmarkGemini 3.7 FlashGLM 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 3.7 Flash$0.0026Fits in one request
GLM 5$0.0026Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

Gemini 3.7 Flash$0.049Fits in one request
GLM 5$0.060Fits 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$0.232Exceeds 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
SpecificationGoogle Gemini 3.7 FlashZ.ai GLM 5
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedAugust 13, 2026February 11, 2026
Context window1.05M205K
Input $/Mtok$0.75$1.00
Output $/Mtok$3.75$3.20
Coding index58.041.7
Independent measurements behind it63
Cost per solved task$1.78$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.7 Flash better than GLM 5 for coding?

Pick Gemini 3.7 Flash for coding: it scores 58.0 on the Vibe Coding Index against 41.7 for GLM 5. Pick GLM 5 for output tokens 1.2x cheaper ($3.20 vs $3.75 per million) and a lower cost per solved task ($0.63 against $1.78).

Which is cheaper, Gemini 3.7 Flash or GLM 5?

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and GLM 5 $0.63.

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

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

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

60 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'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" title="Gemini 3.7 Flash 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-3-7-flash-vs-glm-5">LLMBenchmark.ai, Gemini 3.7 Flash vs GLM 5</a></p>