DeepSeek V4 Flash 0731 vs Phi 4
Updated October 21, 2026. 7 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Only DeepSeek V4 Flash 0731 has a coding score, 51.8 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 2.8x less.
- Shared results
- 7
- DeepSeek V4 Flash 0731 only
- 48
- Phi 4 only
- 38
- Like-for-like categories
- 4 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only DeepSeek V4 Flash 0731 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 34.3 against 5.9.
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
No call
Only DeepSeek V4 Flash 0731 has a Design Arena: websites result, 1238.
Directional only
Long documents
Listed context window
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 takes 1.05M tokens against 16K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Phi 4
DeepSeek V4 Flash 0731 $0.0003, Phi 4 $0.0001 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, Phi 4 not benchmarked.
- Widest category
- Math, 80.7 points apart on average over 1 shared benchmark.
- Widest single gap
- OTIS Mock AIME: DeepSeek V4 Flash 0731 94.4% against Phi 4 13.8%, 80.7 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4 Flash 0731 $0.396 against Phi 4 $0.14 per million output tokens, 2.8x apart.
- Context window
- DeepSeek V4 Flash 0731 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.
| Category | DeepSeek V4 Flash 0731 | Bars | Phi 4 | Ties |
|---|---|---|---|---|
| Intelligence | 2 | 0 | ||
| Reasoning | 3 | 0 | ||
| Math | 1 | 0 | ||
| General | 1 | 0 | ||
| All shared boards | 7 | 0 |
CodingDirectional onlySix of these boards feed the Vibe Coding Index19 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| 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% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Vibe Code Bench (Vals AI) | 74.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Code migration (Vals AI) | 38.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IOI (Vals AI) | 32.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SkillsBench (Vals AI) | 50.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| CyberBench (Vals AI) | 72.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 23.1% | Only Phi 4 measured |
| SciCode | 50.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 3.8% | Only Phi 4 measured |
| FrontierCode | 18.8% | Not measured | Only DeepSeek V4 Flash 0731 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 | 1231 | Only Phi 4 measured |
| LMArena Text: software and IT | Not measured | 1228 | Only Phi 4 measured |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.3 | 5.9 | DeepSeek V4 Flash 0731 |
| Epoch Capabilities Index | 154.8 | 130.5 | DeepSeek V4 Flash 0731 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| AA Agentic Index | 41.0 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Finance Agent (Vals AI) | 49.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Tax Agent Bench (Vals AI) | 28.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Legal Research Bench (Vals AI) | 30.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Excel Modeling Benchmark (Vals AI) | 57.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| BioMysteryBench (Vals AI) | 64.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench-Science (Vals AI) | 4.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| τ²-Bench Telecom | Not measured | 0.0% | Only Phi 4 measured |
| BALROG | Not measured | 11.6% | Only Phi 4 measured |
| Neither model has a result on the other 30 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| GPQA Diamond | 89.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| GPQA Diamond (Artificial Analysis run) | 90.8% | 57.5% | DeepSeek V4 Flash 0731 |
| Humanity's Last Exam (Artificial Analysis run) | 38.6% | 3.8% | DeepSeek V4 Flash 0731 |
| GPQA Diamond (Epoch AI run) | 91.0% | 56.1% | DeepSeek V4 Flash 0731 |
| ARC-AGI | 89.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ARC-AGI-2 | 61.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SimpleBench | 61.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Chess puzzles | 32.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Mystery game puzzles | 34.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: hard prompts | Not measured | 1220 | Only Phi 4 measured |
| LMArena Text: expert | Not measured | 1203 | Only Phi 4 measured |
| LMArena Text: hard prompts in English | Not measured | 1230 | Only Phi 4 measured |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 18.0 | Only Phi 4 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 18.0% | Only Phi 4 measured |
| OTIS Mock AIME | 94.4% | 13.8% | DeepSeek V4 Flash 0731 |
| FrontierMath, tiers 1 to 3 | 57.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| FrontierMath, tier 4 | 24.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProofBench | 56.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MATH level 5 | Not measured | 64.9% | Only Phi 4 measured |
| LMArena Text: math | Not measured | 1246 | Only Phi 4 measured |
| LMArena Text: mathematical work | Not measured | 1254 | Only Phi 4 measured |
| Neither model has a result on the other 4 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LegalBench (Vals AI) | 77.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| 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% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 71.4% | Only Phi 4 measured |
| SimpleQA Verified | 33.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MMLU | Not measured | 84.8% | Only Phi 4 measured |
| LMArena Text: science | Not measured | 1206 | Only Phi 4 measured |
| LMArena Text: medicine and healthcare | Not measured | 1202 | Only Phi 4 measured |
| LMArena Text: legal and government | Not measured | 1241 | Only Phi 4 measured |
| LMArena Text: business and finance | Not measured | 1199 | Only Phi 4 measured |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| Design Arena: websites | 1238 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: UI components | 1235 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: game dev | 1208 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: data viz | 1180 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: 3D | 1209 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: all code categories | 1230 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| 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 |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | Leader |
|---|---|---|---|
| MedScribe (Vals AI) | 80.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IFBench | Not measured | 23.5% | Only Phi 4 measured |
| Long context reasoning (AA-LCR) | 79.7% | 0.0% | DeepSeek V4 Flash 0731 |
| DTBench | 90.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMCA | 41.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Creative writing (Lech Mazur) | Not measured | 62.6% | Only Phi 4 measured |
| LMArena Text | Not measured | 1217 | Only Phi 4 measured |
| LMArena Text: instruction following | Not measured | 1201 | Only Phi 4 measured |
| LMArena Text: creative writing | Not measured | 1181 | Only Phi 4 measured |
| LMArena Text: English | Not measured | 1231 | Only Phi 4 measured |
| LMArena Text: non-English | Not measured | 1197 | Only Phi 4 measured |
| LMArena Text: Chinese | Not measured | 1212 | Only Phi 4 measured |
| LMArena Text: German | Not measured | 1222 | Only Phi 4 measured |
| LMArena Text: Japanese | Not measured | 1158 | Only Phi 4 measured |
| LMArena Text: Korean | Not measured | 1151 | Only Phi 4 measured |
| LMArena Text: French | Not measured | 1224 | Only Phi 4 measured |
| LMArena Text: Spanish | Not measured | 1234 | Only Phi 4 measured |
| LMArena Text: Russian | Not measured | 1209 | Only Phi 4 measured |
| LMArena Text: multi-turn | Not measured | 1206 | Only Phi 4 measured |
| LMArena Text: longer queries | Not measured | 1217 | Only Phi 4 measured |
| LMArena Text: writing and language | Not measured | 1198 | Only Phi 4 measured |
| LMArena Text: entertainment and media | Not measured | 1162 | Only Phi 4 measured |
| Neither model has a result on the other 24 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Phi 4 | 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
Phi 4 costs less
Repository review
50K input + 3K output tokens
Phi 4 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | DeepSeek V4 Flash 0731 | Microsoft Phi 4 |
|---|---|---|
| Maker | DeepSeek | Microsoft |
| Weights | Open weights | Open weights |
| Released | July 31, 2026 | January 10, 2025 |
| Context window | 1.05M | 16K |
| Input $/Mtok | $0.14 | $0.07 |
| Output $/Mtok | $0.396 | $0.14 |
| Coding index | 51.8 | Not benchmarked |
| Independent measurements behind it | 4 | 0 |
| Cost per solved task | $0.01 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4 Flash 0731 better than Phi 4 for coding?
Only DeepSeek V4 Flash 0731 has a coding score, 51.8 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 2.8x less.
Which is cheaper, DeepSeek V4 Flash 0731 or Phi 4?
DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.396 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for DeepSeek V4 Flash 0731 only.
Which has the bigger context window, DeepSeek V4 Flash 0731 or Phi 4?
DeepSeek V4 Flash 0731, with 1.05M tokens against 16K.
How many benchmarks is the DeepSeek V4 Flash 0731 vs Phi 4 comparison based on?
7 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 Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.