Phi 4 vs Mistral Medium 3.5
Updated October 21, 2026. 34 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Only Mistral Medium 3.5 has a coding score, 25.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 53.6x less.
- Shared results
- 34
- Phi 4 only
- 11
- Mistral Medium 3.5 only
- 46
- Like-for-like categories
- 7 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 Mistral Medium 3.5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Mistral Medium 3.5
Mistral Medium 3.5 leads, 14.2 against 5.9.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Mistral Medium 3.5 has a AA Agentic Index result, 7.0.
Directional only
Reasoning
GPQA Diamond
No call
Only Mistral Medium 3.5 has a GPQA Diamond result, 34.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Mistral Medium 3.5 has a MMLU Pro result, 75.3%.
Directional only
Web design
Design Arena: websites
No call
Only Mistral Medium 3.5 has a Design Arena: websites result, 1142.
Directional only
Long documents
Listed context window
Mistral Medium 3.5
Mistral Medium 3.5 takes 262K tokens against 16K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Phi 4
Phi 4 $0.0001, Mistral Medium 3.5 $0.0053 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Mistral Medium 3.5 has the number, $6.02.
Directional only
At a glance
- Coding index
- Phi 4 not benchmarked, Mistral Medium 3.5 25.5 from 3 benchmarks.
- Widest category
- Agentic work, 94.2 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: Phi 4 0.0% against Mistral Medium 3.5 94.2%, 94.2 points apart on a 0 to 100 scale.
- Output price
- Phi 4 $0.14 against Mistral Medium 3.5 $7.50 per million output tokens, 53.6x apart.
- Context window
- Phi 4 takes 16K tokens, Mistral Medium 3.5 262K.
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 | Phi 4 | Bars | Mistral Medium 3.5 | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 5 | ||
| Math | 0 | 2 | ||
| Knowledge | 0 | 4 | ||
| General | 0 | 17 | ||
| All shared boards | 0 | 34 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| LMArena WebDev | Not measured | 1264 | Only Mistral Medium 3.5 measured |
| AA Coding Index | Not measured | 46.9 | Only Mistral Medium 3.5 measured |
| SWE-bench Verified (Vals AI) | Not measured | 66.4% | Only Mistral Medium 3.5 measured |
| Vibe Code Bench (Vals AI) | Not measured | 2.9% | Only Mistral Medium 3.5 measured |
| Code migration (Vals AI) | Not measured | 5.1% | Only Mistral Medium 3.5 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 39.0% | Only Mistral Medium 3.5 measured |
| LiveCodeBench (Artificial Analysis run) | 23.1% | Not measured | Only Phi 4 measured |
| SciCode | Not measured | 40.2% | Only Mistral Medium 3.5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 33.3% | Mistral Medium 3.5 |
| ALE-Bench | Not measured | 764.0 | Only Mistral Medium 3.5 measured |
| LMArena Text: coding | 1231 | 1460 | Mistral Medium 3.5 |
| LMArena Text: software and IT | 1228 | 1458 | Mistral Medium 3.5 |
| LMArena WebDev: React | Not measured | 1254 | Only Mistral Medium 3.5 measured |
| LMArena WebDev: HTML | Not measured | 1308 | Only Mistral Medium 3.5 measured |
| Neither model has a result on the other 24 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 5.9 | 14.2 | Mistral Medium 3.5 |
| Epoch Capabilities Index | 130.5 | 141.4 | Mistral Medium 3.5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 7.0 | Only Mistral Medium 3.5 measured |
| Finance Agent (Vals AI) | Not measured | 32.1% | Only Mistral Medium 3.5 measured |
| Tax Agent Bench (Vals AI) | Not measured | 4.5% | Only Mistral Medium 3.5 measured |
| Legal Research Bench (Vals AI) | Not measured | 9.1% | Only Mistral Medium 3.5 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 11.2% | Only Mistral Medium 3.5 measured |
| τ²-Bench Telecom | 0.0% | 94.2% | Mistral Medium 3.5 |
| BALROG | 11.6% | Not measured | Only Phi 4 measured |
| Neither model has a result on the other 32 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 34.9% | Only Mistral Medium 3.5 measured |
| GPQA Diamond (Artificial Analysis run) | 57.5% | 74.8% | Mistral Medium 3.5 |
| Humanity's Last Exam (Artificial Analysis run) | 3.8% | 13.8% | Mistral Medium 3.5 |
| GPQA Diamond (Epoch AI run) | 56.1% | Not measured | Only Phi 4 measured |
| LMArena Text: hard prompts | 1220 | 1436 | Mistral Medium 3.5 |
| LMArena Text: expert | 1203 | 1432 | Mistral Medium 3.5 |
| LMArena Text: hard prompts in English | 1230 | 1445 | Mistral Medium 3.5 |
| LMArena Vision: diagrams | Not measured | 1254 | Only Mistral Medium 3.5 measured |
| LMArena Vision: homework | Not measured | 1230 | Only Mistral Medium 3.5 measured |
| Neither model has a result on the other 12 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| AA Math Index | 18.0 | Not measured | Only Phi 4 measured |
| AIME 2025 (Artificial Analysis run) | 18.0% | Not measured | Only Phi 4 measured |
| OTIS Mock AIME | 13.8% | Not measured | Only Phi 4 measured |
| ProofBench | Not measured | 9.0% | Only Mistral Medium 3.5 measured |
| MATH level 5 | 64.9% | Not measured | Only Phi 4 measured |
| LMArena Text: math | 1246 | 1431 | Mistral Medium 3.5 |
| LMArena Text: mathematical work | 1254 | 1440 | Mistral Medium 3.5 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 75.3% | Only Mistral Medium 3.5 measured |
| CaseLaw (Vals AI) | Not measured | 44.2% | Only Mistral Medium 3.5 measured |
| CorpFin (Vals AI) | Not measured | 58.8% | Only Mistral Medium 3.5 measured |
| TaxEval (Vals AI) | Not measured | 68.0% | Only Mistral Medium 3.5 measured |
| MortgageTax (Vals AI) | Not measured | 28.9% | Only Mistral Medium 3.5 measured |
| MedCode (Vals AI) | Not measured | 33.8% | Only Mistral Medium 3.5 measured |
| MMLU Pro (Artificial Analysis run) | 71.4% | Not measured | Only Phi 4 measured |
| MMLU | 84.8% | Not measured | Only Phi 4 measured |
| LMArena Text: science | 1206 | 1428 | Mistral Medium 3.5 |
| LMArena Text: medicine and healthcare | 1202 | 1409 | Mistral Medium 3.5 |
| LMArena Text: legal and government | 1241 | 1437 | Mistral Medium 3.5 |
| LMArena Text: business and finance | 1199 | 1426 | Mistral Medium 3.5 |
| 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 | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1142 | Only Mistral Medium 3.5 measured |
| Design Arena: UI components | Not measured | 1079 | Only Mistral Medium 3.5 measured |
| Design Arena: game dev | Not measured | 1079 | Only Mistral Medium 3.5 measured |
| Design Arena: data viz | Not measured | 1120 | Only Mistral Medium 3.5 measured |
| Design Arena: 3D | Not measured | 1061 | Only Mistral Medium 3.5 measured |
| Design Arena: all code categories | Not measured | 1121 | Only Mistral Medium 3.5 measured |
| Design Arena: SVG | Not measured | 950 | Only Mistral Medium 3.5 measured |
| Design Arena: ASCII art | Not measured | 1062 | Only Mistral Medium 3.5 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
| Benchmark | Phi 4 | Mistral Medium 3.5 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 37.6% | Only Mistral Medium 3.5 measured |
| MedScribe (Vals AI) | Not measured | 67.7% | Only Mistral Medium 3.5 measured |
| Vals Multimodal Index | Not measured | 34.8% | Only Mistral Medium 3.5 measured |
| IFBench | 23.5% | 68.8% | Mistral Medium 3.5 |
| Long context reasoning (AA-LCR) | 0.0% | 69.3% | Mistral Medium 3.5 |
| DTBench | Not measured | 75.5% | Only Mistral Medium 3.5 measured |
| LMCA | Not measured | 26.1% | Only Mistral Medium 3.5 measured |
| Creative writing (Lech Mazur) | 62.6% | Not measured | Only Phi 4 measured |
| Surface Evolver Bench | Not measured | 26.9% | Only Mistral Medium 3.5 measured |
| LMArena Text | 1217 | 1421 | Mistral Medium 3.5 |
| LMArena Text: instruction following | 1201 | 1415 | Mistral Medium 3.5 |
| LMArena Text: creative writing | 1181 | 1374 | Mistral Medium 3.5 |
| LMArena Vision | Not measured | 1222 | Only Mistral Medium 3.5 measured |
| LMArena Text: English | 1231 | 1433 | Mistral Medium 3.5 |
| LMArena Text: non-English | 1197 | 1404 | Mistral Medium 3.5 |
| LMArena Text: Chinese | 1212 | 1444 | Mistral Medium 3.5 |
| LMArena Text: German | 1222 | 1453 | Mistral Medium 3.5 |
| LMArena Text: Japanese | 1158 | Not measured | Only Phi 4 measured |
| LMArena Text: Korean | 1151 | 1384 | Mistral Medium 3.5 |
| LMArena Text: French | 1224 | 1448 | Mistral Medium 3.5 |
| LMArena Text: Spanish | 1234 | 1411 | Mistral Medium 3.5 |
| LMArena Text: Russian | 1209 | 1395 | Mistral Medium 3.5 |
| LMArena Text: Polish | Not measured | 1430 | Only Mistral Medium 3.5 measured |
| LMArena Text: multi-turn | 1206 | 1423 | Mistral Medium 3.5 |
| LMArena Text: longer queries | 1217 | 1415 | Mistral Medium 3.5 |
| LMArena Text: writing and language | 1198 | 1384 | Mistral Medium 3.5 |
| LMArena Text: entertainment and media | 1162 | 1382 | Mistral Medium 3.5 |
| LMArena Vision: English | Not measured | 1240 | Only Mistral Medium 3.5 measured |
| LMArena Vision: Chinese | Not measured | 1244 | Only Mistral Medium 3.5 measured |
| LMArena Vision: reading text | Not measured | 1233 | Only Mistral Medium 3.5 measured |
| LMArena Vision: humor | Not measured | 1216 | Only Mistral Medium 3.5 measured |
| LMArena Vision: creative writing | Not measured | 1198 | Only Mistral Medium 3.5 measured |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Phi 4 | Mistral Medium 3.5 | 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 | Microsoft Phi 4 | Mistral Medium 3.5 |
|---|---|---|
| Maker | Microsoft | Mistral AI |
| Weights | Open weights | No public weights listed |
| Released | January 10, 2025 | April 30, 2026 |
| Context window | 16K | 262K |
| Input $/Mtok | $0.07 | $1.50 |
| Output $/Mtok | $0.14 | $7.50 |
| Coding index | Not benchmarked | 25.5 |
| Independent measurements behind it | 0 | 3 |
| Cost per solved task | Not computable | $6.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Phi 4 better than Mistral Medium 3.5 for coding?
Only Mistral Medium 3.5 has a coding score, 25.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 53.6x less.
Which is cheaper, Phi 4 or Mistral Medium 3.5?
Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; Mistral Medium 3.5 costs $1.50 and $7.50. Cost per solved task is known for Mistral Medium 3.5 only.
Which has the bigger context window, Phi 4 or Mistral Medium 3.5?
Mistral Medium 3.5, with 262K tokens against 16K.
How many benchmarks is the Phi 4 vs Mistral Medium 3.5 comparison based on?
34 benchmarks have a result for both models as of October 21, 2026. Phi 4's coding index rests on 0 independent benchmarks and Mistral Medium 3.5's on 3. Where only one model has a result, the page says so instead of naming a winner.