Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs GLM 4.7

DeepSeek V4.1 Flash 1017 leads GLM 4.7 on coding, 70.3 to 55.1 on the Vibe Coding Index, and DeepSeek V4.1 Flash 1017 costs 3.7x less per output token ($0.60 vs $2.20 per million). Updated October 22, 2026; 18 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
70.3
Overall
67.6
Output $/M
$0.60
18
GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
0
vs boards won of 18 shared

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

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 55.1 for GLM 4.7.

GLM 4.7 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
18
DeepSeek V4.1 Flash 1017 only
21
GLM 4.7 only
63
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 1017 70.3 from 4 benchmarks, GLM 4.7 55.1 from 2 benchmarks.
Widest category
Coding, 32.3 points apart on average over 4 shared benchmarks.
Widest single gap
ALE-Bench: DeepSeek V4.1 Flash 1017 1622.0 against GLM 4.7 399.5, 40.8 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.60 against GLM 4.7 $2.20 per million output tokens, 3.7x apart.
Context window
DeepSeek V4.1 Flash 1017 takes 1.05M tokens, GLM 4.7 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 Flash 1017BarsGLM 4.7Ties
Coding40
Intelligence10
Reasoning30
Math10
Knowledge10
Web design70
General10
All shared boards180
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
LiveBench coding96.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev16641435DeepSeek V4.1 Flash 1017
AA Coding IndexNot measured45.3Only GLM 4.7 measured
LiveCodeBench (Vals AI)Not measured82.2%Only GLM 4.7 measured
SWE-bench Verified (Vals AI)Not measured69.4%Only GLM 4.7 measured
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
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GLM 4.7 measured
SciCode55.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured31.8%Only GLM 4.7 measured
Terminal-BenchNot measured33.4%Only GLM 4.7 measured
ALE-Bench1622.0399.5DeepSeek V4.1 Flash 1017
LMArena Text: codingNot measured1454Only GLM 4.7 measured
LMArena Text: software and ITNot measured1453Only GLM 4.7 measured
LMArena WebDev: React16671420DeepSeek V4.1 Flash 1017
LMArena WebDev: HTML16871447DeepSeek V4.1 Flash 1017
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
AA Intelligence Index39.522.2DeepSeek V4.1 Flash 1017
Epoch Capabilities IndexNot measured143.6Only GLM 4.7 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
Design Arena: agents building full-stack appsNot measured1050Only GLM 4.7 measured
Design Arena: agents building mobile appsNot measured1105Only GLM 4.7 measured
Design Arena: agents building Android appsNot measured1112Only GLM 4.7 measured
Design Arena: agents building Godot gamesNot measured1058Only GLM 4.7 measured
Design Arena: spreadsheets1245Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench research79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench browser76.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench long agentic50.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
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
τ²-Bench TelecomNot measured95.9%Only GLM 4.7 measured
Vending-Bench 2Not measured$2,377Only GLM 4.7 measured
BrowseComp-PlusNot measured64.7%Only GLM 4.7 measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
GPQA DiamondNot measured80.0%Only GLM 4.7 measured
LiveBench reasoning89.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GPQA Diamond (Artificial Analysis run)Not measured85.9%Only GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)43.3%27.4%DeepSeek V4.1 Flash 1017
GPQA Diamond (Epoch AI run)93.2%83.3%DeepSeek V4.1 Flash 1017
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzles46.0%21.0%DeepSeek V4.1 Flash 1017
Mystery game puzzles49.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena Text: hard promptsNot measured1443Only GLM 4.7 measured
LMArena Text: expertNot measured1424Only GLM 4.7 measured
LMArena Text: hard prompts in EnglishNot measured1452Only GLM 4.7 measured
Neither model has a result on the other 11 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index10
Math benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
AIMENot measured93.3%Only GLM 4.7 measured
MGSM (Vals AI)Not measured88.2%Only GLM 4.7 measured
AA Math IndexNot measured95.0Only GLM 4.7 measured
AIME 2025 (Artificial Analysis run)Not measured95.0%Only GLM 4.7 measured
OTIS Mock AIME99.4%83.3%DeepSeek V4.1 Flash 1017
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
ProofBenchNot measured6.0%Only GLM 4.7 measured
LMArena Text: mathNot measured1424Only GLM 4.7 measured
LMArena Text: mathematical workNot measured1411Only GLM 4.7 measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
MMLU ProNot measured82.7%Only GLM 4.7 measured
LegalBench (Vals AI)Not measured83.4%Only GLM 4.7 measured
CaseLaw (Vals AI)Not measured54.9%Only GLM 4.7 measured
CorpFin (Vals AI)Not measured46.4%Only GLM 4.7 measured
TaxEval (Vals AI)Not measured68.8%Only GLM 4.7 measured
MedQA (Vals AI)Not measured93.7%Only GLM 4.7 measured
MedCode (Vals AI)Not measured32.8%Only GLM 4.7 measured
MMLU Pro (Artificial Analysis run)Not measured85.6%Only GLM 4.7 measured
SimpleQA Verified42.5%32.2%DeepSeek V4.1 Flash 1017
LMArena Text: scienceNot measured1457Only GLM 4.7 measured
LMArena Text: medicine and healthcareNot measured1469Only GLM 4.7 measured
LMArena Text: legal and governmentNot measured1444Only GLM 4.7 measured
LMArena Text: business and financeNot measured1429Only GLM 4.7 measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index70
Web design benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
Design Arena: websites13111225DeepSeek V4.1 Flash 1017
Design Arena: UI components13031196DeepSeek V4.1 Flash 1017
Design Arena: game dev13571188DeepSeek V4.1 Flash 1017
Design Arena: data viz13301195DeepSeek V4.1 Flash 1017
Design Arena: 3D13581190DeepSeek V4.1 Flash 1017
Design Arena: all code categories13321216DeepSeek V4.1 Flash 1017
Design Arena: SVGNot measured1142Only GLM 4.7 measured
Design Arena: ASCII art12421165DeepSeek V4.1 Flash 1017
LiveBench design83.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for DeepSeek V4.1 Flash 1017 and GLM 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
Vals Index61.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
MedScribe (Vals AI)Not measured68.6%Only GLM 4.7 measured
IFBenchNot measured67.9%Only GLM 4.7 measured
Long context reasoning (AA-LCR)82.7%71.0%DeepSeek V4.1 Flash 1017
CL-benchNot measured15.9%Only GLM 4.7 measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena TextNot measured1435Only GLM 4.7 measured
LMArena Text: instruction followingNot measured1412Only GLM 4.7 measured
LMArena Text: creative writingNot measured1401Only GLM 4.7 measured
LMArena Text: EnglishNot measured1453Only GLM 4.7 measured
LMArena Text: non-EnglishNot measured1417Only GLM 4.7 measured
LMArena Text: ChineseNot measured1495Only GLM 4.7 measured
LMArena Text: GermanNot measured1426Only GLM 4.7 measured
LMArena Text: JapaneseNot measured1439Only GLM 4.7 measured
LMArena Text: KoreanNot measured1399Only GLM 4.7 measured
LMArena Text: FrenchNot measured1432Only GLM 4.7 measured
LMArena Text: SpanishNot measured1434Only GLM 4.7 measured
LMArena Text: RussianNot measured1423Only GLM 4.7 measured
LMArena Text: PolishNot measured1435Only GLM 4.7 measured
LMArena Text: multi-turnNot measured1446Only GLM 4.7 measured
LMArena Text: longer queriesNot measured1432Only GLM 4.7 measured
LMArena Text: writing and languageNot measured1411Only GLM 4.7 measured
LMArena Text: entertainment and mediaNot measured1400Only GLM 4.7 measured
Neither model has a result on the other 22 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 4.7
BenchmarkDeepSeek V4.1 Flash 1017GLM 4.7Leader
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.0004Fits in one request
GLM 4.7$0.0017Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash 1017$0.0093Fits in one request
GLM 4.7$0.037Fits 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 4.7$0.142Exceeds the context window

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 4.7
SpecificationDeepSeek V4.1 Flash 1017Z.ai GLM 4.7
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedOctober 17, 2026December 22, 2025
Context window1.05M205K
Input $/Mtok$0.15$0.60
Output $/Mtok$0.60$2.20
Coding index70.355.1
Independent measurements behind it42
Cost per solved taskNot computable$0.29
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 55.1 for GLM 4.7. GLM 4.7 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

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

DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Cost per solved task is known for GLM 4.7 only.

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

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

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

18 benchmarks have a result for both models as of October 22, 2026. DeepSeek V4.1 Flash 1017's coding index rests on 4 independent benchmarks and GLM 4.7'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-4-7" title="DeepSeek V4.1 Flash 1017 vs GLM 4.7, 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-4-7">LLMBenchmark.ai, DeepSeek V4.1 Flash 1017 vs GLM 4.7</a></p>