Enter opens the highlighted result. Esc closes.

Gemini 3 Flash Preview vs GLM 5.1

GLM 5.1 leads Gemini 3 Flash Preview on coding, 49.2 to 43.7 on the Vibe Coding Index, and Gemini 3 Flash Preview costs 1.5x less per output token ($3.00 vs $4.40 per million). Updated October 22, 2026; 44 benchmarks have a result for both.

Gemini 3 Flash PreviewGoogle
Coding
43.7
Overall
55.0
Output $/M
$3.00
22
GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
21
vs boards won of 44 shared, 1 tied

Gemini 3 Flash Preview or GLM 5.1: which to pick

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 43.7 for Gemini 3 Flash Preview.

Pick Gemini 3 Flash Preview for output tokens 1.5x cheaper ($3.00 vs $4.40 per million) and a lower cost per solved task ($0.37 against $0.60).

Shared results
44
Gemini 3 Flash Preview only
27
GLM 5.1 only
45
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 Flash Preview 43.7 from 2 benchmarks, GLM 5.1 49.2 from 3 benchmarks.
Widest category
Web design, 13.3 points apart on average over 4 shared benchmarks.
Widest single gap
SimpleQA Verified: Gemini 3 Flash Preview 66.8% against GLM 5.1 34.0%, 32.8 points apart on a 0 to 100 scale.
Output price
Gemini 3 Flash Preview $3.00 against GLM 5.1 $4.40 per million output tokens, 1.5x apart.
Context window
Gemini 3 Flash Preview 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 Flash PreviewBarsGLM 5.1Ties
Coding351 tie
Intelligence10
Agentic work19
Reasoning51
Math31
Knowledge70
Web design04
General21
All shared boards22211 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index35
Coding benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
SWE-bench Verified75.8%Not measuredOnly Gemini 3 Flash Preview measured
LMArena WebDevNot measured1508Only GLM 5.1 measured
AA Coding IndexNot measured55.8Only GLM 5.1 measured
LiveCodeBench (Vals AI)85.6%81.4%Gemini 3 Flash Preview
SWE-bench Verified (Vals AI)75.0%76.4%GLM 5.1
Vibe Code Bench (Vals AI)20.2%31.5%GLM 5.1
Code migration (Vals AI)6.4%25.8%GLM 5.1
ProgramBench (Vals AI)0.0%0.0%Tie
Terminal-Bench 2.1 (Vals AI)53.9%56.9%GLM 5.1
LiveCodeBench (Artificial Analysis run)90.8%Not measuredOnly Gemini 3 Flash Preview measured
SciCodeNot measured44.8%Only GLM 5.1 measured
Terminal-Bench Hard (Artificial Analysis run)38.6%43.2%GLM 5.1
Terminal-Bench64.3%Not measuredOnly Gemini 3 Flash Preview measured
GSO-Bench9.8%Not measuredOnly Gemini 3 Flash Preview measured
WeirdML61.6%57.1%Gemini 3 Flash Preview
ALE-Bench1367.2887.1Gemini 3 Flash Preview
LMArena Text: codingNot measured1485Only GLM 5.1 measured
LMArena Text: software and ITNot measured1484Only GLM 5.1 measured
LMArena WebDev: ReactNot measured1505Only GLM 5.1 measured
LMArena WebDev: HTMLNot measured1508Only GLM 5.1 measured
SciCode12.7%Not measuredOnly Gemini 3 Flash Preview measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
AA Intelligence Index26.326.1Gemini 3 Flash Preview
Epoch Capabilities IndexNot measured149.8Only GLM 5.1 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index19
Agentic work benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
Design Arena: agents building web apps11111175GLM 5.1
Design Arena: agents building full-stack apps10631167GLM 5.1
Design Arena: agents building mobile apps10901162GLM 5.1
Design Arena: agents building Android apps10511182GLM 5.1
Design Arena: agents building Godot games11611053Gemini 3 Flash Preview
Design Arena: agents building gamesNot measured1164Only GLM 5.1 measured
Design Arena: HTML slidesNot measured1120Only GLM 5.1 measured
Design Arena: PowerPoint slides10361163GLM 5.1
Design Arena: spreadsheetsNot measured1315Only GLM 5.1 measured
Finance Agent (Vals AI)42.5%44.8%GLM 5.1
Tax Agent Bench (Vals AI)11.8%Not measuredOnly Gemini 3 Flash Preview measured
Legal Research Bench (Vals AI)18.3%27.9%GLM 5.1
Excel Modeling Benchmark (Vals AI)26.0%Not measuredOnly Gemini 3 Flash Preview measured
τ²-Bench Telecom80.4%97.7%GLM 5.1
APEX-AgentsNot measured40.9%Only GLM 5.1 measured
BALROG48.1%Not measuredOnly Gemini 3 Flash Preview measured
DeepResearch Bench49.8%Not measuredOnly Gemini 3 Flash Preview measured
Vending-Bench 2$3,635$5,634GLM 5.1
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index51
Reasoning benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
GPQA Diamond87.9%84.5%Gemini 3 Flash Preview
MMMU Pro (Vals AI)87.6%Not measuredOnly Gemini 3 Flash Preview measured
GPQA Diamond (Artificial Analysis run)89.8%86.8%Gemini 3 Flash Preview
Humanity's Last Exam (Artificial Analysis run)36.6%30.1%Gemini 3 Flash Preview
GPQA Diamond (Epoch AI run)89.4%89.9%GLM 5.1
ARC-AGI84.7%Not measuredOnly Gemini 3 Flash Preview measured
ARC-AGI-233.6%Not measuredOnly Gemini 3 Flash Preview measured
SimpleBench61.1%55.1%Gemini 3 Flash Preview
Chess puzzles39.0%20.0%Gemini 3 Flash Preview
Mystery game puzzles26.0%Not measuredOnly Gemini 3 Flash Preview measured
VPCT72.6%Not measuredOnly Gemini 3 Flash Preview measured
LMArena Text: hard promptsNot measured1473Only GLM 5.1 measured
LMArena Text: expertNot measured1478Only GLM 5.1 measured
LMArena Text: hard prompts in EnglishNot measured1482Only GLM 5.1 measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index31
Math benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
AIME95.6%91.9%Gemini 3 Flash Preview
MGSM (Vals AI)93.3%Not measuredOnly Gemini 3 Flash Preview measured
AA Math Index97.0Not measuredOnly Gemini 3 Flash Preview measured
AIME 2025 (Artificial Analysis run)97.0%Not measuredOnly Gemini 3 Flash Preview measured
OTIS Mock AIME95.6%93.3%Gemini 3 Flash Preview
FrontierMath, tiers 1 to 351.2%36.8%Gemini 3 Flash Preview
FrontierMath, tier 417.1%Not measuredOnly Gemini 3 Flash Preview measured
ProofBench15.0%22.2%GLM 5.1
LMArena Text: mathNot measured1473Only GLM 5.1 measured
LMArena Text: mathematical workNot measured1470Only GLM 5.1 measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index70
Knowledge benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
MMLU Pro88.6%86.9%Gemini 3 Flash Preview
LegalBench (Vals AI)86.9%84.4%Gemini 3 Flash Preview
CaseLaw (Vals AI)55.8%51.5%Gemini 3 Flash Preview
CorpFin (Vals AI)66.4%64.5%Gemini 3 Flash Preview
TaxEval (Vals AI)73.9%71.2%Gemini 3 Flash Preview
MortgageTax (Vals AI)68.7%Not measuredOnly Gemini 3 Flash Preview measured
MedQA (Vals AI)95.8%Not measuredOnly Gemini 3 Flash Preview measured
MedCode (Vals AI)55.9%41.6%Gemini 3 Flash Preview
MMLU Pro (Artificial Analysis run)89.0%Not measuredOnly Gemini 3 Flash Preview measured
SimpleQA Verified66.8%34.0%Gemini 3 Flash Preview
GeoBench88.0%Not measuredOnly Gemini 3 Flash Preview measured
LMArena Text: scienceNot measured1478Only GLM 5.1 measured
LMArena Text: medicine and healthcareNot measured1474Only GLM 5.1 measured
LMArena Text: legal and governmentNot measured1465Only GLM 5.1 measured
LMArena Text: business and financeNot measured1452Only GLM 5.1 measured
FACTS Benchmark Suite63.4%Not measuredOnly Gemini 3 Flash Preview measured
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index04
Web design benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
Design Arena: websites11961290GLM 5.1
Design Arena: UI componentsNot measured1292Only GLM 5.1 measured
Design Arena: game dev11661265GLM 5.1
Design Arena: data vizNot measured1366Only GLM 5.1 measured
Design Arena: 3D11831336GLM 5.1
Design Arena: all code categories11891268GLM 5.1
Design Arena: SVGNot measured1218Only GLM 5.1 measured
Design Arena: ASCII artNot measured1141Only GLM 5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index21
General benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 5.1Leader
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
SAGE (Vals AI)51.8%Not measuredOnly Gemini 3 Flash Preview measured
MedScribe (Vals AI)69.9%72.3%GLM 5.1
Vals Multimodal Index52.2%Not measuredOnly Gemini 3 Flash Preview measured
IFBench78.0%76.3%Gemini 3 Flash Preview
Long context reasoning (AA-LCR)78.0%73.7%Gemini 3 Flash Preview
DTBench89.1%Not measuredOnly Gemini 3 Flash Preview measured
LMCA43.1%Not measuredOnly Gemini 3 Flash Preview measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena TextNot measured1463Only GLM 5.1 measured
LMArena Text: instruction followingNot measured1453Only GLM 5.1 measured
LMArena Text: creative writingNot measured1453Only GLM 5.1 measured
LMArena Text: EnglishNot measured1476Only GLM 5.1 measured
LMArena Text: non-EnglishNot measured1448Only GLM 5.1 measured
LMArena Text: ChineseNot measured1515Only GLM 5.1 measured
LMArena Text: GermanNot measured1467Only GLM 5.1 measured
LMArena Text: JapaneseNot measured1435Only GLM 5.1 measured
LMArena Text: KoreanNot measured1424Only GLM 5.1 measured
LMArena Text: FrenchNot measured1470Only GLM 5.1 measured
LMArena Text: SpanishNot measured1468Only GLM 5.1 measured
LMArena Text: RussianNot measured1454Only GLM 5.1 measured
LMArena Text: PolishNot measured1449Only GLM 5.1 measured
LMArena Text: multi-turnNot measured1473Only GLM 5.1 measured
LMArena Text: longer queriesNot measured1467Only GLM 5.1 measured
LMArena Text: writing and languageNot measured1454Only GLM 5.1 measured
LMArena Text: entertainment and mediaNot measured1442Only GLM 5.1 measured
Neither model has a result on the other 20 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3 Flash Preview and GLM 5.1
BenchmarkGemini 3 Flash PreviewGLM 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 Flash Preview$0.0020Fits in one request
GLM 5.1$0.0036Fits in one request

Gemini 3 Flash Preview costs less

Repository review

50K input + 3K output tokens

Gemini 3 Flash Preview$0.034Fits in one request
GLM 5.1$0.083Fits in one request

Gemini 3 Flash Preview costs less

Agent loop

200K input + 10K output tokens

Gemini 3 Flash Preview$0.130Fits in one request
GLM 5.1$0.324Exceeds the context window

Gemini 3 Flash Preview 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 Flash Preview and GLM 5.1
SpecificationGoogle Gemini 3 Flash PreviewZ.ai GLM 5.1
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedDecember 17, 2025April 7, 2026
Context window1.05M205K
Input $/Mtok$0.50$1.40
Output $/Mtok$3.00$4.40
Coding index43.749.2
Independent measurements behind it23
Cost per solved task$0.37$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3 Flash Preview better than GLM 5.1 for coding?

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 43.7 for Gemini 3 Flash Preview. Pick Gemini 3 Flash Preview for output tokens 1.5x cheaper ($3.00 vs $4.40 per million) and a lower cost per solved task ($0.37 against $0.60).

Which is cheaper, Gemini 3 Flash Preview or GLM 5.1?

Gemini 3 Flash Preview costs $0.50 per million input tokens and $3.00 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3 Flash Preview costs $0.37 and GLM 5.1 $0.60.

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

Gemini 3 Flash Preview, with 1.05M tokens against 205K.

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

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