Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs Grok 4.20

DeepSeek V4.1 Flash 1017 leads Grok 4.20 on coding, 70.3 to 33.3 on the Vibe Coding Index, and DeepSeek V4.1 Flash 1017 costs 4.2x less per output token ($0.60 vs $2.50 per million). Updated October 22, 2026; 16 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
70.3
Overall
67.6
Output $/M
$0.60
16
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
0
vs boards won of 16 shared

DeepSeek V4.1 Flash 1017 or Grok 4.20: which to pick

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 33.3 for Grok 4.20.

Pick Grok 4.20 for a larger context window (2M against 1.05M tokens).

Shared results
16
DeepSeek V4.1 Flash 1017 only
23
Grok 4.20 only
39
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.

At a glance

Coding index
DeepSeek V4.1 Flash 1017 70.3 from 4 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Coding, 63.8 points apart on average over 2 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): DeepSeek V4.1 Flash 1017 87.7% against Grok 4.20 4.1%, 83.7 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.60 against Grok 4.20 $2.50 per million output tokens, 4.2x apart.
Context window
DeepSeek V4.1 Flash 1017 takes 1.05M tokens, Grok 4.20 2M.

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.1 Flash 1017BarsGrok 4.20Ties
Coding20
Intelligence10
Agentic work40
Reasoning10
Web design70
General10
All shared boards160
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
LiveBench coding96.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev1664Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveCodeBench (Vals AI)Not measured84.3%Only Grok 4.20 measured
SWE-bench Verified (Vals AI)Not measured72.2%Only Grok 4.20 measured
Terminal-Bench 4 (Vals AI)31.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Vibe Code Bench (Vals AI)87.7%4.1%DeepSeek V4.1 Flash 1017
Code migration (Vals AI)44.2%0.3%DeepSeek V4.1 Flash 1017
Terminal-Bench 2.1 (Vals AI)Not measured44.2%Only Grok 4.20 measured
SciCode55.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.9%Only Grok 4.20 measured
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
WeirdMLNot measured52.3%Only Grok 4.20 measured
ALE-Bench1622.0Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev: React1667Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev: HTML1687Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
AA Intelligence Index39.525.7DeepSeek V4.1 Flash 1017
Epoch Capabilities IndexNot measured152.1Only Grok 4.20 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
Design Arena: agents building web appsNot measured1144Only Grok 4.20 measured
Design Arena: agents building full-stack appsNot measured1054Only Grok 4.20 measured
Design Arena: agents building mobile appsNot measured1090Only Grok 4.20 measured
Design Arena: agents building Android appsNot measured1045Only Grok 4.20 measured
Design Arena: agents building Godot gamesNot measured1089Only Grok 4.20 measured
Design Arena: HTML slidesNot measured1180Only Grok 4.20 measured
Design Arena: spreadsheets1245Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench research79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench browser76.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench long agentic50.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Finance Agent (Vals AI)57.0%28.5%DeepSeek V4.1 Flash 1017
Tax Agent Bench (Vals AI)44.4%7.0%DeepSeek V4.1 Flash 1017
Legal Research Bench (Vals AI)45.2%13.9%DeepSeek V4.1 Flash 1017
Harvey's Legal Agent Benchmark (Vals AI)14.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Excel Modeling Benchmark (Vals AI)61.8%11.7%DeepSeek V4.1 Flash 1017
τ²-Bench TelecomNot measured93.0%Only Grok 4.20 measured
Vending-Bench 2Not measured$4,663Only Grok 4.20 measured
Neither model has a result on the other 24 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
GPQA DiamondNot measured88.6%Only Grok 4.20 measured
LiveBench reasoning89.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
MMMU Pro (Vals AI)Not measured83.5%Only Grok 4.20 measured
GPQA Diamond (Artificial Analysis run)Not measured91.1%Only Grok 4.20 measured
Humanity's Last Exam (Artificial Analysis run)43.3%34.5%DeepSeek V4.1 Flash 1017
GPQA Diamond (Epoch AI run)93.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
ARC-AGINot measured89.5%Only Grok 4.20 measured
ARC-AGI-2Not measured65.1%Only Grok 4.20 measured
Chess puzzles46.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Mystery game puzzles49.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Kagi LLM BenchmarkNot measured75.0%Only Grok 4.20 measured
Neither model has a result on the other 11 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
AIMENot measured96.5%Only Grok 4.20 measured
OTIS Mock AIME99.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierMath, tiers 1 to 371.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierMath, tier 446.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
MMLU ProNot measured86.3%Only Grok 4.20 measured
LegalBench (Vals AI)Not measured77.7%Only Grok 4.20 measured
CaseLaw (Vals AI)Not measured54.4%Only Grok 4.20 measured
CorpFin (Vals AI)Not measured63.7%Only Grok 4.20 measured
TaxEval (Vals AI)Not measured74.1%Only Grok 4.20 measured
MortgageTax (Vals AI)Not measured45.4%Only Grok 4.20 measured
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)Not measured32.2%Only Grok 4.20 measured
SimpleQA Verified42.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 9 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index70
Web design benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
Design Arena: websites13111229DeepSeek V4.1 Flash 1017
Design Arena: UI components13031200DeepSeek V4.1 Flash 1017
Design Arena: game dev13571193DeepSeek V4.1 Flash 1017
Design Arena: data viz13301217DeepSeek V4.1 Flash 1017
Design Arena: 3D13581193DeepSeek V4.1 Flash 1017
Design Arena: all code categories13321221DeepSeek V4.1 Flash 1017
Design Arena: SVGNot measured1165Only Grok 4.20 measured
Design Arena: ASCII art12421175DeepSeek V4.1 Flash 1017
LiveBench design83.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
Vals Index61.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
SAGE (Vals AI)Not measured38.2%Only Grok 4.20 measured
MedScribe (Vals AI)Not measured63.4%Only Grok 4.20 measured
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBenchNot measured81.2%Only Grok 4.20 measured
Long context reasoning (AA-LCR)82.7%69.0%DeepSeek V4.1 Flash 1017
DTBenchNot measured90.1%Only Grok 4.20 measured
LMCANot measured38.7%Only Grok 4.20 measured
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
Neither model has a result on the other 35 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for DeepSeek V4.1 Flash 1017 and Grok 4.20
BenchmarkDeepSeek V4.1 Flash 1017Grok 4.20Leader
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$0.0004Fits in one request
Grok 4.20$0.0025Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash 1017$0.0093Fits in one request
Grok 4.20$0.070Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash 1017$0.036Fits in one request
Grok 4.20$0.275Fits in one request

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.

Specifications of DeepSeek V4.1 Flash 1017 and Grok 4.20
SpecificationDeepSeek V4.1 Flash 1017SpaceXAI Grok 4.20
MakerDeepSeekxAI
WeightsOpen weightsNo public weights listed
ReleasedOctober 17, 2026March 31, 2026
Context window1.05M2M
Input $/Mtok$0.15$1.25
Output $/Mtok$0.60$2.50
Coding index70.333.3
Independent measurements behind it42
Cost per solved taskNot computable$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4.1 Flash 1017 better than Grok 4.20 for coding?

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 for a larger context window (2M against 1.05M tokens).

Which is cheaper, DeepSeek V4.1 Flash 1017 or Grok 4.20?

DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Cost per solved task is known for Grok 4.20 only.

Which has the bigger context window, DeepSeek V4.1 Flash 1017 or Grok 4.20?

Grok 4.20, with 2M tokens against 1.05M.

How many benchmarks is the DeepSeek V4.1 Flash 1017 vs Grok 4.20 comparison based on?

16 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.20's on 2. 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-1-flash-1017-vs-grok-4-20" title="DeepSeek V4.1 Flash 1017 vs Grok 4.20, 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-1-flash-1017-vs-grok-4-20">LLMBenchmark.ai, DeepSeek V4.1 Flash 1017 vs Grok 4.20</a></p>