Enter opens the highlighted result. Esc closes.

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 0731DeepSeek
Coding
51.8
Overall
55.2
Output $/M
$0.28
6
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
33
vs boards won of 40 shared, 1 tied

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.

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.

Boards won, where both have a result
CategoryDeepSeek V4 Flash 0731BarsGrok 4.7Ties
Coding18
Intelligence11
Agentic work06
Reasoning141 tie
Math31
Knowledge03
Web design06
General04
All shared boards6331 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index18
Coding benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDevNot measured1637Only Grok 4.7 measured
AA Coding Index69.1Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveCodeBench (Vals AI)87.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
SWE-bench Verified (Vals AI)88.8%Not measuredOnly 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 measured42.9%Only Grok 4.7 measured
SkillsBench (Vals AI)50.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
CyberBench (Vals AI)72.1%69.5%DeepSeek V4 Flash 0731
SciCode50.3%57.8%Grok 4.7
FrontierCode18.8%47.6%Grok 4.7
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML63.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
ALE-Bench1306.1Not measuredOnly DeepSeek V4 Flash 0731 measured
LMArena Text: codingNot measured1432Only Grok 4.7 measured
LMArena Text: software and ITNot measured1421Only Grok 4.7 measured
LMArena WebDev: ReactNot measured1663Only Grok 4.7 measured
LMArena WebDev: HTMLNot measured1627Only Grok 4.7 measured
LMArena WebDev: from an imageNot measured1586Only 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
Intelligence benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
AA Intelligence Index34.346.4Grok 4.7
Epoch Capabilities Index154.8154.4DeepSeek V4 Flash 0731
Agentic workLike-for-likePublic boards, shown as published, kept out of the index06
Agentic work benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
AA Agentic Index41.0Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveBench researchNot measured86.4%Only Grok 4.7 measured
LiveBench browserNot measured60.0%Only Grok 4.7 measured
LiveBench long agenticNot measured50.1%Only Grok 4.7 measured
SREBench (Vals AI)Not measured3.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 measured18.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 IndexNot measured34.8%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
Vending-Bench 2Not measured$10,537Only 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
Reasoning benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
GPQA Diamond89.9%Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
GPQA Diamond (Artificial Analysis run)90.8%Not measuredOnly 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-AGI89.0%90.2%Grok 4.7
ARC-AGI-261.4%61.4%Tie
SimpleBench61.1%Not measuredOnly DeepSeek V4 Flash 0731 measured
Chess puzzles32.0%41.0%Grok 4.7
Mystery game puzzles34.0%29.0%DeepSeek V4 Flash 0731
LMArena Text: hard promptsNot measured1415Only Grok 4.7 measured
LMArena Text: expertNot measured1439Only Grok 4.7 measured
LMArena Text: hard prompts in EnglishNot measured1427Only Grok 4.7 measured
LMArena Vision: diagramsNot measured1254Only Grok 4.7 measured
LMArena Vision: homeworkNot measured1309Only 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
Math benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
OTIS Mock AIME94.4%98.1%Grok 4.7
FrontierMath, tiers 1 to 357.5%53.0%DeepSeek V4 Flash 0731
FrontierMath, tier 424.4%17.1%DeepSeek V4 Flash 0731
ProofBench56.0%26.0%DeepSeek V4 Flash 0731
LMArena Text: mathNot measured1414Only Grok 4.7 measured
LMArena Text: mathematical workNot measured1435Only 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
Knowledge benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
MMLU Pro86.2%Not measuredOnly DeepSeek V4 Flash 0731 measured
LegalBench (Vals AI)77.7%84.4%Grok 4.7
CorpFin (Vals AI)61.9%Not measuredOnly DeepSeek V4 Flash 0731 measured
TaxEval (Vals AI)70.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
MedCode (Vals AI)41.4%49.5%Grok 4.7
SimpleQA Verified33.6%56.0%Grok 4.7
LMArena Text: scienceNot measured1419Only Grok 4.7 measured
LMArena Text: medicine and healthcareNot measured1395Only Grok 4.7 measured
LMArena Text: legal and governmentNot measured1423Only Grok 4.7 measured
LMArena Text: business and financeNot measured1389Only 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
Web design benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
Design Arena: websites12381254Grok 4.7
Design Arena: UI components12351275Grok 4.7
Design Arena: game dev12081313Grok 4.7
Design Arena: data viz11801235Grok 4.7
Design Arena: 3D12091270Grok 4.7
Design Arena: all code categories12301271Grok 4.7
Design Arena: SVG1185Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: ASCII art1090Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
General benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysisNot measured76.9%Only Grok 4.7 measured
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)Not measured40.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
DTBench90.9%96.0%Grok 4.7
LMCA41.7%49.4%Grok 4.7
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena TextNot measured1399Only Grok 4.7 measured
LMArena Text: instruction followingNot measured1406Only Grok 4.7 measured
LMArena Text: creative writingNot measured1381Only Grok 4.7 measured
LMArena VisionNot measured1231Only Grok 4.7 measured
LMArena Text: EnglishNot measured1411Only Grok 4.7 measured
LMArena Text: non-EnglishNot measured1386Only Grok 4.7 measured
LMArena Text: ChineseNot measured1449Only Grok 4.7 measured
LMArena Text: GermanNot measured1366Only Grok 4.7 measured
LMArena Text: JapaneseNot measured1359Only Grok 4.7 measured
LMArena Text: KoreanNot measured1383Only Grok 4.7 measured
LMArena Text: FrenchNot measured1431Only Grok 4.7 measured
LMArena Text: SpanishNot measured1406Only Grok 4.7 measured
LMArena Text: RussianNot measured1399Only Grok 4.7 measured
LMArena Text: PolishNot measured1420Only Grok 4.7 measured
LMArena Text: multi-turnNot measured1394Only Grok 4.7 measured
LMArena Text: longer queriesNot measured1416Only Grok 4.7 measured
LMArena Text: writing and languageNot measured1394Only Grok 4.7 measured
LMArena Text: entertainment and mediaNot measured1376Only Grok 4.7 measured
LMArena Vision: EnglishNot measured1229Only Grok 4.7 measured
LMArena Vision: ChineseNot measured1250Only Grok 4.7 measured
LMArena Vision: reading textNot measured1241Only Grok 4.7 measured
LMArena Vision: creative writingNot measured1217Only 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
Image generation benchmarks for DeepSeek V4 Flash 0731 and Grok 4.7
BenchmarkDeepSeek V4 Flash 0731Grok 4.7Leader
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$0.0003Fits in one request
Grok 4.7$0.0050Fits in one request

DeepSeek V4 Flash 0731 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4 Flash 0731$0.0078Fits in one request
Grok 4.7$0.118Fits in one request

DeepSeek V4 Flash 0731 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4 Flash 0731$0.031Fits in one request
Grok 4.7$0.460Fits in one request

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.

Specifications of DeepSeek V4 Flash 0731 and Grok 4.7
SpecificationDeepSeek V4 Flash 0731SpaceXAI Grok 4.7
MakerDeepSeekxAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 31, 2026September 21, 2026
Context window1.05M500K
Input $/Mtok$0.14$2.00
Output $/Mtok$0.28$6.00
Coding index51.866.7
Independent measurements behind it45
Cost per solved task$0.01Not computable
SourceOpenRouter listingOpenRouter 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/deepseek-v4-flash-0731-vs-grok-4-7" title="DeepSeek V4 Flash 0731 vs Grok 4.7, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/deepseek-v4-flash-0731-vs-grok-4-7">LLMBenchmark.ai, DeepSeek V4 Flash 0731 vs Grok 4.7</a></p>