DeepSeek V4 Flash 0731 vs GLM 4.6
DeepSeek V4 Flash 0731 leads GLM 4.6 on coding, 51.8 to 8.8 on the Vibe Coding Index, and DeepSeek V4 Flash 0731 costs 7.9x less per output token ($0.28 vs $2.20 per million). Updated October 21, 2026; 20 benchmarks have a result for both.
DeepSeek V4 Flash 0731 or GLM 4.6: which to pick
Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 8.8 for GLM 4.6.
Pick GLM 4.6 for work measured by LegalBench (Vals AI), where it leads.
- Shared results
- 20
- DeepSeek V4 Flash 0731 only
- 35
- GLM 4.6 only
- 46
- Like-for-like categories
- 6 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 Flash 0731
DeepSeek V4 Flash 0731 scores 51.8 against 8.8.
4 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 34.3 against 18.5.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only DeepSeek V4 Flash 0731 has a AA Agentic Index result, 41.0.
Directional only
Reasoning
GPQA Diamond
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 89.9% against 74.5%.
Same board, both measured
Math
AIME
No call
Only GLM 4.6 has a AIME result, 92.7%.
Directional only
Knowledge
MMLU Pro
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 86.2% against 82.2%.
Same board, both measured
Web design
Design Arena: websites
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 1238 against 1174.
Same board, both measured
Long documents
Listed context window
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 takes 1.05M tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 $0.0003, GLM 4.6 $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only DeepSeek V4 Flash 0731 has the number, $0.01.
Directional only
At a glance
- Coding index
- DeepSeek V4 Flash 0731 51.8 from 4 benchmarks, GLM 4.6 8.8 from 2 benchmarks.
- Widest category
- Coding, 33.3 points apart on average over 4 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): DeepSeek V4 Flash 0731 74.7% against GLM 4.6 3.1%, 71.6 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4 Flash 0731 $0.28 against GLM 4.6 $2.20 per million output tokens, 7.9x apart.
- Context window
- DeepSeek V4 Flash 0731 takes 1.05M tokens, GLM 4.6 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.
| Category | DeepSeek V4 Flash 0731 | Bars | GLM 4.6 | Ties |
|---|---|---|---|---|
| Coding | 4 | 0 | ||
| Intelligence | 1 | 0 | ||
| Reasoning | 3 | 0 | ||
| Knowledge | 3 | 1 | ||
| Web design | 7 | 0 | ||
| General | 1 | 0 | ||
| All shared boards | 19 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 68.2% | Only GLM 4.6 measured |
| LMArena WebDev | Not measured | 1341 | Only GLM 4.6 measured |
| AA Coding Index | 69.1 | 45.8 | DeepSeek V4 Flash 0731 |
| LiveCodeBench (Vals AI) | 87.3% | 81.0% | DeepSeek V4 Flash 0731 |
| SWE-bench Verified (Vals AI) | 88.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 4 (Vals AI) | 18.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Vibe Code Bench (Vals AI) | 74.7% | 3.1% | DeepSeek V4 Flash 0731 |
| Code migration (Vals AI) | 38.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IOI (Vals AI) | 32.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SkillsBench (Vals AI) | 50.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| CyberBench (Vals AI) | 72.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 69.5% | Only GLM 4.6 measured |
| SciCode | 50.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 28.8% | Only GLM 4.6 measured |
| Terminal-Bench | Not measured | 24.5% | Only GLM 4.6 measured |
| FrontierCode | 18.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| WeirdML | 63.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ALE-Bench | 1306.1 | 340.8 | DeepSeek V4 Flash 0731 |
| LMArena Text: coding | Not measured | 1449 | Only GLM 4.6 measured |
| LMArena Text: software and IT | Not measured | 1455 | Only GLM 4.6 measured |
| LMArena WebDev: HTML | Not measured | 1350 | Only GLM 4.6 measured |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.3 | 18.5 | DeepSeek V4 Flash 0731 |
| Epoch Capabilities Index | 154.8 | Not measured | Only DeepSeek V4 Flash 0731 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| AA Agentic Index | 41.0 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: agents building full-stack apps | Not measured | 1029 | Only GLM 4.6 measured |
| Design Arena: agents building mobile apps | Not measured | 1096 | Only GLM 4.6 measured |
| Design Arena: agents building Android apps | Not measured | 1084 | Only GLM 4.6 measured |
| Design Arena: agents building Godot games | Not measured | 1180 | Only GLM 4.6 measured |
| Finance Agent (Vals AI) | 49.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Tax Agent Bench (Vals AI) | 28.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Legal Research Bench (Vals AI) | 30.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Excel Modeling Benchmark (Vals AI) | 57.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| BioMysteryBench (Vals AI) | 64.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench-Science (Vals AI) | 4.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| τ²-Bench Telecom | Not measured | 76.9% | Only GLM 4.6 measured |
| Neither model has a result on the other 27 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| GPQA Diamond | 89.9% | 74.5% | DeepSeek V4 Flash 0731 |
| GPQA Diamond (Artificial Analysis run) | 90.8% | 78.0% | DeepSeek V4 Flash 0731 |
| Humanity's Last Exam (Artificial Analysis run) | 38.6% | 14.5% | DeepSeek V4 Flash 0731 |
| GPQA Diamond (Epoch AI run) | 91.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ARC-AGI | 89.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ARC-AGI-2 | 61.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SimpleBench | 61.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Chess puzzles | 32.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Mystery game puzzles | 34.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: hard prompts | Not measured | 1440 | Only GLM 4.6 measured |
| LMArena Text: expert | Not measured | 1432 | Only GLM 4.6 measured |
| LMArena Text: hard prompts in English | Not measured | 1445 | Only GLM 4.6 measured |
| Neither model has a result on the other 9 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| AIME | Not measured | 92.7% | Only GLM 4.6 measured |
| MGSM (Vals AI) | Not measured | 89.8% | Only GLM 4.6 measured |
| AA Math Index | Not measured | 86.0 | Only GLM 4.6 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 86.0% | Only GLM 4.6 measured |
| OTIS Mock AIME | 94.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| FrontierMath, tiers 1 to 3 | 57.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| FrontierMath, tier 4 | 24.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProofBench | 56.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: math | Not measured | 1432 | Only GLM 4.6 measured |
| LMArena Text: mathematical work | Not measured | 1447 | Only GLM 4.6 measured |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | 82.2% | DeepSeek V4 Flash 0731 |
| LegalBench (Vals AI) | 77.7% | 79.6% | GLM 4.6 |
| CorpFin (Vals AI) | 61.9% | 56.8% | DeepSeek V4 Flash 0731 |
| TaxEval (Vals AI) | 70.7% | 66.2% | DeepSeek V4 Flash 0731 |
| MedQA (Vals AI) | Not measured | 92.2% | Only GLM 4.6 measured |
| MedCode (Vals AI) | 41.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 82.9% | Only GLM 4.6 measured |
| SimpleQA Verified | 33.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: science | Not measured | 1456 | Only GLM 4.6 measured |
| LMArena Text: medicine and healthcare | Not measured | 1455 | Only GLM 4.6 measured |
| LMArena Text: legal and government | Not measured | 1448 | Only GLM 4.6 measured |
| LMArena Text: business and finance | Not measured | 1416 | Only GLM 4.6 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
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| Design Arena: websites | 1238 | 1174 | DeepSeek V4 Flash 0731 |
| Design Arena: UI components | 1235 | 1148 | DeepSeek V4 Flash 0731 |
| Design Arena: game dev | 1208 | 1151 | DeepSeek V4 Flash 0731 |
| Design Arena: data viz | 1180 | 1161 | DeepSeek V4 Flash 0731 |
| Design Arena: 3D | 1209 | 1129 | DeepSeek V4 Flash 0731 |
| Design Arena: all code categories | 1230 | 1166 | DeepSeek V4 Flash 0731 |
| Design Arena: SVG | 1185 | 1109 | DeepSeek V4 Flash 0731 |
| Design Arena: ASCII art | 1090 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | Leader |
|---|---|---|---|
| MedScribe (Vals AI) | 80.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IFBench | Not measured | 43.4% | Only GLM 4.6 measured |
| Long context reasoning (AA-LCR) | 79.7% | 54.0% | DeepSeek V4 Flash 0731 |
| DTBench | 90.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMCA | 41.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text | Not measured | 1440 | Only GLM 4.6 measured |
| LMArena Text: instruction following | Not measured | 1410 | Only GLM 4.6 measured |
| LMArena Text: creative writing | Not measured | 1412 | Only GLM 4.6 measured |
| LMArena Text: English | Not measured | 1449 | Only GLM 4.6 measured |
| LMArena Text: non-English | Not measured | 1426 | Only GLM 4.6 measured |
| LMArena Text: Chinese | Not measured | 1499 | Only GLM 4.6 measured |
| LMArena Text: German | Not measured | 1447 | Only GLM 4.6 measured |
| LMArena Text: Japanese | Not measured | 1393 | Only GLM 4.6 measured |
| LMArena Text: Korean | Not measured | 1400 | Only GLM 4.6 measured |
| LMArena Text: French | Not measured | 1459 | Only GLM 4.6 measured |
| LMArena Text: Spanish | Not measured | 1436 | Only GLM 4.6 measured |
| LMArena Text: Russian | Not measured | 1418 | Only GLM 4.6 measured |
| LMArena Text: Polish | Not measured | 1447 | Only GLM 4.6 measured |
| LMArena Text: multi-turn | Not measured | 1427 | Only GLM 4.6 measured |
| LMArena Text: longer queries | Not measured | 1422 | Only GLM 4.6 measured |
| LMArena Text: writing and language | Not measured | 1415 | Only GLM 4.6 measured |
| LMArena Text: entertainment and media | Not measured | 1409 | Only GLM 4.6 measured |
| Neither model has a result on the other 24 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | GLM 4.6 | 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 Flash 0731 costs less
Repository review
50K input + 3K output tokens
DeepSeek V4 Flash 0731 costs less
Agent loop
200K input + 10K output tokens
DeepSeek V4 Flash 0731 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 Flash 0731 | Z.ai GLM 4.6 |
|---|---|---|
| Maker | DeepSeek | Z.ai |
| Weights | Open weights | Open weights |
| Released | July 31, 2026 | September 30, 2025 |
| Context window | 1.05M | 205K |
| Input $/Mtok | $0.14 | $0.60 |
| Output $/Mtok | $0.28 | $2.20 |
| Coding index | 51.8 | 8.8 |
| Independent measurements behind it | 4 | 2 |
| Cost per solved task | $0.01 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4 Flash 0731 better than GLM 4.6 for coding?
Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 8.8 for GLM 4.6. Pick GLM 4.6 for work measured by LegalBench (Vals AI), where it leads.
Which is cheaper, DeepSeek V4 Flash 0731 or GLM 4.6?
DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; GLM 4.6 costs $0.60 and $2.20. Cost per solved task is known for DeepSeek V4 Flash 0731 only.
Which has the bigger context window, DeepSeek V4 Flash 0731 or GLM 4.6?
DeepSeek V4 Flash 0731, with 1.05M tokens against 205K.
How many benchmarks is the DeepSeek V4 Flash 0731 vs GLM 4.6 comparison based on?
20 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4 Flash 0731's coding index rests on 4 independent benchmarks and GLM 4.6's on 2. Where only one model has a result, the page says so instead of naming a winner.