Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs Phi 4

DeepSeek V4.1 Flash 1017 leads Phi 4 on the Artificial Analysis Intelligence Index, 39.5 to 5.9, and Phi 4 costs 4.3x less per output token ($0.14 vs $0.60 per million). Updated October 21, 2026; 5 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
70.3
Overall
39.5
Output $/M
$0.60
5
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 5 shared

DeepSeek V4.1 Flash 1017 or Phi 4: which to pick

Only DeepSeek V4.1 Flash 1017 has a coding score, 70.3 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding.

Pick Phi 4 for output tokens 4.3x cheaper ($0.14 vs $0.60 per million).

Shared results
5
DeepSeek V4.1 Flash 1017 only
34
Phi 4 only
40
Like-for-like categories
4 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, Phi 4 not benchmarked.
Widest category
Math, 85.7 points apart on average over 1 shared benchmark.
Widest single gap
OTIS Mock AIME: DeepSeek V4.1 Flash 1017 99.4% against Phi 4 13.8%, 85.7 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.60 against Phi 4 $0.14 per million output tokens, 4.3x apart.
Context window
DeepSeek V4.1 Flash 1017 takes 1.05M tokens, Phi 4 16K.

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 1017BarsPhi 4Ties
Intelligence10
Reasoning20
Math10
General10
All shared boards50
CodingDirectional onlySix of these boards feed the Vibe Coding Index13 boards, none shared
Coding benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
LiveBench coding96.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev1664Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench 4 (Vals AI)31.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Vibe Code Bench (Vals AI)87.7%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Code migration (Vals AI)44.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveCodeBench (Artificial Analysis run)Not measured23.1%Only Phi 4 measured
SciCode55.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only Phi 4 measured
ALE-Bench1622.0Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena Text: codingNot measured1231Only Phi 4 measured
LMArena Text: software and ITNot measured1228Only Phi 4 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 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
AA Intelligence Index39.55.9DeepSeek V4.1 Flash 1017
Epoch Capabilities IndexNot measured130.5Only Phi 4 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
Design Arena: spreadsheets1230Not 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%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Tax Agent Bench (Vals AI)44.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Legal Research Bench (Vals AI)45.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Harvey's Legal Agent Benchmark (Vals AI)14.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Excel Modeling Benchmark (Vals AI)61.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
τ²-Bench TelecomNot measured0.0%Only Phi 4 measured
BALROGNot measured11.6%Only Phi 4 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
LiveBench reasoning89.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GPQA Diamond (Artificial Analysis run)Not measured57.5%Only Phi 4 measured
Humanity's Last Exam (Artificial Analysis run)43.3%3.8%DeepSeek V4.1 Flash 1017
GPQA Diamond (Epoch AI run)93.2%56.1%DeepSeek V4.1 Flash 1017
Chess puzzles46.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Mystery game puzzles49.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena Text: hard promptsNot measured1220Only Phi 4 measured
LMArena Text: expertNot measured1203Only Phi 4 measured
LMArena Text: hard prompts in EnglishNot measured1230Only Phi 4 measured
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index10
Math benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIME99.4%13.8%DeepSeek V4.1 Flash 1017
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
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: mathNot measured1246Only Phi 4 measured
LMArena Text: mathematical workNot measured1254Only Phi 4 measured
Neither model has a result on the other 5 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
SimpleQA Verified42.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: scienceNot measured1206Only Phi 4 measured
LMArena Text: medicine and healthcareNot measured1202Only Phi 4 measured
LMArena Text: legal and governmentNot measured1241Only Phi 4 measured
LMArena Text: business and financeNot measured1199Only Phi 4 measured
Neither model has a result on the other 10 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
Design Arena: websites1312Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: UI components1300Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: game dev1362Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: data viz1335Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: 3D1372Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: all code categories1334Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: ASCII art1243Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench design83.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for DeepSeek V4.1 Flash 1017 and Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
Vals Index61.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
IFBenchNot measured23.5%Only Phi 4 measured
Long context reasoning (AA-LCR)82.7%0.0%DeepSeek V4.1 Flash 1017
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena TextNot measured1217Only Phi 4 measured
LMArena Text: instruction followingNot measured1201Only Phi 4 measured
LMArena Text: creative writingNot measured1181Only Phi 4 measured
LMArena Text: EnglishNot measured1231Only Phi 4 measured
LMArena Text: non-EnglishNot measured1197Only Phi 4 measured
LMArena Text: ChineseNot measured1212Only Phi 4 measured
LMArena Text: GermanNot measured1222Only Phi 4 measured
LMArena Text: JapaneseNot measured1158Only Phi 4 measured
LMArena Text: KoreanNot measured1151Only Phi 4 measured
LMArena Text: FrenchNot measured1224Only Phi 4 measured
LMArena Text: SpanishNot measured1234Only Phi 4 measured
LMArena Text: RussianNot measured1209Only Phi 4 measured
LMArena Text: multi-turnNot measured1206Only Phi 4 measured
LMArena Text: longer queriesNot measured1217Only Phi 4 measured
LMArena Text: writing and languageNot measured1198Only Phi 4 measured
LMArena Text: entertainment and mediaNot measured1162Only Phi 4 measured
Neither model has a result on the other 25 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 Phi 4
BenchmarkDeepSeek V4.1 Flash 1017Phi 4Leader
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
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash 1017$0.0093Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash 1017$0.036Fits in one request
Phi 4$0.015Exceeds the context window

Phi 4 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 Phi 4
SpecificationDeepSeek V4.1 Flash 1017Microsoft Phi 4
MakerDeepSeekMicrosoft
WeightsOpen weightsOpen weights
ReleasedOctober 17, 2026January 10, 2025
Context window1.05M16K
Input $/Mtok$0.15$0.07
Output $/Mtok$0.60$0.14
Coding index70.3Not benchmarked
Independent measurements behind it40
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4.1 Flash 1017 better than Phi 4 for coding?

Only DeepSeek V4.1 Flash 1017 has a coding score, 70.3 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding. Pick Phi 4 for output tokens 4.3x cheaper ($0.14 vs $0.60 per million).

Which is cheaper, DeepSeek V4.1 Flash 1017 or Phi 4?

DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.

Which has the bigger context window, DeepSeek V4.1 Flash 1017 or Phi 4?

DeepSeek V4.1 Flash 1017, with 1.05M tokens against 16K.

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

5 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4.1 Flash 1017's coding index rests on 4 independent benchmarks and Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next