Enter opens the highlighted result. Esc closes.

Gemini 3.5 Flash vs GLM 5.2

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

Gemini 3.5 FlashGoogle
Coding
36.2
Overall
66.1
Output $/M
$9.00
62
GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
36
vs boards won of 99 shared, 1 tied

Gemini 3.5 Flash or GLM 5.2: which to pick

Pick GLM 5.2 for coding: it scores 59.7 on the Vibe Coding Index against 36.2 for Gemini 3.5 Flash.

Pick Gemini 3.5 Flash for work measured by LiveCodeBench (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.

Shared results
99
Gemini 3.5 Flash only
19
GLM 5.2 only
12
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.5 Flash 36.2 from 3 benchmarks, GLM 5.2 59.7 from 3 benchmarks.
Widest category
Reasoning, 10.6 points apart on average over 13 shared benchmarks.
Widest single gap
ARC-AGI-2: Gemini 3.5 Flash 72.1% against GLM 5.2 22.8%, 49.3 points apart on a 0 to 100 scale.
Output price
Gemini 3.5 Flash $9.00 against GLM 5.2 $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.2Ties
Coding891 tie
Intelligence10
Agentic work611
Reasoning121
Math52
Knowledge73
Web design26
General214
All shared boards62361 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index89
Coding benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
LMArena WebDev15001608GLM 5.2
LiveCodeBench (Vals AI)87.6%69.5%Gemini 3.5 Flash
SWE-bench Verified (Vals AI)78.8%82.8%GLM 5.2
Terminal-Bench 4 (Vals AI)6.1%Not measuredOnly Gemini 3.5 Flash measured
Code migration (Vals AI)26.8%37.9%GLM 5.2
ProgramBench (Vals AI)0.0%0.5%GLM 5.2
Terminal-Bench 2.1 (Vals AI)74.2%67.8%Gemini 3.5 Flash
SkillsBench (Vals AI)52.7%45.1%Gemini 3.5 Flash
SciCode53.9%51.2%Gemini 3.5 Flash
Terminal-Bench Hard (Artificial Analysis run)46.2%50.8%GLM 5.2
Terminal-Bench 4.0 (Artificial Analysis run)6.6%1.0%Gemini 3.5 Flash
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdML62.6%70.1%GLM 5.2
MirrorCodeNot measured36.7%Only GLM 5.2 measured
ALE-Bench911.01047.0GLM 5.2
LMArena Text: coding14931488Gemini 3.5 Flash
LMArena Text: software and IT14941487Gemini 3.5 Flash
LMArena WebDev: React14941621GLM 5.2
LMArena WebDev: HTML15221567GLM 5.2
LMArena WebDev: from an image1505Not measuredOnly Gemini 3.5 Flash measured
SciCode12.3%Not measuredOnly Gemini 3.5 Flash measured
SWE Atlas: Codebase QnANot measured48.1%Only GLM 5.2 measured
SWE Atlas: RefactoringNot measured42.4%Only GLM 5.2 measured
SWE Atlas: Test WritingNot measured41.5%Only GLM 5.2 measured
GameBench 263.249.9Gemini 3.5 Flash
Terminal-Bench 3.0Not measured4.6%Only GLM 5.2 measured
ProgramBench0.0%0.0%Tie
Neither model has a result on the other 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
Epoch Capabilities Index155.3153.0Gemini 3.5 Flash
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index611
Agentic work benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
Design Arena: agents building web apps11621184GLM 5.2
Design Arena: agents building full-stack apps12441288GLM 5.2
Design Arena: agents building mobile apps11671152Gemini 3.5 Flash
Design Arena: agents building Android apps11661162Gemini 3.5 Flash
Design Arena: agents building Godot games10681142GLM 5.2
Design Arena: agents building games11271156GLM 5.2
Design Arena: HTML slides10451077GLM 5.2
Design Arena: PowerPoint slides11441157GLM 5.2
Design Arena: spreadsheets10321123GLM 5.2
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)57.9%49.7%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%31.3%GLM 5.2
Excel Modeling Benchmark (Vals AI)63.5%61.5%Gemini 3.5 Flash
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly Gemini 3.5 Flash measured
τ²-Bench Telecom95.6%99.1%GLM 5.2
APEX-Agents27.5%45.2%GLM 5.2
PostTrainBenchNot measured30.4%Only GLM 5.2 measured
Vending-Bench 2$5,396$8,314GLM 5.2
MCP Atlas83.6%77.8%Gemini 3.5 Flash
Toolathlon-Verified67.3%59.9%Gemini 3.5 Flash
τ³-BankingNot measured37.1%Only GLM 5.2 measured
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index121
Reasoning benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
GPQA Diamond92.7%85.6%Gemini 3.5 Flash
MMMU Pro (Vals AI)88.3%Not measuredOnly Gemini 3.5 Flash measured
GPQA Diamond (Artificial Analysis run)92.2%89.5%Gemini 3.5 Flash
Humanity's Last Exam (Artificial Analysis run)42.7%41.1%Gemini 3.5 Flash
HLE-Diamond (Artificial Analysis run)Not measured17.7%Only GLM 5.2 measured
GPQA Diamond (Epoch AI run)92.8%91.9%Gemini 3.5 Flash
ARC-AGI92.5%77.0%Gemini 3.5 Flash
ARC-AGI-272.1%22.8%Gemini 3.5 Flash
SimpleBench76.7%58.8%Gemini 3.5 Flash
Chess puzzles45.0%22.0%Gemini 3.5 Flash
Mystery game puzzles32.0%19.0%Gemini 3.5 Flash
EBR-bench4.8%9.5%GLM 5.2
LMArena Text: hard prompts14891481Gemini 3.5 Flash
LMArena Text: expert14941488Gemini 3.5 Flash
LMArena Text: hard prompts in English14831481Gemini 3.5 Flash
LMArena Vision: diagrams1323Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: homework1327Not measuredOnly Gemini 3.5 Flash measured
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index52
Math benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
OTIS Mock AIME95.6%86.4%Gemini 3.5 Flash
FrontierMath, tiers 1 to 362.8%59.2%Gemini 3.5 Flash
FrontierMath, tier 426.8%29.3%GLM 5.2
ProofBench31.0%35.0%GLM 5.2
LMArena Text: math15051485Gemini 3.5 Flash
LMArena Text: mathematical work14961490Gemini 3.5 Flash
MathArena23.4%21.1%Gemini 3.5 Flash
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index73
Knowledge benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
MMLU Pro89.5%86.7%Gemini 3.5 Flash
LegalBench (Vals AI)83.6%84.1%GLM 5.2
CorpFin (Vals AI)64.7%66.1%GLM 5.2
TaxEval (Vals AI)74.4%73.3%Gemini 3.5 Flash
MortgageTax (Vals AI)68.1%Not measuredOnly Gemini 3.5 Flash measured
MedCode (Vals AI)55.8%40.8%Gemini 3.5 Flash
AA-OmniscienceNot measured0.6Only GLM 5.2 measured
SimpleQA Verified66.2%34.2%Gemini 3.5 Flash
GeoBench85.0%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: science14951489Gemini 3.5 Flash
LMArena Text: medicine and healthcare14841476Gemini 3.5 Flash
LMArena Text: legal and government14861490GLM 5.2
LMArena Text: business and finance14671450Gemini 3.5 Flash
Neither model has a result on the other 8 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.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
Design Arena: websites13091323GLM 5.2
Design Arena: UI components12561271GLM 5.2
Design Arena: game dev12301234GLM 5.2
Design Arena: data viz12311275GLM 5.2
Design Arena: 3D12041247GLM 5.2
Design Arena: all code categories13101328GLM 5.2
Design Arena: SVG12981245Gemini 3.5 Flash
Design Arena: ASCII art12281174Gemini 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 index214
General benchmarks for Gemini 3.5 Flash and GLM 5.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
Public Benefits Bench (Vals AI)59.5%Not measuredOnly Gemini 3.5 Flash measured
MedScribe (Vals AI)76.6%83.5%GLM 5.2
Vals Multimodal Index62.9%Not measuredOnly Gemini 3.5 Flash measured
IFBench76.3%73.3%Gemini 3.5 Flash
Long context reasoning (AA-LCR)74.3%78.3%GLM 5.2
GDPval-AA12141383GLM 5.2
DTBench94.7%93.6%Gemini 3.5 Flash
LMCA47.1%45.8%Gemini 3.5 Flash
Surface Evolver Bench58.1%55.6%Gemini 3.5 Flash
LMArena Text14831470Gemini 3.5 Flash
LMArena Text: instruction following14671467Gemini 3.5 Flash
LMArena Text: creative writing14711460Gemini 3.5 Flash
LMArena Vision1307Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: English14811475Gemini 3.5 Flash
LMArena Text: non-English14771458Gemini 3.5 Flash
LMArena Text: Chinese15271523Gemini 3.5 Flash
LMArena Text: German14911467Gemini 3.5 Flash
LMArena Text: Japanese14921452Gemini 3.5 Flash
LMArena Text: Korean14581430Gemini 3.5 Flash
LMArena Text: French14911477Gemini 3.5 Flash
LMArena Text: Spanish14811480Gemini 3.5 Flash
LMArena Text: Russian14941466Gemini 3.5 Flash
LMArena Text: Polish15171459Gemini 3.5 Flash
LMArena Text: multi-turn14811470Gemini 3.5 Flash
LMArena Text: longer queries14831479Gemini 3.5 Flash
LMArena Text: writing and language14781462Gemini 3.5 Flash
LMArena Text: entertainment and media14591448Gemini 3.5 Flash
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 410771208GLM 5.2
Neither model has a result on the other 15 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.2
BenchmarkGemini 3.5 FlashGLM 5.2Leader
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.2$0.0036Fits in one request

GLM 5.2 costs less

Repository review

50K input + 3K output tokens

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

GLM 5.2 costs less

Agent loop

200K input + 10K output tokens

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

GLM 5.2 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.2
SpecificationGoogle Gemini 3.5 FlashZ.ai GLM 5.2
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedMay 19, 2026June 16, 2026
Context window1.05M1.05M
Input $/Mtok$1.50$1.40
Output $/Mtok$9.00$4.40
Coding index36.259.7
Independent measurements behind it33
Cost per solved task$1.21$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.5 Flash better than GLM 5.2 for coding?

Pick GLM 5.2 for coding: it scores 59.7 on the Vibe Coding Index against 36.2 for Gemini 3.5 Flash. Pick Gemini 3.5 Flash for work measured by LiveCodeBench (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.

Which is cheaper, Gemini 3.5 Flash or GLM 5.2?

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

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

Neither: both take 1.05M tokens.

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

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