Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash vs Phi 4

Updated October 21, 2026. 33 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

DeepSeek V4.1 FlashDeepSeek
Coding
62.5
Overall
24.7
Output $/M
$0.84
33
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 33 shared

Decision reading

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

Phi 4 has the edge where output tokens cost 6.0x less.

Shared results
33
DeepSeek V4.1 Flash only
68
Phi 4 only
12
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 62.5 from 5 benchmarks, Phi 4 not benchmarked.
Widest category
Math, 53.9 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: DeepSeek V4.1 Flash 98.3% against Phi 4 13.8%, 84.6 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash $0.84 against Phi 4 $0.14 per million output tokens, 6.0x apart.
Context window
DeepSeek V4.1 Flash 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 FlashBarsPhi 4Ties
Coding20
Intelligence20
Reasoning50
Math30
Knowledge40
General170
All shared boards330
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
LiveBench coding90.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena WebDev1618Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench 4 (Vals AI)19.7%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench (Vals AI)84.7%Not measuredOnly DeepSeek V4.1 Flash measured
Code migration (Vals AI)45.6%Not measuredOnly DeepSeek V4.1 Flash measured
ProgramBench (Vals AI)0.5%Not measuredOnly DeepSeek V4.1 Flash measured
IOI (Vals AI)40.3%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench 2.1 (Vals AI)74.5%Not measuredOnly DeepSeek V4.1 Flash measured
SWE-bench Multimodal (Vals AI)46.5%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench 1-100 (Vals AI)16.4%Not measuredOnly DeepSeek V4.1 Flash measured
SkillsBench (Vals AI)69.8%Not measuredOnly DeepSeek V4.1 Flash measured
CyberBench (Vals AI)73.7%Not measuredOnly DeepSeek V4.1 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured23.1%Only Phi 4 measured
SciCode51.9%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only Phi 4 measured
FrontierCode43.9%Not measuredOnly DeepSeek V4.1 Flash measured
ALE-Bench1092.3Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: coding15021231DeepSeek V4.1 Flash
LMArena Text: software and IT14961228DeepSeek V4.1 Flash
LMArena WebDev: React1628Not measuredOnly DeepSeek V4.1 Flash measured
LMArena WebDev: HTML1612Not measuredOnly DeepSeek V4.1 Flash measured
LMArena WebDev: from an image1606Not measuredOnly DeepSeek V4.1 Flash measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
AA Intelligence Index24.75.9DeepSeek V4.1 Flash
Epoch Capabilities Index155.9130.5DeepSeek V4.1 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Agentic work benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
LiveBench research86.8%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench browser84.0%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench long agentic40.1%Not measuredOnly DeepSeek V4.1 Flash measured
SREBench (Vals AI)0.8%Not measuredOnly DeepSeek V4.1 Flash measured
Finance Agent (Vals AI)53.5%Not measuredOnly DeepSeek V4.1 Flash measured
Tax Agent Bench (Vals AI)26.6%Not measuredOnly DeepSeek V4.1 Flash measured
Legal Research Bench (Vals AI)41.4%Not measuredOnly DeepSeek V4.1 Flash measured
Excel Modeling Benchmark (Vals AI)57.2%Not measuredOnly DeepSeek V4.1 Flash measured
BioMysteryBench (Vals AI)67.8%Not measuredOnly DeepSeek V4.1 Flash measured
Terminal-Bench-Science (Vals AI)0.0%Not measuredOnly DeepSeek V4.1 Flash measured
Vals Science Index29.6%Not measuredOnly DeepSeek V4.1 Flash measured
τ²-Bench TelecomNot measured0.0%Only Phi 4 measured
APEX-Agents39.5%Not measuredOnly DeepSeek V4.1 Flash measured
BALROGNot measured11.6%Only Phi 4 measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
LiveBench reasoning86.7%Not measuredOnly DeepSeek V4.1 Flash measured
MysteryMechanism (Vals AI)21.2%Not measuredOnly DeepSeek V4.1 Flash measured
GPQA Diamond (Artificial Analysis run)Not measured57.5%Only Phi 4 measured
Humanity's Last Exam (Artificial Analysis run)39.2%3.8%DeepSeek V4.1 Flash
GPQA Diamond (Epoch AI run)89.8%56.1%DeepSeek V4.1 Flash
ARC-AGI94.5%Not measuredOnly DeepSeek V4.1 Flash measured
ARC-AGI-272.9%Not measuredOnly DeepSeek V4.1 Flash measured
Chess puzzles48.0%Not measuredOnly DeepSeek V4.1 Flash measured
Mystery game puzzles43.0%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: hard prompts14831220DeepSeek V4.1 Flash
LMArena Text: expert15011203DeepSeek V4.1 Flash
LMArena Text: hard prompts in English14881230DeepSeek V4.1 Flash
LMArena Vision: diagrams1297Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: homework1307Not measuredOnly DeepSeek V4.1 Flash measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIME98.3%13.8%DeepSeek V4.1 Flash
FrontierMath, tiers 1 to 367.4%Not measuredOnly DeepSeek V4.1 Flash measured
FrontierMath, tier 426.8%Not measuredOnly DeepSeek V4.1 Flash measured
ProofBench54.0%Not measuredOnly DeepSeek V4.1 Flash measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math14781246DeepSeek V4.1 Flash
LMArena Text: mathematical work14851254DeepSeek V4.1 Flash
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
LegalBench (Vals AI)83.3%Not measuredOnly DeepSeek V4.1 Flash measured
MedCode (Vals AI)41.2%Not measuredOnly DeepSeek V4.1 Flash measured
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
SimpleQA Verified42.9%Not measuredOnly DeepSeek V4.1 Flash measured
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science14691206DeepSeek V4.1 Flash
LMArena Text: medicine and healthcare14841202DeepSeek V4.1 Flash
LMArena Text: legal and government14431241DeepSeek V4.1 Flash
LMArena Text: business and finance14611199DeepSeek V4.1 Flash
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
Design Arena: websites1309Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: UI components1315Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: game dev1330Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: data viz1290Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: 3D1356Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: all code categories1320Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: SVG1244Not measuredOnly DeepSeek V4.1 Flash measured
Design Arena: ASCII art1265Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench design79.2%Not measuredOnly DeepSeek V4.1 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index170
General benchmarks for DeepSeek V4.1 Flash and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 4Leader
LiveBench data analysis79.3%Not measuredOnly DeepSeek V4.1 Flash measured
Public Benefits Bench (Vals AI)64.3%Not measuredOnly DeepSeek V4.1 Flash measured
SAGE (Vals AI)47.9%Not measuredOnly DeepSeek V4.1 Flash measured
MedScribe (Vals AI)85.5%Not measuredOnly DeepSeek V4.1 Flash measured
IFBenchNot measured23.5%Only Phi 4 measured
Long context reasoning (AA-LCR)84.0%0.0%DeepSeek V4.1 Flash
DTBench89.9%Not measuredOnly DeepSeek V4.1 Flash measured
LMCA47.0%Not measuredOnly DeepSeek V4.1 Flash measured
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
Surface Evolver Bench46.3%Not measuredOnly DeepSeek V4.1 Flash measured
Furniture assembly34.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text14641217DeepSeek V4.1 Flash
LMArena Text: instruction following14731201DeepSeek V4.1 Flash
LMArena Text: creative writing14371181DeepSeek V4.1 Flash
LMArena Vision1278Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: English14731231DeepSeek V4.1 Flash
LMArena Text: non-English14491197DeepSeek V4.1 Flash
LMArena Text: Chinese15011212DeepSeek V4.1 Flash
LMArena Text: German14701222DeepSeek V4.1 Flash
LMArena Text: Japanese14321158DeepSeek V4.1 Flash
LMArena Text: Korean14361151DeepSeek V4.1 Flash
LMArena Text: French14651224DeepSeek V4.1 Flash
LMArena Text: Spanish14591234DeepSeek V4.1 Flash
LMArena Text: Russian14671209DeepSeek V4.1 Flash
LMArena Text: Polish1457Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Text: multi-turn14611206DeepSeek V4.1 Flash
LMArena Text: longer queries14731217DeepSeek V4.1 Flash
LMArena Text: writing and language14501198DeepSeek V4.1 Flash
LMArena Text: entertainment and media14451162DeepSeek V4.1 Flash
LMArena Vision: English1288Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: Chinese1327Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: reading text1282Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: humor1260Not measuredOnly DeepSeek V4.1 Flash measured
LMArena Vision: creative writing1275Not measuredOnly DeepSeek V4.1 Flash measured
Neither model has a result on the other 12 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 and Phi 4
BenchmarkDeepSeek V4.1 FlashPhi 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$0.0006Fits 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$0.013Fits 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$0.050Fits 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 and Phi 4
SpecificationDeepSeek V4.1 FlashMicrosoft Phi 4
MakerDeepSeekMicrosoft
WeightsOpen weightsOpen weights
ReleasedSeptember 10, 2026January 10, 2025
Context window1.05M16K
Input $/Mtok$0.21$0.07
Output $/Mtok$0.84$0.14
Coding index62.5Not benchmarked
Independent measurements behind it50
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Only DeepSeek V4.1 Flash has a coding score, 62.5 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding. Phi 4 has the edge where output tokens cost 6.0x less.

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

DeepSeek V4.1 Flash costs $0.21 per million input tokens and $0.84 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 or Phi 4?

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

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

33 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4.1 Flash's coding index rests on 5 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