DeepSeek V4.1 Flash vs Grok 4.7
Grok 4.7 leads DeepSeek V4.1 Flash on coding, 66.7 to 62.5 on the Vibe Coding Index, and DeepSeek V4.1 Flash costs 7.1x less per output token ($0.84 vs $6.00 per million). Updated October 22, 2026; 94 benchmarks have a result for both.
DeepSeek V4.1 Flash or Grok 4.7: which to pick
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 62.5 for DeepSeek V4.1 Flash.
Pick DeepSeek V4.1 Flash for output tokens 7.1x cheaper ($0.84 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
- Shared results
- 94
- DeepSeek V4.1 Flash only
- 7
- Grok 4.7 only
- 5
- 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
Grok 4.7
Grok 4.7 scores 66.7 against 62.5.
5 benchmarks behind each score
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 24.7.
Same board, both measured
Web design
Design Arena: websites
DeepSeek V4.1 Flash
DeepSeek V4.1 Flash leads, 1308 against 1255.
Same board, both measured
General
Vals Index
No call
Only Grok 4.7 has a Vals Index result, 58.6%.
Directional only
Long documents
Listed context window
DeepSeek V4.1 Flash
DeepSeek V4.1 Flash takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4.1 Flash
DeepSeek V4.1 Flash $0.0006, Grok 4.7 $0.0050 per turn.
List prices
At a glance
- Coding index
- DeepSeek V4.1 Flash 62.5 from 5 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Math, 11.9 points apart on average over 6 shared benchmarks.
- Widest single gap
- ProofBench: DeepSeek V4.1 Flash 54.0% against Grok 4.7 26.0%, 28.0 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4.1 Flash $0.84 against Grok 4.7 $6.00 per million output tokens, 7.1x apart.
- Context window
- DeepSeek V4.1 Flash 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 | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 8 | 8 | 1 tie | |
| Intelligence | 1 | 1 | ||
| Agentic work | 3 | 9 | ||
| Reasoning | 9 | 4 | ||
| Math | 6 | 0 | ||
| Knowledge | 4 | 3 | ||
| Web design | 7 | 0 | ||
| General | 26 | 4 | ||
| All shared boards | 64 | 29 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index88
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 90.2% | 84.5% | DeepSeek V4.1 Flash |
| LMArena WebDev | 1618 | 1637 | Grok 4.7 |
| Terminal-Bench 4 (Vals AI) | 19.7% | 28.8% | Grok 4.7 |
| Vibe Code Bench (Vals AI) | 84.7% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 45.6% | 44.8% | DeepSeek V4.1 Flash |
| ProgramBench (Vals AI) | 0.5% | 0.5% | Tie |
| IOI (Vals AI) | 40.3% | 57.7% | Grok 4.7 |
| Terminal-Bench 2.1 (Vals AI) | 74.5% | 73.4% | DeepSeek V4.1 Flash |
| SWE-bench Multimodal (Vals AI) | 46.5% | 42.9% | DeepSeek V4.1 Flash |
| Vibe Code Bench 1-100 (Vals AI) | 16.4% | Not measured | Only DeepSeek V4.1 Flash measured |
| SkillsBench (Vals AI) | 69.8% | Not measured | Only DeepSeek V4.1 Flash measured |
| CyberBench (Vals AI) | 73.7% | 69.5% | DeepSeek V4.1 Flash |
| SciCode | 51.9% | 57.8% | Grok 4.7 |
| FrontierCode | 43.9% | 47.6% | Grok 4.7 |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| ALE-Bench | 1092.3 | Not measured | Only DeepSeek V4.1 Flash measured |
| LMArena Text: coding | 1502 | 1432 | DeepSeek V4.1 Flash |
| LMArena Text: software and IT | 1496 | 1421 | DeepSeek V4.1 Flash |
| LMArena WebDev: React | 1628 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1612 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1606 | 1586 | DeepSeek V4.1 Flash |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 24.7 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 155.9 | 154.4 | DeepSeek V4.1 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index39
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench research | 86.8% | 86.4% | DeepSeek V4.1 Flash |
| LiveBench browser | 84.0% | 60.0% | DeepSeek V4.1 Flash |
| LiveBench long agentic | 40.1% | 50.1% | Grok 4.7 |
| SREBench (Vals AI) | 0.8% | 3.8% | Grok 4.7 |
| Finance Agent (Vals AI) | 53.5% | 52.3% | DeepSeek V4.1 Flash |
| Tax Agent Bench (Vals AI) | 26.6% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 41.4% | 47.1% | Grok 4.7 |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 18.3% | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 57.2% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | 67.8% | 69.3% | Grok 4.7 |
| Terminal-Bench-Science (Vals AI) | 0.0% | 10.0% | Grok 4.7 |
| Vals Science Index | 29.6% | 34.8% | Grok 4.7 |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| APEX-Agents | 39.5% | 54.6% | Grok 4.7 |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 4.7 measured |
| Neither model has a result on the other 26 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index94
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench reasoning | 86.7% | 82.7% | DeepSeek V4.1 Flash |
| MysteryMechanism (Vals AI) | 21.2% | 25.2% | Grok 4.7 |
| Humanity's Last Exam (Artificial Analysis run) | 39.2% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 89.8% | 92.7% | Grok 4.7 |
| ARC-AGI | 94.5% | 90.2% | DeepSeek V4.1 Flash |
| ARC-AGI-2 | 72.9% | 61.4% | DeepSeek V4.1 Flash |
| Chess puzzles | 48.0% | 41.0% | DeepSeek V4.1 Flash |
| Mystery game puzzles | 43.0% | 29.0% | DeepSeek V4.1 Flash |
| LMArena Text: hard prompts | 1483 | 1415 | DeepSeek V4.1 Flash |
| LMArena Text: expert | 1501 | 1439 | DeepSeek V4.1 Flash |
| LMArena Text: hard prompts in English | 1488 | 1427 | DeepSeek V4.1 Flash |
| LMArena Vision: diagrams | 1297 | 1254 | DeepSeek V4.1 Flash |
| LMArena Vision: homework | 1307 | 1309 | Grok 4.7 |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 98.3% | 98.1% | DeepSeek V4.1 Flash |
| FrontierMath, tiers 1 to 3 | 67.4% | 53.0% | DeepSeek V4.1 Flash |
| FrontierMath, tier 4 | 26.8% | 17.1% | DeepSeek V4.1 Flash |
| ProofBench | 54.0% | 26.0% | DeepSeek V4.1 Flash |
| LMArena Text: math | 1478 | 1414 | DeepSeek V4.1 Flash |
| LMArena Text: mathematical work | 1485 | 1435 | DeepSeek V4.1 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | 83.3% | 84.4% | Grok 4.7 |
| MedCode (Vals AI) | 41.2% | 49.5% | Grok 4.7 |
| SimpleQA Verified | 42.9% | 56.0% | Grok 4.7 |
| LMArena Text: science | 1469 | 1419 | DeepSeek V4.1 Flash |
| LMArena Text: medicine and healthcare | 1484 | 1395 | DeepSeek V4.1 Flash |
| LMArena Text: legal and government | 1443 | 1423 | DeepSeek V4.1 Flash |
| LMArena Text: business and finance | 1461 | 1389 | DeepSeek V4.1 Flash |
| 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 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1308 | 1255 | DeepSeek V4.1 Flash |
| Design Arena: UI components | 1312 | 1275 | DeepSeek V4.1 Flash |
| Design Arena: game dev | 1330 | 1314 | DeepSeek V4.1 Flash |
| Design Arena: data viz | 1291 | 1238 | DeepSeek V4.1 Flash |
| Design Arena: 3D | 1355 | 1274 | DeepSeek V4.1 Flash |
| Design Arena: all code categories | 1320 | 1273 | DeepSeek V4.1 Flash |
| Design Arena: SVG | 1245 | Not measured | Only DeepSeek V4.1 Flash measured |
| Design Arena: ASCII art | 1265 | Not measured | Only DeepSeek V4.1 Flash measured |
| LiveBench design | 79.2% | 78.0% | DeepSeek V4.1 Flash |
GeneralLike-for-likePublic boards, shown as published, kept out of the index264
| Benchmark | DeepSeek V4.1 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | 79.3% | 76.9% | DeepSeek V4.1 Flash |
| Public Benefits Bench (Vals AI) | 64.3% | 65.6% | Grok 4.7 |
| SAGE (Vals AI) | 47.9% | 40.8% | DeepSeek V4.1 Flash |
| MedScribe (Vals AI) | 85.5% | 89.4% | Grok 4.7 |
| Long context reasoning (AA-LCR) | 84.0% | 80.0% | DeepSeek V4.1 Flash |
| DTBench | 89.9% | 96.0% | Grok 4.7 |
| LMCA | 47.0% | 49.4% | Grok 4.7 |
| Surface Evolver Bench | 46.3% | Not measured | Only DeepSeek V4.1 Flash measured |
| Furniture assembly | 34.2% | 20.8% | DeepSeek V4.1 Flash |
| LMArena Text | 1464 | 1399 | DeepSeek V4.1 Flash |
| LMArena Text: instruction following | 1473 | 1406 | DeepSeek V4.1 Flash |
| LMArena Text: creative writing | 1437 | 1381 | DeepSeek V4.1 Flash |
| LMArena Vision | 1278 | 1231 | DeepSeek V4.1 Flash |
| LMArena Text: English | 1473 | 1411 | DeepSeek V4.1 Flash |
| LMArena Text: non-English | 1449 | 1386 | DeepSeek V4.1 Flash |
| LMArena Text: Chinese | 1501 | 1449 | DeepSeek V4.1 Flash |
| LMArena Text: German | 1470 | 1366 | DeepSeek V4.1 Flash |
| LMArena Text: Japanese | 1432 | 1359 | DeepSeek V4.1 Flash |
| LMArena Text: Korean | 1436 | 1383 | DeepSeek V4.1 Flash |
| LMArena Text: French | 1465 | 1431 | DeepSeek V4.1 Flash |
| LMArena Text: Spanish | 1459 | 1406 | DeepSeek V4.1 Flash |
| LMArena Text: Russian | 1467 | 1399 | DeepSeek V4.1 Flash |
| LMArena Text: Polish | 1457 | 1420 | DeepSeek V4.1 Flash |
| LMArena Text: multi-turn | 1461 | 1394 | DeepSeek V4.1 Flash |
| LMArena Text: longer queries | 1473 | 1416 | DeepSeek V4.1 Flash |
| LMArena Text: writing and language | 1450 | 1394 | DeepSeek V4.1 Flash |
| LMArena Text: entertainment and media | 1445 | 1376 | DeepSeek V4.1 Flash |
| LMArena Vision: English | 1288 | 1229 | DeepSeek V4.1 Flash |
| LMArena Vision: Chinese | 1327 | 1250 | DeepSeek V4.1 Flash |
| LMArena Vision: reading text | 1282 | 1241 | DeepSeek V4.1 Flash |
| LMArena Vision: humor | 1260 | Not measured | Only DeepSeek V4.1 Flash measured |
| LMArena Vision: creative writing | 1275 | 1217 | DeepSeek V4.1 Flash |
| Neither model has a result on the other 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4.1 Flash | 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 costs less
Repository review
50K input + 3K output tokens
DeepSeek V4.1 Flash costs less
Agent loop
200K input + 10K output tokens
DeepSeek V4.1 Flash 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 | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | DeepSeek | xAI |
| Weights | Open weights | No public weights listed |
| Released | September 10, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.2225 | $2.00 |
| Output $/Mtok | $0.84 | $6.00 |
| Coding index | 62.5 | 66.7 |
| Independent measurements behind it | 5 | 5 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4.1 Flash better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 62.5 for DeepSeek V4.1 Flash. Pick DeepSeek V4.1 Flash for output tokens 7.1x cheaper ($0.84 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
Which is cheaper, DeepSeek V4.1 Flash or Grok 4.7?
DeepSeek V4.1 Flash costs $0.2225 per million input tokens and $0.84 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 or Grok 4.7?
DeepSeek V4.1 Flash, with 1.05M tokens against 500K.
How many benchmarks is the DeepSeek V4.1 Flash vs Grok 4.7 comparison based on?
94 benchmarks have a result for both models as of October 22, 2026. DeepSeek V4.1 Flash's coding index rests on 5 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.