Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash vs GLM 5

DeepSeek V4.1 Flash leads GLM 5 on coding, 62.5 to 41.7 on the Vibe Coding Index, and DeepSeek V4.1 Flash costs 3.8x less per output token ($0.84 vs $3.20 per million). Updated October 22, 2026; 50 benchmarks have a result for both.

DeepSeek V4.1 FlashDeepSeek
Coding
62.5
Overall
62.4
Output $/M
$0.84
45
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
5
vs boards won of 50 shared

DeepSeek V4.1 Flash or GLM 5: which to pick

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 41.7 for GLM 5.

Pick GLM 5 for work measured by AA Intelligence Index or LegalBench (Vals AI), where it leads.

Shared results
50
DeepSeek V4.1 Flash only
51
GLM 5 only
26
Like-for-like categories
7 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
DeepSeek V4.1 Flash 62.5 from 5 benchmarks, GLM 5 41.7 from 3 benchmarks.
Widest category
Coding, 23.7 points apart on average over 7 shared benchmarks.
Widest single gap
ARC-AGI-2: DeepSeek V4.1 Flash 72.9% against GLM 5 4.9%, 68.1 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash $0.84 against GLM 5 $3.20 per million output tokens, 3.8x apart.
Context window
DeepSeek V4.1 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
CategoryDeepSeek V4.1 FlashBarsGLM 5Ties
Coding70
Intelligence11
Reasoning70
Math30
Knowledge32
Web design80
General162
All shared boards455
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
SWE-bench VerifiedNot measured72.8%Only GLM 5 measured
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LiveBench coding90.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena WebDev16181435DeepSeek V4.1 Flash
LiveCodeBench (Vals AI)Not measured81.9%Only GLM 5 measured
SWE-bench Verified (Vals AI)Not measured71.4%Only GLM 5 measured
Terminal-Bench 4 (Vals AI)19.7%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench (Vals AI)84.7%23.4%DeepSeek V4.1 Flash
Code migration (Vals AI)45.6%Not measuredOnly DeepSeek V4.1 Flash measured
ProgramBench (Vals AI)0.5%Not measuredOnly DeepSeek V4.1 Flash measured
IOI (Vals AI)40.3%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench 2.1 (Vals AI)74.5%Not measuredOnly DeepSeek V4.1 Flash measured
SWE-bench Multimodal (Vals AI)46.5%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench 1-100 (Vals AI)16.4%Not measuredOnly DeepSeek V4.1 Flash measured
SkillsBench (Vals AI)69.8%Not measuredOnly DeepSeek V4.1 Flash measured
CyberBench (Vals AI)73.7%Not measuredOnly DeepSeek V4.1 Flash measured
SciCode51.9%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5 measured
Terminal-BenchNot measured52.4%Only GLM 5 measured
FrontierCode43.9%Not measuredOnly DeepSeek V4.1 Flash measured
WeirdMLNot measured48.2%Only GLM 5 measured
ALE-Bench1092.3765.6DeepSeek V4.1 Flash
LMArena Text: coding15021461DeepSeek V4.1 Flash
LMArena Text: software and IT14961460DeepSeek V4.1 Flash
LMArena WebDev: React16281424DeepSeek V4.1 Flash
LMArena WebDev: HTML16121450DeepSeek V4.1 Flash
LMArena WebDev: from an image1606Not measuredOnly DeepSeek V4.1 Flash measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
AA Intelligence Index24.727.9GLM 5
Epoch Capabilities Index155.9145.8DeepSeek V4.1 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index19 boards, none shared
Agentic work benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 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
LiveBench research86.8%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench browser84.0%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench long agentic40.1%Not measuredOnly DeepSeek V4.1 Flash measured
SREBench (Vals AI)0.8%Not measuredOnly DeepSeek V4.1 Flash measured
Finance Agent (Vals AI)53.5%Not measuredOnly DeepSeek V4.1 Flash measured
Tax Agent Bench (Vals AI)26.6%Not measuredOnly DeepSeek V4.1 Flash measured
Legal Research Bench (Vals AI)41.4%Not measuredOnly DeepSeek V4.1 Flash measured
Excel Modeling Benchmark (Vals AI)57.2%Not measuredOnly DeepSeek V4.1 Flash measured
BioMysteryBench (Vals AI)67.8%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench-Science (Vals AI)0.0%Not measuredOnly DeepSeek V4.1 Flash measured
Vals Science Index29.6%Not measuredOnly DeepSeek V4.1 Flash measured
τ²-Bench TelecomNot measured98.2%Only GLM 5 measured
APEX-Agents39.5%Not measuredOnly DeepSeek V4.1 Flash measured
Vending-Bench 2Not measured$4,432Only GLM 5 measured
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
GPQA DiamondNot measured83.3%Only GLM 5 measured
LiveBench reasoning86.7%Not measuredOnly DeepSeek V4.1 Flash measured
MysteryMechanism (Vals AI)21.2%Not measuredOnly DeepSeek V4.1 Flash measured
GPQA Diamond (Artificial Analysis run)Not measured82.0%Only GLM 5 measured
Humanity's Last Exam (Artificial Analysis run)39.2%29.3%DeepSeek V4.1 Flash
GPQA Diamond (Epoch AI run)89.8%87.8%DeepSeek V4.1 Flash
ARC-AGI94.5%44.7%DeepSeek V4.1 Flash
ARC-AGI-272.9%4.9%DeepSeek V4.1 Flash
SimpleBenchNot measured53.2%Only GLM 5 measured
Chess puzzles48.0%Not measuredOnly DeepSeek V4.1 Flash measured
Mystery game puzzles43.0%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: hard prompts14831452DeepSeek V4.1 Flash
LMArena Text: expert15011454DeepSeek V4.1 Flash
LMArena Text: hard prompts in English14881460DeepSeek V4.1 Flash
LMArena Vision: diagrams1297Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: homework1307Not measuredOnly DeepSeek V4.1 Flash measured
Kagi LLM BenchmarkNot measured75.0%Only GLM 5 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
AIMENot measured91.7%Only GLM 5 measured
OTIS Mock AIME98.3%80.0%DeepSeek V4.1 Flash
FrontierMath, tiers 1 to 367.4%Not measuredOnly DeepSeek V4.1 Flash measured
FrontierMath, tier 426.8%Not measuredOnly DeepSeek V4.1 Flash measured
ProofBench54.0%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: math14781440DeepSeek V4.1 Flash
LMArena Text: mathematical work14851451DeepSeek V4.1 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index32
Knowledge benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
MMLU ProNot measured86.0%Only GLM 5 measured
LegalBench (Vals AI)83.3%84.1%GLM 5
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)41.2%Not measuredOnly DeepSeek V4.1 Flash measured
SimpleQA Verified42.9%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: science14691460DeepSeek V4.1 Flash
LMArena Text: medicine and healthcare14841455DeepSeek V4.1 Flash
LMArena Text: legal and government14431453GLM 5
LMArena Text: business and finance14611430DeepSeek V4.1 Flash
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
Design Arena: websites13081247DeepSeek V4.1 Flash
Design Arena: UI components13121227DeepSeek V4.1 Flash
Design Arena: game dev13301234DeepSeek V4.1 Flash
Design Arena: data viz12911228DeepSeek V4.1 Flash
Design Arena: 3D13551228DeepSeek V4.1 Flash
Design Arena: all code categories13201246DeepSeek V4.1 Flash
Design Arena: SVG12451168DeepSeek V4.1 Flash
Design Arena: ASCII art12651147DeepSeek V4.1 Flash
LiveBench design79.2%Not measuredOnly DeepSeek V4.1 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index162
General benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 FlashGLM 5Leader
LiveBench data analysis79.3%Not measuredOnly DeepSeek V4.1 Flash measured
Public Benefits Bench (Vals AI)64.3%Not measuredOnly DeepSeek V4.1 Flash measured
SAGE (Vals AI)47.9%Not measuredOnly DeepSeek V4.1 Flash measured
MedScribe (Vals AI)85.5%Not measuredOnly DeepSeek V4.1 Flash measured
IFBenchNot measured72.3%Only GLM 5 measured
Long context reasoning (AA-LCR)84.0%75.7%DeepSeek V4.1 Flash
DTBench89.9%Not measuredOnly DeepSeek V4.1 Flash measured
LMCA47.0%Not measuredOnly DeepSeek V4.1 Flash measured
CL-benchNot measured18.7%Only GLM 5 measured
Surface Evolver Bench46.3%Not measuredOnly DeepSeek V4.1 Flash measured
Furniture assembly34.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text14641446DeepSeek V4.1 Flash
LMArena Text: instruction following14731428DeepSeek V4.1 Flash
LMArena Text: creative writing14371438GLM 5
LMArena Vision1278Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: English14731458DeepSeek V4.1 Flash
LMArena Text: non-English14491430DeepSeek V4.1 Flash
LMArena Text: Chinese15011511GLM 5
LMArena Text: German14701447DeepSeek V4.1 Flash
LMArena Text: Japanese14321416DeepSeek V4.1 Flash
LMArena Text: Korean14361423DeepSeek V4.1 Flash
LMArena Text: French14651456DeepSeek V4.1 Flash
LMArena Text: Spanish14591454DeepSeek V4.1 Flash
LMArena Text: Russian14671436DeepSeek V4.1 Flash
LMArena Text: Polish14571434DeepSeek V4.1 Flash
LMArena Text: multi-turn14611456DeepSeek V4.1 Flash
LMArena Text: longer queries14731446DeepSeek V4.1 Flash
LMArena Text: writing and language14501437DeepSeek V4.1 Flash
LMArena Text: entertainment and media14451426DeepSeek V4.1 Flash
LMArena Vision: English1288Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: Chinese1327Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: reading text1282Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: humor1260Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: creative writing1275Not measuredOnly DeepSeek V4.1 Flash measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for DeepSeek V4.1 Flash and GLM 5
BenchmarkDeepSeek V4.1 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

DeepSeek V4.1 Flash$0.0006Fits in one request
GLM 5$0.0026Fits in one request

DeepSeek V4.1 Flash costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash$0.014Fits in one request
GLM 5$0.060Fits in one request

DeepSeek V4.1 Flash costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash$0.053Fits in one request
GLM 5$0.232Exceeds the context window

DeepSeek V4.1 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 DeepSeek V4.1 Flash and GLM 5
SpecificationDeepSeek V4.1 FlashZ.ai GLM 5
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedSeptember 10, 2026February 11, 2026
Context window1.05M205K
Input $/Mtok$0.2225$1.00
Output $/Mtok$0.84$3.20
Coding index62.541.7
Independent measurements behind it53
Cost per solved taskNot computable$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4.1 Flash better than GLM 5 for coding?

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 41.7 for GLM 5. Pick GLM 5 for work measured by AA Intelligence Index or LegalBench (Vals AI), where it leads.

Which is cheaper, DeepSeek V4.1 Flash or GLM 5?

DeepSeek V4.1 Flash costs $0.2225 per million input tokens and $0.84 per million output tokens; GLM 5 costs $1.00 and $3.20. Cost per solved task is known for GLM 5 only.

Which has the bigger context window, DeepSeek V4.1 Flash or GLM 5?

DeepSeek V4.1 Flash, with 1.05M tokens against 205K.

How many benchmarks is the DeepSeek V4.1 Flash vs GLM 5 comparison based on?

50 benchmarks have a result for both models as of October 22, 2026. DeepSeek V4.1 Flash's coding index rests on 5 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

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/deepseek-v4-1-flash-vs-glm-5" title="DeepSeek V4.1 Flash vs GLM 5, 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/deepseek-v4-1-flash-vs-glm-5">LLMBenchmark.ai, DeepSeek V4.1 Flash vs GLM 5</a></p>