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 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.
Coding
Vibe Coding Index, six public coding benchmarks
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 scores 63.1 against 59.7.
4 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only DeepSeek V4.1 Flash 1017 has a AA Intelligence Index result, 32.0.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.2 has a GPQA Diamond result, 85.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.2 has a MMLU Pro result, 86.7%.
Directional only
Web design
Design Arena: websites
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 leads, 1337 against 1323.
Same board, both measured
General
Vals Index
No call
Only DeepSeek V4.1 Flash 1017 has a Vals Index result, 59.7%.
Directional only
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 $0.0005, GLM 5.2 $0.0036 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.2 has the number, $0.86.
Directional only
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.
| Category | DeepSeek V4.1 Flash 1017 | Bars | GLM 5.2 | Ties |
|---|---|---|---|---|
| Coding | 8 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 5 | 0 | ||
| Reasoning | 7 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 2 | 0 | ||
| Web design | 7 | 1 | ||
| General | 2 | 0 | ||
| All shared boards | 36 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index80
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| LiveBench coding | 80.4% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena WebDev | 1660 | 1608 | DeepSeek V4.1 Flash 1017 |
| LiveCodeBench (Vals AI) | Not measured | 69.5% | Only GLM 5.2 measured |
| SWE-bench Verified (Vals AI) | Not measured | 82.8% | Only GLM 5.2 measured |
| Terminal-Bench 4 (Vals AI) | 31.8% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Vibe Code Bench (Vals AI) | 74.6% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Code migration (Vals AI) | 44.2% | 37.9% | DeepSeek V4.1 Flash 1017 |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only GLM 5.2 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 67.8% | Only GLM 5.2 measured |
| SkillsBench (Vals AI) | Not measured | 45.1% | Only GLM 5.2 measured |
| SciCode | 55.9% | 51.2% | DeepSeek V4.1 Flash 1017 |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 50.8% | Only GLM 5.2 measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | 33.8% | 1.0% | DeepSeek V4.1 Flash 1017 |
| FrontierCode 2.0 | 28.2% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| FrontierCode | Not measured | 24.5% | Only GLM 5.2 measured |
| WeirdML | Not measured | 70.1% | Only GLM 5.2 measured |
| MirrorCode | Not measured | 36.7% | Only GLM 5.2 measured |
| ALE-Bench | 1622.0 | 1047.0 | DeepSeek V4.1 Flash 1017 |
| LMArena Text: coding | Not measured | 1488 | Only GLM 5.2 measured |
| LMArena Text: software and IT | Not measured | 1487 | Only GLM 5.2 measured |
| LMArena WebDev: React | 1676 | 1621 | DeepSeek V4.1 Flash 1017 |
| LMArena WebDev: HTML | 1684 | 1567 | DeepSeek V4.1 Flash 1017 |
| LMArena WebDev: from an image | 1610 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| SWE Atlas: Codebase QnA | Not measured | 48.1% | Only GLM 5.2 measured |
| SWE Atlas: Refactoring | Not measured | 42.4% | Only GLM 5.2 measured |
| SWE Atlas: Test Writing | Not measured | 41.5% | Only GLM 5.2 measured |
| GameBench 2 | 69.7 | 49.9 | DeepSeek V4.1 Flash 1017 |
| Terminal-Bench 3.0 | Not measured | 4.6% | Only GLM 5.2 measured |
| Terminal-Bench 4.0 | 40.0% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| ProgramBench | Not measured | 0.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
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 32.0 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Epoch Capabilities Index | 159.2 | 153.0 | DeepSeek V4.1 Flash 1017 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1184 | Only GLM 5.2 measured |
| Design Arena: agents building full-stack apps | Not measured | 1288 | Only GLM 5.2 measured |
| Design Arena: agents building mobile apps | Not measured | 1152 | Only GLM 5.2 measured |
| Design Arena: agents building Android apps | Not measured | 1162 | Only GLM 5.2 measured |
| Design Arena: agents building Godot games | Not measured | 1142 | Only GLM 5.2 measured |
| Design Arena: agents building games | Not measured | 1156 | Only GLM 5.2 measured |
| Design Arena: HTML slides | Not measured | 1077 | Only GLM 5.2 measured |
| Design Arena: PowerPoint slides | Not measured | 1157 | Only GLM 5.2 measured |
| Design Arena: spreadsheets | 1282 | 1123 | DeepSeek V4.1 Flash 1017 |
| LiveBench research | 78.6% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench browser | 67.2% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench long agentic | 38.8% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| SREBench (Vals AI) | Not measured | 0.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 measured | Only 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 measured | Only 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 measured | Only DeepSeek V4.1 Flash 1017 measured |
| τ²-Bench Telecom | Not measured | 99.1% | Only GLM 5.2 measured |
| APEX-Agents | 69.8% | 45.2% | DeepSeek V4.1 Flash 1017 |
| PostTrainBench | Not measured | 30.4% | Only GLM 5.2 measured |
| Vending-Bench 2 | Not measured | $8,314 | Only GLM 5.2 measured |
| MCP Atlas | Not measured | 77.8% | Only GLM 5.2 measured |
| Toolathlon-Verified | Not measured | 59.9% | Only GLM 5.2 measured |
| τ³-Banking | Not measured | 37.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
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 85.6% | Only GLM 5.2 measured |
| LiveBench reasoning | 89.1% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 89.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 measured | Only DeepSeek V4.1 Flash 1017 measured |
| GPQA Diamond (Epoch AI run) | 93.2% | 91.9% | DeepSeek V4.1 Flash 1017 |
| ARC-AGI | 94.5% | 77.0% | DeepSeek V4.1 Flash 1017 |
| ARC-AGI-2 | 78.1% | 22.8% | DeepSeek V4.1 Flash 1017 |
| SimpleBench | Not measured | 58.8% | Only GLM 5.2 measured |
| Chess puzzles | 46.0% | 22.0% | DeepSeek V4.1 Flash 1017 |
| Mystery game puzzles | 49.0% | 19.0% | DeepSeek V4.1 Flash 1017 |
| EBR-bench | Not measured | 9.5% | Only GLM 5.2 measured |
| LMArena Text: hard prompts | Not measured | 1481 | Only GLM 5.2 measured |
| LMArena Text: expert | Not measured | 1488 | Only GLM 5.2 measured |
| LMArena Text: hard prompts in English | Not measured | 1481 | Only GLM 5.2 measured |
| Kagi LLM Benchmark | Not measured | 62.6% | Only GLM 5.2 measured |
| GoBench | 1632 | Not measured | Only 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
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 99.4% | 86.4% | DeepSeek V4.1 Flash 1017 |
| FrontierMath, tiers 1 to 3 | 71.2% | 59.2% | DeepSeek V4.1 Flash 1017 |
| FrontierMath, tier 4 | 46.3% | 29.3% | DeepSeek V4.1 Flash 1017 |
| ProofBench | Not measured | 35.0% | Only GLM 5.2 measured |
| LMArena Text: math | Not measured | 1485 | Only GLM 5.2 measured |
| LMArena Text: mathematical work | Not measured | 1490 | Only GLM 5.2 measured |
| MathArena | 46.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
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 86.7% | Only GLM 5.2 measured |
| LegalBench (Vals AI) | Not measured | 84.1% | Only GLM 5.2 measured |
| CorpFin (Vals AI) | Not measured | 66.1% | Only GLM 5.2 measured |
| TaxEval (Vals AI) | Not measured | 73.3% | Only GLM 5.2 measured |
| MedCode (Vals AI) | Not measured | 40.8% | Only GLM 5.2 measured |
| AA-Omniscience | 0.9 | 0.6 | DeepSeek V4.1 Flash 1017 |
| SimpleQA Verified | 42.5% | 34.2% | DeepSeek V4.1 Flash 1017 |
| LMArena Text: science | Not measured | 1489 | Only GLM 5.2 measured |
| LMArena Text: medicine and healthcare | Not measured | 1476 | Only GLM 5.2 measured |
| LMArena Text: legal and government | Not measured | 1490 | Only GLM 5.2 measured |
| LMArena Text: business and finance | Not measured | 1450 | Only 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
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1337 | 1323 | DeepSeek V4.1 Flash 1017 |
| Design Arena: UI components | 1267 | 1271 | GLM 5.2 |
| Design Arena: game dev | 1243 | 1234 | DeepSeek V4.1 Flash 1017 |
| Design Arena: data viz | 1283 | 1275 | DeepSeek V4.1 Flash 1017 |
| Design Arena: 3D | 1329 | 1247 | DeepSeek V4.1 Flash 1017 |
| Design Arena: all code categories | 1342 | 1328 | DeepSeek V4.1 Flash 1017 |
| Design Arena: SVG | 1289 | 1245 | DeepSeek V4.1 Flash 1017 |
| Design Arena: ASCII art | 1207 | 1174 | DeepSeek V4.1 Flash 1017 |
| LiveBench design | 79.8% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| Vals Index | 59.7% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench data analysis | 79.5% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| MedScribe (Vals AI) | Not measured | 83.5% | Only GLM 5.2 measured |
| IFBench | Not measured | 73.3% | Only GLM 5.2 measured |
| Long context reasoning (AA-LCR) | 82.7% | 78.3% | DeepSeek V4.1 Flash 1017 |
| GDPval-AA | 1746 | 1383 | DeepSeek V4.1 Flash 1017 |
| DTBench | Not measured | 93.6% | Only GLM 5.2 measured |
| LMCA | Not measured | 45.8% | Only GLM 5.2 measured |
| Surface Evolver Bench | Not measured | 55.6% | Only GLM 5.2 measured |
| LMArena Text | Not measured | 1470 | Only GLM 5.2 measured |
| LMArena Text: instruction following | Not measured | 1467 | Only GLM 5.2 measured |
| LMArena Text: creative writing | Not measured | 1460 | Only GLM 5.2 measured |
| LMArena Text: English | Not measured | 1475 | Only GLM 5.2 measured |
| LMArena Text: non-English | Not measured | 1458 | Only GLM 5.2 measured |
| LMArena Text: Chinese | Not measured | 1523 | Only GLM 5.2 measured |
| LMArena Text: German | Not measured | 1467 | Only GLM 5.2 measured |
| LMArena Text: Japanese | Not measured | 1452 | Only GLM 5.2 measured |
| LMArena Text: Korean | Not measured | 1430 | Only GLM 5.2 measured |
| LMArena Text: French | Not measured | 1477 | Only GLM 5.2 measured |
| LMArena Text: Spanish | Not measured | 1480 | Only GLM 5.2 measured |
| LMArena Text: Russian | Not measured | 1466 | Only GLM 5.2 measured |
| LMArena Text: Polish | Not measured | 1459 | Only GLM 5.2 measured |
| LMArena Text: multi-turn | Not measured | 1470 | Only GLM 5.2 measured |
| LMArena Text: longer queries | Not measured | 1479 | Only GLM 5.2 measured |
| LMArena Text: writing and language | Not measured | 1462 | Only GLM 5.2 measured |
| LMArena Text: entertainment and media | Not measured | 1448 | Only GLM 5.2 measured |
| EQ-Bench 4 | Not measured | 1208 | Only 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
| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.2 | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
DeepSeek V4.1 Flash 1017 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | DeepSeek V4.1 Flash 1017 | Z.ai GLM 5.2 |
|---|---|---|
| Maker | DeepSeek | Z.ai |
| Weights | Open weights | Open weights |
| Released | October 17, 2026 | June 16, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $0.15 | $1.40 |
| Output $/Mtok | $0.635 | $4.40 |
| Coding index | 63.1 | 59.7 |
| Independent measurements behind it | 4 | 3 |
| Cost per solved task | Not computable | $0.86 |
| Source | OpenRouter listing | OpenRouter 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.