Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs GLM 5.2

DeepSeek V4.1 Flash 1017 leads GLM 5.2 on coding, 63.1 to 59.7 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 6, 2026; 37 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
63.1
Overall
62.7
Output $/M
$0.635
36
GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
1
vs boards won of 37 shared

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

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 63.1 on the Vibe Coding Index against 59.7 for GLM 5.2.

Pick GLM 5.2 for work measured by Design Arena: UI components, where it leads.

Shared results
37
DeepSeek V4.1 Flash 1017 only
19
GLM 5.2 only
74
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
DeepSeek V4.1 Flash 1017 63.1 from 4 benchmarks, GLM 5.2 59.7 from 3 benchmarks.
Widest category
Reasoning, 19.7 points apart on average over 7 shared benchmarks.
Widest single gap
ARC-AGI-2: DeepSeek V4.1 Flash 1017 78.1% against GLM 5.2 22.8%, 55.3 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.635 against GLM 5.2 $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.2Ties
Coding80
Intelligence10
Agentic work50
Reasoning70
Math40
Knowledge20
Web design71
General20
All shared boards361
CodingLike-for-likeSix of these boards feed the Vibe Coding Index80
Coding benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
LiveBench coding80.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev16601608DeepSeek V4.1 Flash 1017
LiveCodeBench (Vals AI)Not measured69.5%Only GLM 5.2 measured
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Terminal-Bench 4 (Vals AI)31.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Vibe Code Bench (Vals AI)74.6%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Code migration (Vals AI)44.2%37.9%DeepSeek V4.1 Flash 1017
ProgramBench (Vals AI)Not measured0.5%Only GLM 5.2 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only GLM 5.2 measured
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
SciCode55.9%51.2%DeepSeek V4.1 Flash 1017
Terminal-Bench Hard (Artificial Analysis run)Not measured50.8%Only GLM 5.2 measured
Terminal-Bench 4.0 (Artificial Analysis run)33.8%1.0%DeepSeek V4.1 Flash 1017
FrontierCode 2.028.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdMLNot measured70.1%Only GLM 5.2 measured
MirrorCodeNot measured36.7%Only GLM 5.2 measured
ALE-Bench1622.01047.0DeepSeek V4.1 Flash 1017
LMArena Text: codingNot measured1488Only GLM 5.2 measured
LMArena Text: software and ITNot measured1487Only GLM 5.2 measured
LMArena WebDev: React16761621DeepSeek V4.1 Flash 1017
LMArena WebDev: HTML16841567DeepSeek V4.1 Flash 1017
LMArena WebDev: from an image1610Not measuredOnly DeepSeek V4.1 Flash 1017 measured
SWE Atlas: Codebase QnANot measured48.1%Only GLM 5.2 measured
SWE Atlas: RefactoringNot measured42.4%Only GLM 5.2 measured
SWE Atlas: Test WritingNot measured41.5%Only GLM 5.2 measured
GameBench 269.749.9DeepSeek V4.1 Flash 1017
Terminal-Bench 3.0Not measured4.6%Only GLM 5.2 measured
Terminal-Bench 4.040.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
ProgramBenchNot measured0.0%Only GLM 5.2 measured
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 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
AA Intelligence Index32.0Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Epoch Capabilities Index159.2153.0DeepSeek V4.1 Flash 1017
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
Design Arena: agents building web appsNot measured1184Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1288Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1152Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1162Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1156Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1077Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1157Only GLM 5.2 measured
Design Arena: spreadsheets12821123DeepSeek V4.1 Flash 1017
LiveBench research78.6%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench browser67.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench long agentic38.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)57.0%49.7%DeepSeek V4.1 Flash 1017
Tax Agent Bench (Vals AI)44.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Legal Research Bench (Vals AI)45.2%31.3%DeepSeek V4.1 Flash 1017
Harvey's Legal Agent Benchmark (Vals AI)14.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Excel Modeling Benchmark (Vals AI)61.8%61.5%DeepSeek V4.1 Flash 1017
Robo-bench (Vals AI)12.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
τ²-Bench TelecomNot measured99.1%Only GLM 5.2 measured
APEX-Agents69.8%45.2%DeepSeek V4.1 Flash 1017
PostTrainBenchNot measured30.4%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
MCP AtlasNot measured77.8%Only GLM 5.2 measured
Toolathlon-VerifiedNot measured59.9%Only GLM 5.2 measured
τ³-BankingNot measured37.1%Only GLM 5.2 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
GPQA DiamondNot measured85.6%Only GLM 5.2 measured
LiveBench reasoning89.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GPQA Diamond (Artificial Analysis run)Not measured89.5%Only GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)43.3%41.1%DeepSeek V4.1 Flash 1017
HLE-Diamond (Artificial Analysis run)25.3%17.7%DeepSeek V4.1 Flash 1017
CritPt v2, hard subset (Artificial Analysis run)25.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GPQA Diamond (Epoch AI run)93.2%91.9%DeepSeek V4.1 Flash 1017
ARC-AGI94.5%77.0%DeepSeek V4.1 Flash 1017
ARC-AGI-278.1%22.8%DeepSeek V4.1 Flash 1017
SimpleBenchNot measured58.8%Only GLM 5.2 measured
Chess puzzles46.0%22.0%DeepSeek V4.1 Flash 1017
Mystery game puzzles49.0%19.0%DeepSeek V4.1 Flash 1017
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard promptsNot measured1481Only GLM 5.2 measured
LMArena Text: expertNot measured1488Only GLM 5.2 measured
LMArena Text: hard prompts in EnglishNot measured1481Only GLM 5.2 measured
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
GoBench1632Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
OTIS Mock AIME99.4%86.4%DeepSeek V4.1 Flash 1017
FrontierMath, tiers 1 to 371.2%59.2%DeepSeek V4.1 Flash 1017
FrontierMath, tier 446.3%29.3%DeepSeek V4.1 Flash 1017
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: mathNot measured1485Only GLM 5.2 measured
LMArena Text: mathematical workNot measured1490Only GLM 5.2 measured
MathArena46.8%21.1%DeepSeek V4.1 Flash 1017
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index20
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
MMLU ProNot measured86.7%Only GLM 5.2 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5.2 measured
CorpFin (Vals AI)Not measured66.1%Only GLM 5.2 measured
TaxEval (Vals AI)Not measured73.3%Only GLM 5.2 measured
MedCode (Vals AI)Not measured40.8%Only GLM 5.2 measured
AA-Omniscience0.90.6DeepSeek V4.1 Flash 1017
SimpleQA Verified42.5%34.2%DeepSeek V4.1 Flash 1017
LMArena Text: scienceNot measured1489Only GLM 5.2 measured
LMArena Text: medicine and healthcareNot measured1476Only GLM 5.2 measured
LMArena Text: legal and governmentNot measured1490Only GLM 5.2 measured
LMArena Text: business and financeNot measured1450Only GLM 5.2 measured
Neither model has a result on the other 10 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index71
Web design benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
Design Arena: websites13371323DeepSeek V4.1 Flash 1017
Design Arena: UI components12671271GLM 5.2
Design Arena: game dev12431234DeepSeek V4.1 Flash 1017
Design Arena: data viz12831275DeepSeek V4.1 Flash 1017
Design Arena: 3D13291247DeepSeek V4.1 Flash 1017
Design Arena: all code categories13421328DeepSeek V4.1 Flash 1017
Design Arena: SVG12891245DeepSeek V4.1 Flash 1017
Design Arena: ASCII art12071174DeepSeek V4.1 Flash 1017
LiveBench design79.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for DeepSeek V4.1 Flash 1017 and GLM 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
Vals Index59.7%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
MedScribe (Vals AI)Not measured83.5%Only GLM 5.2 measured
IFBenchNot measured73.3%Only GLM 5.2 measured
Long context reasoning (AA-LCR)82.7%78.3%DeepSeek V4.1 Flash 1017
GDPval-AA17461383DeepSeek V4.1 Flash 1017
DTBenchNot measured93.6%Only GLM 5.2 measured
LMCANot measured45.8%Only GLM 5.2 measured
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena TextNot measured1470Only GLM 5.2 measured
LMArena Text: instruction followingNot measured1467Only GLM 5.2 measured
LMArena Text: creative writingNot measured1460Only GLM 5.2 measured
LMArena Text: EnglishNot measured1475Only GLM 5.2 measured
LMArena Text: non-EnglishNot measured1458Only GLM 5.2 measured
LMArena Text: ChineseNot measured1523Only GLM 5.2 measured
LMArena Text: GermanNot measured1467Only GLM 5.2 measured
LMArena Text: JapaneseNot measured1452Only GLM 5.2 measured
LMArena Text: KoreanNot measured1430Only GLM 5.2 measured
LMArena Text: FrenchNot measured1477Only GLM 5.2 measured
LMArena Text: SpanishNot measured1480Only GLM 5.2 measured
LMArena Text: RussianNot measured1466Only GLM 5.2 measured
LMArena Text: PolishNot measured1459Only GLM 5.2 measured
LMArena Text: multi-turnNot measured1470Only GLM 5.2 measured
LMArena Text: longer queriesNot measured1479Only GLM 5.2 measured
LMArena Text: writing and languageNot measured1462Only GLM 5.2 measured
LMArena Text: entertainment and mediaNot measured1448Only GLM 5.2 measured
EQ-Bench 4Not measured1208Only GLM 5.2 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 5.2
BenchmarkDeepSeek V4.1 Flash 1017GLM 5.2Leader
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.2$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.2$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.2$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.2
SpecificationDeepSeek V4.1 Flash 1017Z.ai GLM 5.2
MakerDeepSeekZ.ai
WeightsOpen weightsOpen weights
ReleasedOctober 17, 2026June 16, 2026
Context window1.05M1.05M
Input $/Mtok$0.15$1.40
Output $/Mtok$0.635$4.40
Coding index63.159.7
Independent measurements behind it43
Cost per solved taskNot computable$0.86
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 63.1 on the Vibe Coding Index against 59.7 for GLM 5.2. Pick GLM 5.2 for work measured by Design Arena: UI components, where it leads.

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

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

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

Neither: both take 1.05M tokens.

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

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