Enter opens the highlighted result. Esc closes.

Gemini 3 Flash Preview vs GLM 5.2

GLM 5.2 leads Gemini 3 Flash Preview on coding, 61.1 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; 49 benchmarks have a result for both.

Gemini 3 Flash PreviewGoogle
Coding
43.7
Overall
55.0
Output $/M
$3.00
18
GLM 5.2Z.ai
Coding
61.1
Overall
62.5
Output $/M
$4.40
31
vs boards won of 49 shared

Gemini 3 Flash Preview or GLM 5.2: which to pick

Pick GLM 5.2 for coding: it scores 61.1 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.86).

Shared results
49
Gemini 3 Flash Preview only
22
GLM 5.2 only
49
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.2 61.1 from 4 benchmarks.
Widest category
Agentic work, 16.7 points apart on average over 11 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3 Flash Preview 20.2% against GLM 5.2 64.0%, 43.8 points apart on a 0 to 100 scale.
Output price
Gemini 3 Flash Preview $3.00 against GLM 5.2 $4.40 per million output tokens, 1.5x 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 Flash PreviewBarsGLM 5.2Ties
Coding27
Intelligence01
Agentic work110
Reasoning72
Math13
Knowledge60
Web design04
General14
All shared boards1831
CodingLike-for-likeSix of these boards feed the Vibe Coding Index27
Coding benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
SWE-bench Verified75.8%Not measuredOnly Gemini 3 Flash Preview measured
LMArena WebDevNot measured1604Only GLM 5.2 measured
AA Coding IndexNot measured68.8Only GLM 5.2 measured
LiveCodeBench (Vals AI)85.6%69.5%Gemini 3 Flash Preview
SWE-bench Verified (Vals AI)75.0%82.8%GLM 5.2
Vibe Code Bench (Vals AI)20.2%64.0%GLM 5.2
Code migration (Vals AI)6.4%37.9%GLM 5.2
ProgramBench (Vals AI)0.0%0.5%GLM 5.2
Terminal-Bench 2.1 (Vals AI)53.9%67.8%GLM 5.2
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
LiveCodeBench (Artificial Analysis run)90.8%Not measuredOnly Gemini 3 Flash Preview measured
SciCodeNot measured51.2%Only GLM 5.2 measured
Terminal-Bench Hard (Artificial Analysis run)38.6%50.8%GLM 5.2
Terminal-Bench64.3%Not measuredOnly Gemini 3 Flash Preview measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
GSO-Bench9.8%Not measuredOnly Gemini 3 Flash Preview measured
WeirdML61.6%70.1%GLM 5.2
ALE-Bench1367.21047.0Gemini 3 Flash Preview
LMArena Text: codingNot measured1487Only GLM 5.2 measured
LMArena Text: software and ITNot measured1486Only GLM 5.2 measured
LMArena WebDev: ReactNot measured1617Only GLM 5.2 measured
LMArena WebDev: HTMLNot measured1565Only GLM 5.2 measured
SciCode12.7%Not measuredOnly Gemini 3 Flash Preview measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
AA Intelligence Index26.333.7GLM 5.2
Epoch Capabilities IndexNot measured151.9Only GLM 5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index110
Agentic work benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
AA Agentic IndexNot measured38.4Only GLM 5.2 measured
Design Arena: agents building web apps11111222GLM 5.2
Design Arena: agents building full-stack apps10631241GLM 5.2
Design Arena: agents building mobile apps10901159GLM 5.2
Design Arena: agents building Android apps10511178GLM 5.2
Design Arena: agents building Godot games11611142Gemini 3 Flash Preview
Design Arena: agents building gamesNot measured1206Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1125Only GLM 5.2 measured
Design Arena: PowerPoint slides10361170GLM 5.2
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)42.5%49.7%GLM 5.2
Tax Agent Bench (Vals AI)11.8%Not measuredOnly Gemini 3 Flash Preview measured
Legal Research Bench (Vals AI)18.3%31.3%GLM 5.2
Excel Modeling Benchmark (Vals AI)26.0%61.5%GLM 5.2
τ²-Bench Telecom80.4%99.1%GLM 5.2
APEX-AgentsNot measured45.2%Only GLM 5.2 measured
BALROG48.1%Not measuredOnly Gemini 3 Flash Preview measured
DeepResearch Bench49.8%Not measuredOnly Gemini 3 Flash Preview measured
PostTrainBenchNot measured31.7%Only GLM 5.2 measured
Vending-Bench 2$3,635$8,314GLM 5.2
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index72
Reasoning benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
GPQA Diamond87.9%85.6%Gemini 3 Flash Preview
MMMU Pro (Vals AI)87.6%Not measuredOnly Gemini 3 Flash Preview measured
GPQA Diamond (Artificial Analysis run)89.8%89.5%Gemini 3 Flash Preview
Humanity's Last Exam (Artificial Analysis run)36.6%41.1%GLM 5.2
GPQA Diamond (Epoch AI run)89.4%91.9%GLM 5.2
ARC-AGI84.7%77.0%Gemini 3 Flash Preview
ARC-AGI-233.6%22.8%Gemini 3 Flash Preview
SimpleBench61.1%58.8%Gemini 3 Flash Preview
Chess puzzles39.0%22.0%Gemini 3 Flash Preview
Mystery game puzzles26.0%19.0%Gemini 3 Flash Preview
EBR-benchNot measured9.5%Only GLM 5.2 measured
VPCT72.6%Not measuredOnly Gemini 3 Flash Preview measured
LMArena Text: hard promptsNot measured1481Only GLM 5.2 measured
LMArena Text: expertNot measured1487Only GLM 5.2 measured
LMArena Text: hard prompts in EnglishNot measured1481Only GLM 5.2 measured
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index13
Math benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
AIME95.6%Not measuredOnly Gemini 3 Flash Preview measured
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%86.4%Gemini 3 Flash Preview
FrontierMath, tiers 1 to 351.2%59.2%GLM 5.2
FrontierMath, tier 417.1%29.3%GLM 5.2
ProofBench15.0%35.0%GLM 5.2
LMArena Text: mathNot measured1483Only GLM 5.2 measured
LMArena Text: mathematical workNot measured1489Only GLM 5.2 measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index60
Knowledge benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
MMLU Pro88.6%86.7%Gemini 3 Flash Preview
LegalBench (Vals AI)86.9%84.1%Gemini 3 Flash Preview
CaseLaw (Vals AI)55.8%Not measuredOnly Gemini 3 Flash Preview measured
CorpFin (Vals AI)66.4%66.1%Gemini 3 Flash Preview
TaxEval (Vals AI)73.9%73.3%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%40.8%Gemini 3 Flash Preview
MMLU Pro (Artificial Analysis run)89.0%Not measuredOnly Gemini 3 Flash Preview measured
SimpleQA Verified66.8%34.2%Gemini 3 Flash Preview
GeoBench88.0%Not measuredOnly Gemini 3 Flash Preview measured
LMArena Text: scienceNot measured1489Only GLM 5.2 measured
LMArena Text: medicine and healthcareNot measured1475Only GLM 5.2 measured
LMArena Text: legal and governmentNot measured1486Only GLM 5.2 measured
LMArena Text: business and financeNot measured1451Only GLM 5.2 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.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
Design Arena: websites11961285GLM 5.2
Design Arena: UI componentsNot measured1294Only GLM 5.2 measured
Design Arena: game dev11661268GLM 5.2
Design Arena: data vizNot measured1285Only GLM 5.2 measured
Design Arena: 3D11831287GLM 5.2
Design Arena: all code categories11891287GLM 5.2
Design Arena: SVGNot measured1213Only GLM 5.2 measured
Design Arena: ASCII artNot measured1191Only GLM 5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index14
General benchmarks for Gemini 3 Flash Preview and GLM 5.2
BenchmarkGemini 3 Flash PreviewGLM 5.2Leader
SAGE (Vals AI)51.8%Not measuredOnly Gemini 3 Flash Preview measured
MedScribe (Vals AI)69.9%83.5%GLM 5.2
Vals Multimodal Index52.2%Not measuredOnly Gemini 3 Flash Preview measured
IFBench78.0%73.3%Gemini 3 Flash Preview
Long context reasoning (AA-LCR)78.0%78.3%GLM 5.2
DTBench89.1%93.6%GLM 5.2
LMCA43.1%45.8%GLM 5.2
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena TextNot measured1470Only GLM 5.2 measured
LMArena Text: instruction followingNot measured1466Only GLM 5.2 measured
LMArena Text: creative writingNot measured1463Only GLM 5.2 measured
LMArena Text: EnglishNot measured1475Only GLM 5.2 measured
LMArena Text: non-EnglishNot measured1459Only GLM 5.2 measured
LMArena Text: ChineseNot measured1522Only GLM 5.2 measured
LMArena Text: GermanNot measured1470Only GLM 5.2 measured
LMArena Text: JapaneseNot measured1450Only GLM 5.2 measured
LMArena Text: KoreanNot measured1440Only GLM 5.2 measured
LMArena Text: FrenchNot measured1479Only GLM 5.2 measured
LMArena Text: SpanishNot measured1478Only GLM 5.2 measured
LMArena Text: RussianNot measured1468Only GLM 5.2 measured
LMArena Text: PolishNot measured1456Only GLM 5.2 measured
LMArena Text: multi-turnNot measured1469Only GLM 5.2 measured
LMArena Text: longer queriesNot measured1480Only GLM 5.2 measured
LMArena Text: writing and languageNot measured1463Only GLM 5.2 measured
LMArena Text: entertainment and mediaNot measured1450Only GLM 5.2 measured
Neither model has a result on the other 21 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.2
BenchmarkGemini 3 Flash PreviewGLM 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 Flash Preview$0.0020Fits in one request
GLM 5.2$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.2$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.2$0.324Fits in one request

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.2
SpecificationGoogle Gemini 3 Flash PreviewZ.ai GLM 5.2
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedDecember 17, 2025June 16, 2026
Context window1.05M1.05M
Input $/Mtok$0.50$1.40
Output $/Mtok$3.00$4.40
Coding index43.761.1
Independent measurements behind it24
Cost per solved task$0.37$0.86
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GLM 5.2 for coding: it scores 61.1 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.86).

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

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

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

Neither: both take 1.05M tokens.

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

49 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.2's on 4. 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-2" title="Gemini 3 Flash Preview 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-flash-preview-vs-glm-5-2">LLMBenchmark.ai, Gemini 3 Flash Preview vs GLM 5.2</a></p>