DeepSeek V4.1 Flash 1017 vs Grok 4.7
DeepSeek V4.1 Flash 1017 leads Grok 4.7 on coding, 70.3 to 66.7 on the Vibe Coding Index, and DeepSeek V4.1 Flash 1017 costs 10.0x less per output token ($0.60 vs $6.00 per million). Updated October 22, 2026; 36 benchmarks have a result for both.
DeepSeek V4.1 Flash 1017 or Grok 4.7: which to pick
Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 66.7 for Grok 4.7, though on 4 benchmarks against 5.
Pick Grok 4.7 for work measured by Code migration (Vals AI) or SciCode, where it leads.
- Shared results
- 36
- DeepSeek V4.1 Flash 1017 only
- 3
- Grok 4.7 only
- 63
- 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 70.3 against 66.7.
4 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 39.5.
Same board, both measured
Web design
Design Arena: websites
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 leads, 1311 against 1255.
Same board, both measured
General
Vals Index
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 leads, 61.3% against 58.6%.
Same board, both measured
Long documents
Listed context window
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 $0.0004, Grok 4.7 $0.0050 per turn.
List prices
At a glance
- Coding index
- DeepSeek V4.1 Flash 1017 70.3 from 4 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Math, 16.3 points apart on average over 3 shared benchmarks.
- Widest single gap
- FrontierMath, tier 4: DeepSeek V4.1 Flash 1017 46.3% against Grok 4.7 17.1%, 29.3 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4.1 Flash 1017 $0.60 against Grok 4.7 $6.00 per million output tokens, 10.0x apart.
- Context window
- DeepSeek V4.1 Flash 1017 takes 1.05M tokens, Grok 4.7 500K.
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 | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 6 | 2 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 4 | 4 | ||
| Reasoning | 5 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 0 | 1 | ||
| Web design | 7 | 0 | ||
| General | 3 | 0 | ||
| All shared boards | 28 | 8 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index62
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 96.0% | 84.5% | DeepSeek V4.1 Flash 1017 |
| LMArena WebDev | 1664 | 1637 | DeepSeek V4.1 Flash 1017 |
| Terminal-Bench 4 (Vals AI) | 31.8% | 28.8% | DeepSeek V4.1 Flash 1017 |
| Vibe Code Bench (Vals AI) | 87.7% | 86.2% | DeepSeek V4.1 Flash 1017 |
| Code migration (Vals AI) | 44.2% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only Grok 4.7 measured |
| IOI (Vals AI) | Not measured | 57.7% | Only Grok 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 73.4% | Only Grok 4.7 measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| CyberBench (Vals AI) | Not measured | 69.5% | Only Grok 4.7 measured |
| SciCode | 55.9% | 57.8% | Grok 4.7 |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| ALE-Bench | 1622.0 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena Text: coding | Not measured | 1432 | Only Grok 4.7 measured |
| LMArena Text: software and IT | Not measured | 1421 | Only Grok 4.7 measured |
| LMArena WebDev: React | 1667 | 1663 | DeepSeek V4.1 Flash 1017 |
| LMArena WebDev: HTML | 1687 | 1627 | DeepSeek V4.1 Flash 1017 |
| LMArena WebDev: from an image | Not measured | 1586 | Only Grok 4.7 measured |
| Neither model has a result on the other 20 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.5 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | Not measured | 154.4 | Only Grok 4.7 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index44
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: spreadsheets | 1245 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench research | 79.5% | 86.4% | Grok 4.7 |
| LiveBench browser | 76.0% | 60.0% | DeepSeek V4.1 Flash 1017 |
| LiveBench long agentic | 50.9% | 50.1% | DeepSeek V4.1 Flash 1017 |
| SREBench (Vals AI) | Not measured | 3.8% | Only Grok 4.7 measured |
| Finance Agent (Vals AI) | 57.0% | 52.3% | DeepSeek V4.1 Flash 1017 |
| Tax Agent Bench (Vals AI) | 44.4% | 34.2% | DeepSeek V4.1 Flash 1017 |
| Legal Research Bench (Vals AI) | 45.2% | 47.1% | Grok 4.7 |
| Harvey's Legal Agent Benchmark (Vals AI) | 14.2% | 18.3% | Grok 4.7 |
| Excel Modeling Benchmark (Vals AI) | 61.8% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 10.0% | Only Grok 4.7 measured |
| Vals Science Index | Not measured | 34.8% | Only Grok 4.7 measured |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| APEX-Agents | Not measured | 54.6% | Only Grok 4.7 measured |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 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 index50
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench reasoning | 89.1% | 82.7% | DeepSeek V4.1 Flash 1017 |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| Humanity's Last Exam (Artificial Analysis run) | 43.3% | 43.1% | DeepSeek V4.1 Flash 1017 |
| GPQA Diamond (Epoch AI run) | 93.2% | 92.7% | DeepSeek V4.1 Flash 1017 |
| ARC-AGI | Not measured | 90.2% | Only Grok 4.7 measured |
| ARC-AGI-2 | Not measured | 61.4% | Only Grok 4.7 measured |
| Chess puzzles | 46.0% | 41.0% | DeepSeek V4.1 Flash 1017 |
| Mystery game puzzles | 49.0% | 29.0% | DeepSeek V4.1 Flash 1017 |
| LMArena Text: hard prompts | Not measured | 1415 | Only Grok 4.7 measured |
| LMArena Text: expert | Not measured | 1439 | Only Grok 4.7 measured |
| LMArena Text: hard prompts in English | Not measured | 1427 | Only Grok 4.7 measured |
| LMArena Vision: diagrams | Not measured | 1254 | Only Grok 4.7 measured |
| LMArena Vision: homework | Not measured | 1309 | Only Grok 4.7 measured |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 99.4% | 98.1% | DeepSeek V4.1 Flash 1017 |
| FrontierMath, tiers 1 to 3 | 71.2% | 53.0% | DeepSeek V4.1 Flash 1017 |
| FrontierMath, tier 4 | 46.3% | 17.1% | DeepSeek V4.1 Flash 1017 |
| ProofBench | Not measured | 26.0% | Only Grok 4.7 measured |
| LMArena Text: math | Not measured | 1414 | Only Grok 4.7 measured |
| LMArena Text: mathematical work | Not measured | 1435 | Only Grok 4.7 measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | Not measured | 84.4% | Only Grok 4.7 measured |
| MedCode (Vals AI) | Not measured | 49.5% | Only Grok 4.7 measured |
| SimpleQA Verified | 42.5% | 56.0% | Grok 4.7 |
| LMArena Text: science | Not measured | 1419 | Only Grok 4.7 measured |
| LMArena Text: medicine and healthcare | Not measured | 1395 | Only Grok 4.7 measured |
| LMArena Text: legal and government | Not measured | 1423 | Only Grok 4.7 measured |
| LMArena Text: business and finance | Not measured | 1389 | Only Grok 4.7 measured |
| Neither model has a result on the other 11 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index70
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1311 | 1255 | DeepSeek V4.1 Flash 1017 |
| Design Arena: UI components | 1303 | 1275 | DeepSeek V4.1 Flash 1017 |
| Design Arena: game dev | 1357 | 1314 | DeepSeek V4.1 Flash 1017 |
| Design Arena: data viz | 1330 | 1238 | DeepSeek V4.1 Flash 1017 |
| Design Arena: 3D | 1358 | 1274 | DeepSeek V4.1 Flash 1017 |
| Design Arena: all code categories | 1332 | 1273 | DeepSeek V4.1 Flash 1017 |
| Design Arena: ASCII art | 1242 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench design | 83.4% | 78.0% | DeepSeek V4.1 Flash 1017 |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | 61.3% | 58.6% | DeepSeek V4.1 Flash 1017 |
| LiveBench data analysis | 79.5% | 76.9% | DeepSeek V4.1 Flash 1017 |
| Public Benefits Bench (Vals AI) | Not measured | 65.6% | Only Grok 4.7 measured |
| SAGE (Vals AI) | Not measured | 40.8% | Only Grok 4.7 measured |
| MedScribe (Vals AI) | Not measured | 89.4% | Only Grok 4.7 measured |
| Long context reasoning (AA-LCR) | 82.7% | 80.0% | DeepSeek V4.1 Flash 1017 |
| DTBench | Not measured | 96.0% | Only Grok 4.7 measured |
| LMCA | Not measured | 49.4% | Only Grok 4.7 measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | Not measured | 1399 | Only Grok 4.7 measured |
| LMArena Text: instruction following | Not measured | 1406 | Only Grok 4.7 measured |
| LMArena Text: creative writing | Not measured | 1381 | Only Grok 4.7 measured |
| LMArena Vision | Not measured | 1231 | Only Grok 4.7 measured |
| LMArena Text: English | Not measured | 1411 | Only Grok 4.7 measured |
| LMArena Text: non-English | Not measured | 1386 | Only Grok 4.7 measured |
| LMArena Text: Chinese | Not measured | 1449 | Only Grok 4.7 measured |
| LMArena Text: German | Not measured | 1366 | Only Grok 4.7 measured |
| LMArena Text: Japanese | Not measured | 1359 | Only Grok 4.7 measured |
| LMArena Text: Korean | Not measured | 1383 | Only Grok 4.7 measured |
| LMArena Text: French | Not measured | 1431 | Only Grok 4.7 measured |
| LMArena Text: Spanish | Not measured | 1406 | Only Grok 4.7 measured |
| LMArena Text: Russian | Not measured | 1399 | Only Grok 4.7 measured |
| LMArena Text: Polish | Not measured | 1420 | Only Grok 4.7 measured |
| LMArena Text: multi-turn | Not measured | 1394 | Only Grok 4.7 measured |
| LMArena Text: longer queries | Not measured | 1416 | Only Grok 4.7 measured |
| LMArena Text: writing and language | Not measured | 1394 | Only Grok 4.7 measured |
| LMArena Text: entertainment and media | Not measured | 1376 | Only Grok 4.7 measured |
| LMArena Vision: English | Not measured | 1229 | Only Grok 4.7 measured |
| LMArena Vision: Chinese | Not measured | 1250 | Only Grok 4.7 measured |
| LMArena Vision: reading text | Not measured | 1241 | Only Grok 4.7 measured |
| LMArena Vision: creative writing | Not measured | 1217 | Only Grok 4.7 measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | 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 | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | DeepSeek | xAI |
| Weights | Open weights | No public weights listed |
| Released | October 17, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.15 | $2.00 |
| Output $/Mtok | $0.60 | $6.00 |
| Coding index | 70.3 | 66.7 |
| Independent measurements behind it | 4 | 5 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4.1 Flash 1017 better than Grok 4.7 for coding?
Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 66.7 for Grok 4.7, though on 4 benchmarks against 5. Pick Grok 4.7 for work measured by Code migration (Vals AI) or SciCode, where it leads.
Which is cheaper, DeepSeek V4.1 Flash 1017 or Grok 4.7?
DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for neither of them.
Which has the bigger context window, DeepSeek V4.1 Flash 1017 or Grok 4.7?
DeepSeek V4.1 Flash 1017, with 1.05M tokens against 500K.
How many benchmarks is the DeepSeek V4.1 Flash 1017 vs Grok 4.7 comparison based on?
36 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 Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.