Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GLM 5

GLM 5 leads Gemini 2.5 Flash on the Artificial Analysis Intelligence Index, 27.9 to 15.5, and Gemini 2.5 Flash costs 1.3x less per output token ($2.50 vs $3.20 per million). Updated October 22, 2026; 50 benchmarks have a result for both.

Gemini 2.5 FlashGoogle
Coding
No data
Overall
34.3
Output $/M
$2.50
0
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
50
vs boards won of 50 shared

Gemini 2.5 Flash or GLM 5: which to pick

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Gemini 2.5 Flash has none, so the two cannot be ranked on coding.

Pick Gemini 2.5 Flash for output tokens 1.3x cheaper ($2.50 vs $3.20 per million) and a lower cost per solved task ($0.466 against $0.63).

Shared results
50
Gemini 2.5 Flash only
23
GLM 5 only
26
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 2.5 Flash not benchmarked, GLM 5 41.7 from 3 benchmarks.
Widest category
Agentic work, 45.5 points apart on average over 2 shared benchmarks.
Widest single gap
τ²-Bench Telecom: Gemini 2.5 Flash 31.6% against GLM 5 98.2%, 66.7 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GLM 5 $3.20 per million output tokens, 1.3x apart.
Context window
Gemini 2.5 Flash takes 1.05M tokens, GLM 5 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 2.5 FlashBarsGLM 5Ties
Coding05
Intelligence02
Agentic work02
Reasoning09
Math02
Knowledge04
Web design07
General019
All shared boards050
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
Coding benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
SWE-bench Verified28.7%72.8%GLM 5
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LMArena WebDevNot measured1435Only GLM 5 measured
LiveCodeBench (Vals AI)Not measured81.9%Only GLM 5 measured
SWE-bench Verified (Vals AI)Not measured71.4%Only GLM 5 measured
Vibe Code Bench (Vals AI)Not measured23.4%Only GLM 5 measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly Gemini 2.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)13.6%43.2%GLM 5
Terminal-Bench17.1%52.4%GLM 5
WeirdMLNot measured48.2%Only GLM 5 measured
ALE-BenchNot measured765.6Only GLM 5 measured
LMArena Text: coding14231461GLM 5
LMArena Text: software and IT14251460GLM 5
LMArena WebDev: ReactNot measured1424Only GLM 5 measured
LMArena WebDev: HTMLNot measured1450Only GLM 5 measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
AA Intelligence Index15.527.9GLM 5
Epoch Capabilities Index142.9145.8GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
Design Arena: agents building full-stack appsNot measured1123Only GLM 5 measured
Design Arena: agents building mobile appsNot measured1136Only GLM 5 measured
Design Arena: agents building Android appsNot measured1147Only GLM 5 measured
Design Arena: agents building Godot gamesNot measured1144Only GLM 5 measured
Design Arena: HTML slidesNot measured1098Only GLM 5 measured
τ²-Bench Telecom31.6%98.2%GLM 5
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549$4,432GLM 5
Berkeley Function Calling Leaderboard (BFCL)56.2%Not measuredOnly Gemini 2.5 Flash measured
BrowseComp-Plus39.9%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index09
Reasoning benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
GPQA DiamondNot measured83.3%Only GLM 5 measured
GPQA Diamond (Artificial Analysis run)79.0%82.0%GLM 5
Humanity's Last Exam (Artificial Analysis run)12.1%29.3%GLM 5
GPQA Diamond (Epoch AI run)Not measured87.8%Only GLM 5 measured
ARC-AGI33.3%44.7%GLM 5
ARC-AGI-22.5%4.9%GLM 5
SimpleBench41.2%53.2%GLM 5
LMArena Text: hard prompts14221452GLM 5
LMArena Text: expert14261454GLM 5
LMArena Text: hard prompts in English14201460GLM 5
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Kagi LLM Benchmark56.8%75.0%GLM 5
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
AIMENot measured91.7%Only GLM 5 measured
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 measured80.0%Only GLM 5 measured
LMArena Text: math14111440GLM 5
LMArena Text: mathematical work14221451GLM 5
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
MMLU ProNot measured86.0%Only GLM 5 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5 measured
CaseLaw (Vals AI)Not measured52.5%Only GLM 5 measured
CorpFin (Vals AI)Not measured62.9%Only GLM 5 measured
TaxEval (Vals AI)Not measured70.0%Only GLM 5 measured
MedQA (Vals AI)Not measured94.3%Only GLM 5 measured
MedCode (Vals AI)40.4%Not measuredOnly Gemini 2.5 Flash measured
MMLU Pro (Artificial Analysis run)83.2%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: science14331460GLM 5
LMArena Text: medicine and healthcare14281455GLM 5
LMArena Text: legal and government14301453GLM 5
LMArena Text: business and finance14041430GLM 5
FACTS Benchmark Suite47.2%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 5 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
BenchmarkGemini 2.5 FlashGLM 5Leader
Design Arena: websites10741247GLM 5
Design Arena: UI components10021227GLM 5
Design Arena: game dev10041234GLM 5
Design Arena: data viz10601228GLM 5
Design Arena: 3D10201228GLM 5
Design Arena: all code categories10591246GLM 5
Design Arena: SVG10201168GLM 5
Design Arena: ASCII artNot measured1147Only GLM 5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for Gemini 2.5 Flash and GLM 5
BenchmarkGemini 2.5 FlashGLM 5Leader
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%Not measuredOnly Gemini 2.5 Flash measured
IFBench50.3%72.3%GLM 5
Long context reasoning (AA-LCR)65.3%75.7%GLM 5
DTBench76.5%Not measuredOnly Gemini 2.5 Flash measured
LMCA27.5%Not measuredOnly Gemini 2.5 Flash measured
CL-benchNot measured18.7%Only GLM 5 measured
LMArena Text14171446GLM 5
LMArena Text: instruction following14051428GLM 5
LMArena Text: creative writing14001438GLM 5
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English14181458GLM 5
LMArena Text: non-English14091430GLM 5
LMArena Text: Chinese14491511GLM 5
LMArena Text: German14171447GLM 5
LMArena Text: Japanese13961416GLM 5
LMArena Text: Korean13851423GLM 5
LMArena Text: French14321456GLM 5
LMArena Text: Spanish14221454GLM 5
LMArena Text: Russian14151436GLM 5
LMArena Text: Polish14131434GLM 5
LMArena Text: multi-turn14081456GLM 5
LMArena Text: longer queries14191446GLM 5
LMArena Text: writing and language14051437GLM 5
LMArena Text: entertainment and media13931426GLM 5
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
BenchmarkGemini 2.5 FlashGLM 5Leader
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$0.0026Fits 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$0.060Fits 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$0.232Exceeds the context window

Gemini 2.5 Flash 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
SpecificationGoogle Gemini 2.5 FlashZ.ai GLM 5
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025February 11, 2026
Context window1.05M205K
Input $/Mtok$0.30$1.00
Output $/Mtok$2.50$3.20
Coding indexNot benchmarked41.7
Independent measurements behind it03
Cost per solved task$0.466$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Flash better than GLM 5 for coding?

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Gemini 2.5 Flash has none, so the two cannot be ranked on coding. Pick Gemini 2.5 Flash for output tokens 1.3x cheaper ($2.50 vs $3.20 per million) and a lower cost per solved task ($0.466 against $0.63).

Which is cheaper, Gemini 2.5 Flash or GLM 5?

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Gemini 2.5 Flash costs $0.466 and GLM 5 $0.63.

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

Gemini 2.5 Flash, with 1.05M tokens against 205K.

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

50 benchmarks have a result for both models as of October 22, 2026. Gemini 2.5 Flash's coding index rests on 0 independent benchmarks and GLM 5's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next