Enter opens the highlighted result. Esc closes.

Gemini 3.5 Flash vs GLM 5.4

GLM 5.4 leads Gemini 3.5 Flash on coding, 72.7 to 39.8 on the Vibe Coding Index, and GLM 5.4 costs 2.0x less per output token ($4.40 vs $9.00 per million). Updated December 3, 2026; 3 benchmarks have a result for both.

Gemini 3.5 FlashGoogle
Coding
39.8
Overall
67.2
Output $/M
$9.00
0
GLM 5.4Z.ai
Coding
72.7
Overall
No data
Output $/M
$4.40
3
vs boards won of 3 shared

Gemini 3.5 Flash or GLM 5.4: which to pick

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash, though on 2 benchmarks against 4.

Gemini 3.5 Flash is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
3
Gemini 3.5 Flash only
116
GLM 5.4 only
7
Like-for-like categories
1 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.5 Flash 39.8 from 4 benchmarks, GLM 5.4 72.7 from 2 benchmarks.
Widest category
Coding, 19.2 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena WebDev: Gemini 3.5 Flash 1500 against GLM 5.4 1690, 27.1 points apart on a 0 to 100 scale.
Output price
Gemini 3.5 Flash $9.00 against GLM 5.4 $4.40 per million output tokens, 2.0x apart.
Context window
Both take 1.05M tokens.

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.4Ties
Coding03
All shared boards03
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
LiveBench codingNot measured74.5%Only GLM 5.4 measured
LMArena WebDev15001690GLM 5.4
LiveCodeBench (Vals AI)87.6%Not measuredOnly Gemini 3.5 Flash measured
SWE-bench Verified (Vals AI)78.8%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 4 (Vals AI)6.1%Not measuredOnly Gemini 3.5 Flash measured
Vibe Code Bench (Vals AI)48.7%Not measuredOnly Gemini 3.5 Flash measured
Code migration (Vals AI)26.8%Not measuredOnly Gemini 3.5 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 2.1 (Vals AI)74.2%Not measuredOnly Gemini 3.5 Flash measured
SkillsBench (Vals AI)52.7%Not measuredOnly Gemini 3.5 Flash measured
SciCode53.9%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)46.2%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 4.0 (Artificial Analysis run)6.6%Not measuredOnly Gemini 3.5 Flash measured
WeirdML62.6%Not measuredOnly Gemini 3.5 Flash measured
ALE-Bench911.0Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: coding1493Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: software and IT1494Not measuredOnly Gemini 3.5 Flash measured
LMArena WebDev: React14941739GLM 5.4
LMArena WebDev: HTML15231675GLM 5.4
LMArena WebDev: from an image1505Not measuredOnly Gemini 3.5 Flash measured
SciCode12.3%Not measuredOnly Gemini 3.5 Flash measured
GameBench 263.4Not measuredOnly Gemini 3.5 Flash measured
ProgramBench0.0%Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 29 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
Epoch Capabilities Index155.3Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index22 boards, none shared
Agentic work benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
Design Arena: agents building web apps1166Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building full-stack apps1243Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building mobile apps1167Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building Android apps1157Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building Godot games1075Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building games1127Not measuredOnly Gemini 3.5 Flash measured
Design Arena: HTML slides1044Not measuredOnly Gemini 3.5 Flash measured
Design Arena: PowerPoint slides1144Not measuredOnly Gemini 3.5 Flash measured
Design Arena: spreadsheets1016Not measuredOnly Gemini 3.5 Flash measured
LiveBench researchNot measured86.0%Only GLM 5.4 measured
LiveBench browserNot measured64.5%Only GLM 5.4 measured
LiveBench long agenticNot measured41.3%Only GLM 5.4 measured
Finance Agent (Vals AI)57.9%Not measuredOnly Gemini 3.5 Flash measured
Tax Agent Bench (Vals AI)21.6%Not measuredOnly Gemini 3.5 Flash measured
Legal Research Bench (Vals AI)30.8%Not measuredOnly Gemini 3.5 Flash measured
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%Not measuredOnly Gemini 3.5 Flash measured
APEX-Agents27.5%Not measuredOnly Gemini 3.5 Flash measured
Vending-Bench 2$5,396Not measuredOnly Gemini 3.5 Flash measured
MCP Atlas83.6%Not measuredOnly Gemini 3.5 Flash measured
Toolathlon-Verified67.3%Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 22 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
Reasoning benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
GPQA Diamond92.7%Not measuredOnly Gemini 3.5 Flash measured
LiveBench reasoningNot measured85.2%Only GLM 5.4 measured
MMMU Pro (Vals AI)88.3%Not measuredOnly Gemini 3.5 Flash measured
GPQA Diamond (Artificial Analysis run)92.2%Not measuredOnly Gemini 3.5 Flash measured
Humanity's Last Exam (Artificial Analysis run)42.7%Not measuredOnly Gemini 3.5 Flash measured
GPQA Diamond (Epoch AI run)92.8%Not measuredOnly Gemini 3.5 Flash measured
ARC-AGI92.5%Not measuredOnly Gemini 3.5 Flash measured
ARC-AGI-272.1%Not measuredOnly Gemini 3.5 Flash measured
SimpleBench76.7%Not measuredOnly Gemini 3.5 Flash measured
Chess puzzles45.0%Not measuredOnly Gemini 3.5 Flash measured
Mystery game puzzles32.0%Not measuredOnly Gemini 3.5 Flash measured
EBR-bench4.8%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts1489Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: expert1494Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts in English1483Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: diagrams1323Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: homework1327Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 9 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
OTIS Mock AIME95.6%Not measuredOnly Gemini 3.5 Flash measured
FrontierMath, tiers 1 to 362.8%Not measuredOnly Gemini 3.5 Flash measured
FrontierMath, tier 426.8%Not measuredOnly Gemini 3.5 Flash measured
ProofBench31.0%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: math1505Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: mathematical work1496Not measuredOnly Gemini 3.5 Flash measured
MathArena23.4%Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Knowledge benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
MMLU Pro89.5%Not measuredOnly Gemini 3.5 Flash measured
LegalBench (Vals AI)83.6%Not measuredOnly Gemini 3.5 Flash measured
CorpFin (Vals AI)64.7%Not measuredOnly Gemini 3.5 Flash measured
TaxEval (Vals AI)74.4%Not measuredOnly Gemini 3.5 Flash measured
MortgageTax (Vals AI)68.1%Not measuredOnly Gemini 3.5 Flash measured
MedCode (Vals AI)55.8%Not measuredOnly Gemini 3.5 Flash measured
SimpleQA Verified66.2%Not measuredOnly Gemini 3.5 Flash measured
GeoBench85.0%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: science1495Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: medicine and healthcare1484Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: legal and government1486Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: business and finance1467Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 9 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
Design Arena: websites1309Not measuredOnly Gemini 3.5 Flash measured
Design Arena: UI components1259Not measuredOnly Gemini 3.5 Flash measured
Design Arena: game dev1230Not measuredOnly Gemini 3.5 Flash measured
Design Arena: data viz1233Not measuredOnly Gemini 3.5 Flash measured
Design Arena: 3D1207Not measuredOnly Gemini 3.5 Flash measured
Design Arena: all code categories1310Not measuredOnly Gemini 3.5 Flash measured
Design Arena: SVG1297Not measuredOnly Gemini 3.5 Flash measured
Design Arena: ASCII art1231Not measuredOnly Gemini 3.5 Flash measured
LiveBench designNot measured74.2%Only GLM 5.4 measured
GeneralDirectional onlyPublic boards, shown as published, kept out of the index35 boards, none shared
General benchmarks for Gemini 3.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
LiveBench data analysisNot measured72.2%Only GLM 5.4 measured
Public Benefits Bench (Vals AI)59.5%Not measuredOnly Gemini 3.5 Flash measured
MedScribe (Vals AI)76.6%Not measuredOnly Gemini 3.5 Flash measured
Vals Multimodal Index62.9%Not measuredOnly Gemini 3.5 Flash measured
IFBench76.3%Not measuredOnly Gemini 3.5 Flash measured
Long context reasoning (AA-LCR)74.3%Not measuredOnly Gemini 3.5 Flash measured
GDPval-AA1211Not measuredOnly Gemini 3.5 Flash measured
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
LMArena Text1483Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: instruction following1467Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: creative writing1471Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision1307Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: English1481Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: non-English1477Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Chinese1527Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: German1491Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Japanese1492Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Korean1458Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: French1491Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Spanish1481Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Russian1494Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Polish1517Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: multi-turn1481Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: longer queries1483Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: writing and language1478Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: entertainment and media1459Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: English1304Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: Chinese1377Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: reading text1315Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: humor1327Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: creative writing1301Not measuredOnly Gemini 3.5 Flash measured
LMArena Document1461Not measuredOnly Gemini 3.5 Flash measured
EQ-Bench 41077Not measuredOnly Gemini 3.5 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.5 Flash and GLM 5.4
BenchmarkGemini 3.5 FlashGLM 5.4Leader
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.4$0.0036Fits in one request

GLM 5.4 costs less

Repository review

50K input + 3K output tokens

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

GLM 5.4 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.5 Flash$0.390Fits in one request
GLM 5.4$0.324Fits in one request

GLM 5.4 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.4
SpecificationGoogle Gemini 3.5 FlashZ.ai GLM 5.4
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedMay 19, 2026December 2, 2026
Context window1.05M1.05M
Input $/Mtok$1.50$1.40
Output $/Mtok$9.00$4.40
Coding index39.872.7
Independent measurements behind it42
Cost per solved task$1.21Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.5 Flash better than GLM 5.4 for coding?

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash, though on 2 benchmarks against 4. Gemini 3.5 Flash is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, Gemini 3.5 Flash or GLM 5.4?

Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GLM 5.4 costs $1.40 and $4.40. Cost per solved task is known for Gemini 3.5 Flash only.

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

Neither: both take 1.05M tokens.

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

3 benchmarks have a result for both models as of December 3, 2026. Gemini 3.5 Flash's coding index rests on 4 independent benchmarks and GLM 5.4's on 2. 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-5-flash-vs-glm-5-4" title="Gemini 3.5 Flash vs GLM 5.4, 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-5-flash-vs-glm-5-4">LLMBenchmark.ai, Gemini 3.5 Flash vs GLM 5.4</a></p>