LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GLM 5.2

Updated October 21, 2026. 51 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 2.5 FlashGoogle
Coding
28.7
Overall
15.5
Output $/M
$2.50
0
GLM 5.2Z.ai
Coding
57.7
Overall
33.7
Output $/M
$7.00
51
vs boards won of 51 shared

Decision reading

Pick GLM 5.2 for coding: it scores 57.7 on the Vibe Coding Index against 28.7 for Gemini 2.5 Flash.

Pick Gemini 2.5 Flash when output tokens cost 2.8x less, or when a solved task costs $0.466 against $0.86.

Shared results
51
Gemini 2.5 Flash only
18
GLM 5.2 only
46
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 2.5 Flash 28.7 from 1 benchmark, GLM 5.2 57.7 from 1 benchmark.
Widest category
Agentic work, 58.0 points apart on average over 2 shared benchmarks.
Widest single gap
τ²-Bench Telecom: Gemini 2.5 Flash 31.6% against GLM 5.2 99.1%, 67.5 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GLM 5.2 $7.00 per million output tokens, 2.8x 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 2.5 FlashBarsGLM 5.2Ties
Coding03
Intelligence02
Agentic work02
Reasoning08
Math02
Knowledge05
Web design07
General022
All shared boards051
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
SWE-bench Verified28.7%Not measuredOnly Gemini 2.5 Flash measured
LMArena WebDevNot measured1604Only GLM 5.2 measured
AA Coding IndexNot measured68.8Only GLM 5.2 measured
LiveCodeBench (Vals AI)Not measured69.5%Only GLM 5.2 measured
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Vibe Code Bench (Vals AI)Not measured64.0%Only GLM 5.2 measured
Code migration (Vals AI)Not measured37.9%Only GLM 5.2 measured
ProgramBench (Vals AI)Not measured0.5%Only GLM 5.2 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only GLM 5.2 measured
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly Gemini 2.5 Flash measured
SciCodeNot measured51.2%Only GLM 5.2 measured
Terminal-Bench Hard (Artificial Analysis run)13.6%50.8%GLM 5.2
Terminal-Bench17.1%Not measuredOnly Gemini 2.5 Flash measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdMLNot measured70.1%Only GLM 5.2 measured
ALE-BenchNot measured1047.0Only GLM 5.2 measured
LMArena Text: coding14231487GLM 5.2
LMArena Text: software and IT14251486GLM 5.2
LMArena WebDev: ReactNot measured1617Only GLM 5.2 measured
LMArena WebDev: HTMLNot measured1565Only GLM 5.2 measured
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
AA Intelligence Index15.533.7GLM 5.2
Epoch Capabilities Index142.9151.9GLM 5.2
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
AA Agentic IndexNot measured38.4Only GLM 5.2 measured
Design Arena: agents building web appsNot measured1222Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1241Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1160Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1184Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1206Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1175Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1195Only GLM 5.2 measured
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)Not measured49.7%Only GLM 5.2 measured
Legal Research Bench (Vals AI)Not measured31.3%Only GLM 5.2 measured
Excel Modeling Benchmark (Vals AI)Not measured61.5%Only GLM 5.2 measured
τ²-Bench Telecom31.6%99.1%GLM 5.2
APEX-AgentsNot measured45.2%Only GLM 5.2 measured
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
PostTrainBenchNot measured31.7%Only GLM 5.2 measured
Vending-Bench 2$549$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 index08
Reasoning benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
GPQA DiamondNot measured85.6%Only GLM 5.2 measured
GPQA Diamond (Artificial Analysis run)79.0%89.5%GLM 5.2
Humanity's Last Exam (Artificial Analysis run)12.1%41.1%GLM 5.2
GPQA Diamond (Epoch AI run)Not measured91.9%Only GLM 5.2 measured
ARC-AGI33.3%77.0%GLM 5.2
ARC-AGI-22.5%22.8%GLM 5.2
SimpleBench41.2%58.8%GLM 5.2
Chess puzzlesNot measured22.0%Only GLM 5.2 measured
Mystery game puzzlesNot measured19.0%Only GLM 5.2 measured
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard prompts14221481GLM 5.2
LMArena Text: expert14261487GLM 5.2
LMArena Text: hard prompts in English14201481GLM 5.2
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
AA Math Index73.3Not measuredOnly Gemini 2.5 Flash measured
AIME 2025 (Artificial Analysis run)73.3%Not measuredOnly Gemini 2.5 Flash measured
OTIS Mock AIMENot measured86.4%Only GLM 5.2 measured
FrontierMath, tiers 1 to 3Not measured59.2%Only GLM 5.2 measured
FrontierMath, tier 4Not measured29.3%Only GLM 5.2 measured
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: math14111483GLM 5.2
LMArena Text: mathematical work14221489GLM 5.2
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
MMLU ProNot measured86.7%Only GLM 5.2 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5.2 measured
CorpFin (Vals AI)Not measured66.1%Only GLM 5.2 measured
TaxEval (Vals AI)Not measured73.3%Only GLM 5.2 measured
MedCode (Vals AI)40.4%40.8%GLM 5.2
MMLU Pro (Artificial Analysis run)83.2%Not measuredOnly Gemini 2.5 Flash measured
SimpleQA VerifiedNot measured34.2%Only GLM 5.2 measured
LMArena Text: science14331489GLM 5.2
LMArena Text: medicine and healthcare14281475GLM 5.2
LMArena Text: legal and government14301486GLM 5.2
LMArena Text: business and finance14041451GLM 5.2
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
Design Arena: websites10741285GLM 5.2
Design Arena: UI components10051296GLM 5.2
Design Arena: game dev10051268GLM 5.2
Design Arena: data viz10601285GLM 5.2
Design Arena: 3D10211288GLM 5.2
Design Arena: all code categories10591288GLM 5.2
Design Arena: SVG10181214GLM 5.2
Design Arena: ASCII artNot measured1190Only 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 index022
General benchmarks for Gemini 2.5 Flash and GLM 5.2
BenchmarkGemini 2.5 FlashGLM 5.2Leader
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%83.5%GLM 5.2
IFBench50.3%73.3%GLM 5.2
Long context reasoning (AA-LCR)65.3%78.3%GLM 5.2
DTBench76.5%93.6%GLM 5.2
LMCA27.5%45.8%GLM 5.2
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena Text14171470GLM 5.2
LMArena Text: instruction following14051466GLM 5.2
LMArena Text: creative writing14001463GLM 5.2
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English14181475GLM 5.2
LMArena Text: non-English14091459GLM 5.2
LMArena Text: Chinese14491522GLM 5.2
LMArena Text: German14171470GLM 5.2
LMArena Text: Japanese13961450GLM 5.2
LMArena Text: Korean13851440GLM 5.2
LMArena Text: French14321479GLM 5.2
LMArena Text: Spanish14221478GLM 5.2
LMArena Text: Russian14151468GLM 5.2
LMArena Text: Polish14131456GLM 5.2
LMArena Text: multi-turn14081469GLM 5.2
LMArena Text: longer queries14191480GLM 5.2
LMArena Text: writing and language14051463GLM 5.2
LMArena Text: entertainment and media13931450GLM 5.2
LMArena Vision: English1239Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.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 2.5 Flash and GLM 5.2
BenchmarkGemini 2.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 2.5 Flash$0.0015Fits in one request
GLM 5.2$0.0035Fits in one request

Gemini 2.5 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
GLM 5.2$0.023Fits in one request

Gemini 2.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
GLM 5.2$0.077Fits 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 2.5 Flash and GLM 5.2
SpecificationGoogle Gemini 2.5 FlashZ.ai GLM 5.2
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025June 16, 2026
Context window1.05M1.05M
Input $/Mtok$0.30$0.0341
Output $/Mtok$2.50$7.00
Coding index28.757.7
Independent measurements behind it11
Cost per solved task$0.466$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Flash better than GLM 5.2 for coding?

Pick GLM 5.2 for coding: it scores 57.7 on the Vibe Coding Index against 28.7 for Gemini 2.5 Flash. Pick Gemini 2.5 Flash when output tokens cost 2.8x less, or when a solved task costs $0.466 against $0.86.

Which is cheaper, Gemini 2.5 Flash or GLM 5.2?

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GLM 5.2 costs $0.0341 and $7.00. Per solved SWE-bench Verified task, Gemini 2.5 Flash costs $0.466 and GLM 5.2 $0.86.

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

Neither: both take 1.05M tokens.

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

51 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Flash's coding index rests on 1 independent benchmark and GLM 5.2's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next