DeepSeek V4 Flash 0731 vs Grok 4.7
Grok 4.7 leads DeepSeek V4 Flash 0731 on coding, 66.7 to 51.8 on the Vibe Coding Index, and DeepSeek V4 Flash 0731 costs 21.4x less per output token ($0.28 vs $6.00 per million). Updated October 21, 2026; 40 benchmarks have a result for both.
DeepSeek V4 Flash 0731 or Grok 4.7: which to pick
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 51.8 for DeepSeek V4 Flash 0731.
Pick DeepSeek V4 Flash 0731 for output tokens 21.4x cheaper ($0.28 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
- Shared results
- 40
- DeepSeek V4 Flash 0731 only
- 15
- Grok 4.7 only
- 59
- 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 51.8.
4 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 34.3.
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
No call
Only DeepSeek V4 Flash 0731 has a GPQA Diamond result, 89.9%.
Directional only
Knowledge
MMLU Pro
No call
Only DeepSeek V4 Flash 0731 has a MMLU Pro result, 86.2%.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1254 against 1238.
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 Flash 0731
DeepSeek V4 Flash 0731 takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 $0.0003, Grok 4.7 $0.0050 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, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Coding, 13.0 points apart on average over 9 shared benchmarks.
- Widest single gap
- FrontierCode: DeepSeek V4 Flash 0731 18.8% against Grok 4.7 47.6%, 44.3 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4 Flash 0731 $0.28 against Grok 4.7 $6.00 per million output tokens, 21.4x apart.
- Context window
- DeepSeek V4 Flash 0731 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 Flash 0731 | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 1 | 8 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 0 | 6 | ||
| Reasoning | 1 | 4 | 1 tie | |
| Math | 3 | 1 | ||
| Knowledge | 0 | 3 | ||
| Web design | 0 | 6 | ||
| General | 0 | 4 | ||
| All shared boards | 6 | 33 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index18
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | Not measured | 1637 | Only Grok 4.7 measured |
| AA Coding Index | 69.1 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveCodeBench (Vals AI) | 87.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SWE-bench Verified (Vals AI) | 88.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 4 (Vals AI) | 18.7% | 28.8% | Grok 4.7 |
| Vibe Code Bench (Vals AI) | 74.7% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 38.6% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | Grok 4.7 |
| IOI (Vals AI) | 32.7% | 57.7% | Grok 4.7 |
| Terminal-Bench 2.1 (Vals AI) | 67.0% | 73.4% | Grok 4.7 |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| SkillsBench (Vals AI) | 50.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| CyberBench (Vals AI) | 72.1% | 69.5% | DeepSeek V4 Flash 0731 |
| SciCode | 50.3% | 57.8% | Grok 4.7 |
| FrontierCode | 18.8% | 47.6% | Grok 4.7 |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| WeirdML | 63.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ALE-Bench | 1306.1 | Not measured | Only DeepSeek V4 Flash 0731 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 | Not measured | 1663 | Only Grok 4.7 measured |
| LMArena WebDev: HTML | Not measured | 1627 | Only Grok 4.7 measured |
| LMArena WebDev: from an image | Not measured | 1586 | Only Grok 4.7 measured |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.3 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 154.8 | 154.4 | DeepSeek V4 Flash 0731 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 41.0 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveBench research | Not measured | 86.4% | Only Grok 4.7 measured |
| LiveBench browser | Not measured | 60.0% | Only Grok 4.7 measured |
| LiveBench long agentic | Not measured | 50.1% | Only Grok 4.7 measured |
| SREBench (Vals AI) | Not measured | 3.8% | Only Grok 4.7 measured |
| Finance Agent (Vals AI) | 49.5% | 52.3% | Grok 4.7 |
| Tax Agent Bench (Vals AI) | 28.1% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 30.3% | 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.0% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | 64.4% | 69.3% | Grok 4.7 |
| Terminal-Bench-Science (Vals AI) | 4.3% | 10.0% | Grok 4.7 |
| 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 index14
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 89.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveBench reasoning | Not measured | 82.7% | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| GPQA Diamond (Artificial Analysis run) | 90.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Humanity's Last Exam (Artificial Analysis run) | 38.6% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 91.0% | 92.7% | Grok 4.7 |
| ARC-AGI | 89.0% | 90.2% | Grok 4.7 |
| ARC-AGI-2 | 61.4% | 61.4% | Tie |
| SimpleBench | 61.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Chess puzzles | 32.0% | 41.0% | Grok 4.7 |
| Mystery game puzzles | 34.0% | 29.0% | DeepSeek V4 Flash 0731 |
| 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 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index31
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 94.4% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 57.5% | 53.0% | DeepSeek V4 Flash 0731 |
| FrontierMath, tier 4 | 24.4% | 17.1% | DeepSeek V4 Flash 0731 |
| ProofBench | 56.0% | 26.0% | DeepSeek V4 Flash 0731 |
| 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 index03
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LegalBench (Vals AI) | 77.7% | 84.4% | Grok 4.7 |
| CorpFin (Vals AI) | 61.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| TaxEval (Vals AI) | 70.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MedCode (Vals AI) | 41.4% | 49.5% | Grok 4.7 |
| SimpleQA Verified | 33.6% | 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 8 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1238 | 1254 | Grok 4.7 |
| Design Arena: UI components | 1235 | 1275 | Grok 4.7 |
| Design Arena: game dev | 1208 | 1313 | Grok 4.7 |
| Design Arena: data viz | 1180 | 1235 | Grok 4.7 |
| Design Arena: 3D | 1209 | 1270 | Grok 4.7 |
| Design Arena: all code categories | 1230 | 1271 | Grok 4.7 |
| Design Arena: SVG | 1185 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: ASCII art | 1090 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveBench design | Not measured | 78.0% | Only Grok 4.7 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | DeepSeek V4 Flash 0731 | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | Not measured | 76.9% | Only Grok 4.7 measured |
| 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) | 80.4% | 89.4% | Grok 4.7 |
| Long context reasoning (AA-LCR) | 79.7% | 80.0% | Grok 4.7 |
| DTBench | 90.9% | 96.0% | Grok 4.7 |
| LMCA | 41.7% | 49.4% | Grok 4.7 |
| 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 Flash 0731 | 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 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 | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | DeepSeek | xAI |
| Weights | Open weights | No public weights listed |
| Released | July 31, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.14 | $2.00 |
| Output $/Mtok | $0.28 | $6.00 |
| Coding index | 51.8 | 66.7 |
| Independent measurements behind it | 4 | 5 |
| Cost per solved task | $0.01 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4 Flash 0731 better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 51.8 for DeepSeek V4 Flash 0731. Pick DeepSeek V4 Flash 0731 for output tokens 21.4x cheaper ($0.28 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
Which is cheaper, DeepSeek V4 Flash 0731 or Grok 4.7?
DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for DeepSeek V4 Flash 0731 only.
Which has the bigger context window, DeepSeek V4 Flash 0731 or Grok 4.7?
DeepSeek V4 Flash 0731, with 1.05M tokens against 500K.
How many benchmarks is the DeepSeek V4 Flash 0731 vs Grok 4.7 comparison based on?
40 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 Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.