Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs GLM 5.4

GLM 5.4 leads DeepSeek V4.1 Flash 1017 on coding, 72.7 to 66.8 on the Vibe Coding Index, and DeepSeek V4.1 Flash 1017 costs 6.9x less per output token ($0.635 vs $4.40 per million). Updated December 3, 2026; 10 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
66.8
Overall
63.6
Output $/M
$0.635
6
GLM 5.4Z.ai
Coding
72.7
Overall
No data
Output $/M
$4.40
4
vs boards won of 10 shared

DeepSeek V4.1 Flash 1017 or GLM 5.4: which to pick

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 66.8 for DeepSeek V4.1 Flash 1017, though on 2 benchmarks against 4.

Pick DeepSeek V4.1 Flash 1017 for output tokens 6.9x cheaper ($0.635 vs $4.40 per million) and work measured by LiveBench coding or LMArena WebDev: HTML, where it leads.

Shared results
10
DeepSeek V4.1 Flash 1017 only
46
GLM 5.4 only
0
Like-for-like categories
5 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 1017 66.8 from 4 benchmarks, GLM 5.4 72.7 from 2 benchmarks.
Widest category
General, 7.3 points apart on average over 1 shared benchmark.
Widest single gap
LiveBench research: DeepSeek V4.1 Flash 1017 78.6% against GLM 5.4 86.0%, 7.4 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.635 against GLM 5.4 $4.40 per million output tokens, 6.9x 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
CategoryDeepSeek V4.1 Flash 1017BarsGLM 5.4Ties
Coding22
Agentic work12
Reasoning10
Web design10
General10
All shared boards64
CodingLike-for-likeSix of these boards feed the Vibe Coding Index22
Coding benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
LiveBench coding80.4%74.5%DeepSeek V4.1 Flash 1017
LMArena WebDev16601690GLM 5.4
Terminal-Bench 4 (Vals AI)31.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Vibe Code Bench (Vals AI)87.7%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Code migration (Vals AI)44.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
SciCode55.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench 4.0 (Artificial Analysis run)33.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierCode 2.028.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
ALE-Bench1622.0Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev: React16761739GLM 5.4
LMArena WebDev: HTML16841675DeepSeek V4.1 Flash 1017
LMArena WebDev: from an image1610Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GameBench 270.0Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench 4.040.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 38 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
AA Intelligence Index32.0Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Epoch Capabilities Index159.2Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index12
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
Design Arena: spreadsheets1274Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench research78.6%86.0%GLM 5.4
LiveBench browser67.2%64.5%DeepSeek V4.1 Flash 1017
LiveBench long agentic38.8%41.3%GLM 5.4
Finance Agent (Vals AI)57.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Tax Agent Bench (Vals AI)44.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Legal Research Bench (Vals AI)45.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Harvey's Legal Agent Benchmark (Vals AI)14.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Excel Modeling Benchmark (Vals AI)61.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Robo-bench (Vals AI)12.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
APEX-Agents69.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
LiveBench reasoning89.1%85.2%DeepSeek V4.1 Flash 1017
Humanity's Last Exam (Artificial Analysis run)43.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
HLE-Diamond (Artificial Analysis run)25.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
CritPt v2, hard subset (Artificial Analysis run)25.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GPQA Diamond (Epoch AI run)93.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
ARC-AGI94.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
ARC-AGI-278.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Chess puzzles46.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Mystery game puzzles49.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GoBench1632Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 16 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
OTIS Mock AIME99.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierMath, tiers 1 to 371.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierMath, tier 446.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
MathArena46.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 10 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
AA-Omniscience0.9Not measuredOnly DeepSeek V4.1 Flash 1017 measured
SimpleQA Verified42.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 19 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index10
Web design benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
Design Arena: websites1341Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: UI components1270Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: game dev1241Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: data viz1282Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: 3D1332Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: all code categories1343Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: SVG1289Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: ASCII art1213Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench design79.8%74.2%DeepSeek V4.1 Flash 1017
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
Vals Index59.7%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%72.2%DeepSeek V4.1 Flash 1017
Long context reasoning (AA-LCR)82.7%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GDPval-AA1746Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 45 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 1017 and GLM 5.4
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.4Leader
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 1017$0.0005Fits in one request
GLM 5.4$0.0036Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash 1017$0.0094Fits in one request
GLM 5.4$0.083Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash 1017$0.036Fits in one request
GLM 5.4$0.324Fits in one request

DeepSeek V4.1 Flash 1017 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 1017 and GLM 5.4
SpecificationDeepSeek V4.1 Flash 1017Z.ai GLM 5.4
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedOctober 17, 2026December 2, 2026
Context window1.05M1.05M
Input $/Mtok$0.15$1.40
Output $/Mtok$0.635$4.40
Coding index66.872.7
Independent measurements behind it42
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 66.8 for DeepSeek V4.1 Flash 1017, though on 2 benchmarks against 4. Pick DeepSeek V4.1 Flash 1017 for output tokens 6.9x cheaper ($0.635 vs $4.40 per million) and work measured by LiveBench coding or LMArena WebDev: HTML, where it leads.

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

DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.635 per million output tokens; GLM 5.4 costs $1.40 and $4.40. Cost per solved task is known for neither of them.

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

Neither: both take 1.05M tokens.

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

10 benchmarks have a result for both models as of December 3, 2026. DeepSeek V4.1 Flash 1017's coding index rests on 4 independent benchmarks and GLM 5.4's on 2. 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-1017-vs-glm-5-4" title="DeepSeek V4.1 Flash 1017 vs GLM 5.4, 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-1017-vs-glm-5-4">LLMBenchmark.ai, DeepSeek V4.1 Flash 1017 vs GLM 5.4</a></p>