Enter opens the highlighted result. Esc closes.

GLM 5.1 vs GLM 5.3 Flash

GLM 5.3 Flash leads GLM 5.1 on coding, 57.7 to 49.2 on the Vibe Coding Index, and GLM 5.3 Flash costs 8.8x less per output token ($0.50 vs $4.40 per million). Updated October 22, 2026; 67 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
15
GLM 5.3 FlashZ.ai
Coding
57.7
Overall
66.0
Output $/M
$0.50
51
vs boards won of 67 shared, 1 tied

GLM 5.1 or GLM 5.3 Flash: which to pick

Pick GLM 5.3 Flash for coding: it scores 57.7 on the Vibe Coding Index against 49.2 for GLM 5.1.

Pick GLM 5.1 for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.

Shared results
67
GLM 5.1 only
22
GLM 5.3 Flash only
35
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
GLM 5.1 49.2 from 3 benchmarks, GLM 5.3 Flash 57.7 from 6 benchmarks.
Widest category
Agentic work, 17.3 points apart on average over 4 shared benchmarks.
Widest single gap
AA Agentic Index: GLM 5.1 23.9 against GLM 5.3 Flash 50.9, 27.0 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against GLM 5.3 Flash $0.50 per million output tokens, 8.8x apart.
Context window
GLM 5.1 takes 205K tokens, GLM 5.3 Flash 1.05M.

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
CategoryGLM 5.1BarsGLM 5.3 FlashTies
Coding491 tie
Intelligence02
Agentic work04
Reasoning08
Math14
Knowledge25
Web design35
General514
All shared boards15511 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index49
Coding benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
LiveBench codingNot measured80.6%Only GLM 5.3 Flash measured
LMArena WebDev15081607GLM 5.3 Flash
AA Coding Index55.871.5GLM 5.3 Flash
LiveCodeBench (Vals AI)81.4%80.5%GLM 5.1
SWE-bench Verified (Vals AI)76.4%92.0%GLM 5.3 Flash
Terminal-Bench 4 (Vals AI)Not measured37.4%Only GLM 5.3 Flash measured
Vibe Code Bench (Vals AI)31.5%30.8%GLM 5.1
Code migration (Vals AI)25.8%20.5%GLM 5.1
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)Not measured52.5%Only GLM 5.3 Flash measured
Terminal-Bench 2.1 (Vals AI)56.9%62.9%GLM 5.3 Flash
Vibe Code Bench 1-100 (Vals AI)Not measured16.0%Only GLM 5.3 Flash measured
SkillsBench (Vals AI)Not measured40.2%Only GLM 5.3 Flash measured
CyberBench (Vals AI)Not measured67.9%Only GLM 5.3 Flash measured
SciCode44.8%51.6%GLM 5.3 Flash
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 measured
FrontierCodeNot measured31.8%Only GLM 5.3 Flash measured
FrontierSWENot measured18.1%Only GLM 5.3 Flash measured
WeirdML57.1%Not measuredOnly GLM 5.1 measured
ALE-Bench887.1303.6GLM 5.1
LMArena Text: coding14851507GLM 5.3 Flash
LMArena Text: software and IT14841500GLM 5.3 Flash
LMArena WebDev: React15051624GLM 5.3 Flash
LMArena WebDev: HTML15081577GLM 5.3 Flash
LMArena WebDev: from an imageNot measured1578Only GLM 5.3 Flash measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
AA Intelligence Index26.141.8GLM 5.3 Flash
Epoch Capabilities Index149.8153.1GLM 5.3 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
Agentic work benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
AA Agentic Index23.950.9GLM 5.3 Flash
Design Arena: agents building web apps1175Not measuredOnly GLM 5.1 measured
Design Arena: agents building full-stack apps1167Not measuredOnly GLM 5.1 measured
Design Arena: agents building mobile apps1162Not measuredOnly GLM 5.1 measured
Design Arena: agents building Android apps1182Not measuredOnly GLM 5.1 measured
Design Arena: agents building Godot games1053Not measuredOnly GLM 5.1 measured
Design Arena: agents building games1164Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1120Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides1163Not measuredOnly GLM 5.1 measured
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 measured
LiveBench researchNot measured70.1%Only GLM 5.3 Flash measured
LiveBench browserNot measured84.0%Only GLM 5.3 Flash measured
LiveBench long agenticNot measured28.4%Only GLM 5.3 Flash measured
SREBench (Vals AI)Not measured0.8%Only GLM 5.3 Flash measured
Finance Agent (Vals AI)44.8%57.9%GLM 5.3 Flash
Tax Agent Bench (Vals AI)Not measured31.6%Only GLM 5.3 Flash measured
Legal Research Bench (Vals AI)27.9%45.2%GLM 5.3 Flash
Harvey's Legal Agent Benchmark (Vals AI)Not measured10.4%Only GLM 5.3 Flash measured
Excel Modeling Benchmark (Vals AI)Not measured55.9%Only GLM 5.3 Flash measured
Terminal-Bench-Science (Vals AI)Not measured2.9%Only GLM 5.3 Flash measured
τ²-Bench Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%52.8%GLM 5.3 Flash
Vending-Bench 2$5,634Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
Reasoning benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
GPQA Diamond84.5%86.4%GLM 5.3 Flash
LiveBench reasoningNot measured77.6%Only GLM 5.3 Flash measured
MMMU Pro (Vals AI)Not measured86.0%Only GLM 5.3 Flash measured
GPQA Diamond (Artificial Analysis run)86.8%91.2%GLM 5.3 Flash
Humanity's Last Exam (Artificial Analysis run)30.1%39.9%GLM 5.3 Flash
GPQA Diamond (Epoch AI run)89.9%90.2%GLM 5.3 Flash
ARC-AGINot measured91.0%Only GLM 5.3 Flash measured
ARC-AGI-2Not measured65.8%Only GLM 5.3 Flash measured
SimpleBench55.1%Not measuredOnly GLM 5.1 measured
Chess puzzles20.0%21.0%GLM 5.3 Flash
Mystery game puzzlesNot measured8.0%Only GLM 5.3 Flash measured
LMArena Text: hard prompts14731490GLM 5.3 Flash
LMArena Text: expert14781511GLM 5.3 Flash
LMArena Text: hard prompts in English14821488GLM 5.3 Flash
LMArena Vision: diagramsNot measured1317Only GLM 5.3 Flash measured
LMArena Vision: homeworkNot measured1318Only GLM 5.3 Flash measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index14
Math benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%93.9%GLM 5.3 Flash
FrontierMath, tiers 1 to 336.8%55.8%GLM 5.3 Flash
FrontierMath, tier 4Not measured17.1%Only GLM 5.3 Flash measured
ProofBench22.2%21.0%GLM 5.1
LMArena Text: math14731503GLM 5.3 Flash
LMArena Text: mathematical work14701497GLM 5.3 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index25
Knowledge benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
MMLU Pro86.9%86.1%GLM 5.1
LegalBench (Vals AI)84.4%83.9%GLM 5.1
CaseLaw (Vals AI)51.5%Not measuredOnly GLM 5.1 measured
CorpFin (Vals AI)64.5%Not measuredOnly GLM 5.1 measured
TaxEval (Vals AI)71.2%75.6%GLM 5.3 Flash
MedCode (Vals AI)41.6%Not measuredOnly GLM 5.1 measured
SimpleQA Verified34.0%Not measuredOnly GLM 5.1 measured
LMArena Text: science14781484GLM 5.3 Flash
LMArena Text: medicine and healthcare14741475GLM 5.3 Flash
LMArena Text: legal and government14651473GLM 5.3 Flash
LMArena Text: business and finance14521460GLM 5.3 Flash
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index35
Web design benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
Design Arena: websites12901272GLM 5.1
Design Arena: UI components12921316GLM 5.3 Flash
Design Arena: game dev12651278GLM 5.3 Flash
Design Arena: data viz13661262GLM 5.1
Design Arena: 3D13361316GLM 5.1
Design Arena: all code categories12681282GLM 5.3 Flash
Design Arena: SVG12181285GLM 5.3 Flash
Design Arena: ASCII art11411267GLM 5.3 Flash
LiveBench designNot measured77.2%Only GLM 5.3 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index514
General benchmarks for GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
Vals IndexNot measured50.9%Only GLM 5.3 Flash measured
LiveBench data analysisNot measured76.4%Only GLM 5.3 Flash measured
Public Benefits Bench (Vals AI)61.8%Not measuredOnly GLM 5.1 measured
MedScribe (Vals AI)72.3%88.9%GLM 5.3 Flash
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%80.0%GLM 5.3 Flash
Surface Evolver BenchNot measured52.5%Only GLM 5.3 Flash measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631471GLM 5.3 Flash
LMArena Text: instruction following14531478GLM 5.3 Flash
LMArena Text: creative writing14531441GLM 5.1
LMArena VisionNot measured1294Only GLM 5.3 Flash measured
LMArena Text: English14761474GLM 5.1
LMArena Text: non-English14481462GLM 5.3 Flash
LMArena Text: Chinese15151531GLM 5.3 Flash
LMArena Text: German14671462GLM 5.1
LMArena Text: Japanese14351444GLM 5.3 Flash
LMArena Text: Korean14241436GLM 5.3 Flash
LMArena Text: French14701491GLM 5.3 Flash
LMArena Text: Spanish14681475GLM 5.3 Flash
LMArena Text: Russian14541465GLM 5.3 Flash
LMArena Text: Polish14491450GLM 5.3 Flash
LMArena Text: multi-turn14731469GLM 5.1
LMArena Text: longer queries14671481GLM 5.3 Flash
LMArena Text: writing and language14541455GLM 5.3 Flash
LMArena Text: entertainment and media14421440GLM 5.1
LMArena Vision: EnglishNot measured1295Only GLM 5.3 Flash measured
LMArena Vision: ChineseNot measured1363Only GLM 5.3 Flash measured
LMArena Vision: reading textNot measured1299Only GLM 5.3 Flash measured
LMArena Vision: humorNot measured1279Only GLM 5.3 Flash measured
LMArena Vision: creative writingNot measured1270Only GLM 5.3 Flash measured
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 GLM 5.1 and GLM 5.3 Flash
BenchmarkGLM 5.1GLM 5.3 FlashLeader
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

GLM 5.1$0.0036Fits in one request
GLM 5.3 Flash$0.0004Fits in one request

GLM 5.3 Flash costs less

Repository review

50K input + 3K output tokens

GLM 5.1$0.083Fits in one request
GLM 5.3 Flash$0.0090Fits in one request

GLM 5.3 Flash costs less

Agent loop

200K input + 10K output tokens

GLM 5.1$0.324Exceeds the context window
GLM 5.3 Flash$0.035Fits in one request

GLM 5.3 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 GLM 5.1 and GLM 5.3 Flash
SpecificationZ.ai GLM 5.1Z.ai GLM 5.3 Flash
MakerZ.aiZ.ai
WeightsOpen weightsOpen weights
ReleasedApril 7, 2026August 26, 2026
Context window205K1.05M
Input $/Mtok$1.40$0.15
Output $/Mtok$4.40$0.50
Coding index49.257.7
Independent measurements behind it36
Cost per solved task$0.60$0.02
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 better than GLM 5.3 Flash for coding?

Pick GLM 5.3 Flash for coding: it scores 57.7 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for work measured by LiveCodeBench (Vals AI) or Vibe Code Bench (Vals AI), where it leads.

Which is cheaper, GLM 5.1 or GLM 5.3 Flash?

GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; GLM 5.3 Flash costs $0.15 and $0.50. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and GLM 5.3 Flash $0.02.

Which has the bigger context window, GLM 5.1 or GLM 5.3 Flash?

GLM 5.3 Flash, with 1.05M tokens against 205K.

How many benchmarks is the GLM 5.1 vs GLM 5.3 Flash comparison based on?

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