Enter opens the highlighted result. Esc closes.

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.

Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
Mistral Medium 3.5Mistral AI
Coding
25.5
Overall
14.2
Output $/M
$7.50
34
vs boards won of 34 shared

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.

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.

Boards won, where both have a result
CategoryPhi 4BarsMistral Medium 3.5Ties
Coding03
Intelligence02
Agentic work01
Reasoning05
Math02
Knowledge04
General017
All shared boards034
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
LMArena WebDevNot measured1264Only Mistral Medium 3.5 measured
AA Coding IndexNot measured46.9Only Mistral Medium 3.5 measured
SWE-bench Verified (Vals AI)Not measured66.4%Only Mistral Medium 3.5 measured
Vibe Code Bench (Vals AI)Not measured2.9%Only Mistral Medium 3.5 measured
Code migration (Vals AI)Not measured5.1%Only Mistral Medium 3.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured39.0%Only Mistral Medium 3.5 measured
LiveCodeBench (Artificial Analysis run)23.1%Not measuredOnly Phi 4 measured
SciCodeNot measured40.2%Only Mistral Medium 3.5 measured
Terminal-Bench Hard (Artificial Analysis run)3.8%33.3%Mistral Medium 3.5
ALE-BenchNot measured764.0Only Mistral Medium 3.5 measured
LMArena Text: coding12311460Mistral Medium 3.5
LMArena Text: software and IT12281458Mistral Medium 3.5
LMArena WebDev: ReactNot measured1254Only Mistral Medium 3.5 measured
LMArena WebDev: HTMLNot measured1308Only 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
Intelligence benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
AA Intelligence Index5.914.2Mistral Medium 3.5
Epoch Capabilities Index130.5141.4Mistral Medium 3.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
AA Agentic IndexNot measured7.0Only Mistral Medium 3.5 measured
Finance Agent (Vals AI)Not measured32.1%Only Mistral Medium 3.5 measured
Tax Agent Bench (Vals AI)Not measured4.5%Only Mistral Medium 3.5 measured
Legal Research Bench (Vals AI)Not measured9.1%Only Mistral Medium 3.5 measured
Excel Modeling Benchmark (Vals AI)Not measured11.2%Only Mistral Medium 3.5 measured
τ²-Bench Telecom0.0%94.2%Mistral Medium 3.5
BALROG11.6%Not measuredOnly 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
Reasoning benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
GPQA DiamondNot measured34.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 measuredOnly Phi 4 measured
LMArena Text: hard prompts12201436Mistral Medium 3.5
LMArena Text: expert12031432Mistral Medium 3.5
LMArena Text: hard prompts in English12301445Mistral Medium 3.5
LMArena Vision: diagramsNot measured1254Only Mistral Medium 3.5 measured
LMArena Vision: homeworkNot measured1230Only 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
Math benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
AA Math Index18.0Not measuredOnly Phi 4 measured
AIME 2025 (Artificial Analysis run)18.0%Not measuredOnly Phi 4 measured
OTIS Mock AIME13.8%Not measuredOnly Phi 4 measured
ProofBenchNot measured9.0%Only Mistral Medium 3.5 measured
MATH level 564.9%Not measuredOnly Phi 4 measured
LMArena Text: math12461431Mistral Medium 3.5
LMArena Text: mathematical work12541440Mistral 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
Knowledge benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
MMLU ProNot measured75.3%Only Mistral Medium 3.5 measured
CaseLaw (Vals AI)Not measured44.2%Only Mistral Medium 3.5 measured
CorpFin (Vals AI)Not measured58.8%Only Mistral Medium 3.5 measured
TaxEval (Vals AI)Not measured68.0%Only Mistral Medium 3.5 measured
MortgageTax (Vals AI)Not measured28.9%Only Mistral Medium 3.5 measured
MedCode (Vals AI)Not measured33.8%Only Mistral Medium 3.5 measured
MMLU Pro (Artificial Analysis run)71.4%Not measuredOnly Phi 4 measured
MMLU84.8%Not measuredOnly Phi 4 measured
LMArena Text: science12061428Mistral Medium 3.5
LMArena Text: medicine and healthcare12021409Mistral Medium 3.5
LMArena Text: legal and government12411437Mistral Medium 3.5
LMArena Text: business and finance11991426Mistral 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
Web design benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
Design Arena: websitesNot measured1142Only Mistral Medium 3.5 measured
Design Arena: UI componentsNot measured1079Only Mistral Medium 3.5 measured
Design Arena: game devNot measured1079Only Mistral Medium 3.5 measured
Design Arena: data vizNot measured1120Only Mistral Medium 3.5 measured
Design Arena: 3DNot measured1061Only Mistral Medium 3.5 measured
Design Arena: all code categoriesNot measured1121Only Mistral Medium 3.5 measured
Design Arena: SVGNot measured950Only Mistral Medium 3.5 measured
Design Arena: ASCII artNot measured1062Only 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
General benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
SAGE (Vals AI)Not measured37.6%Only Mistral Medium 3.5 measured
MedScribe (Vals AI)Not measured67.7%Only Mistral Medium 3.5 measured
Vals Multimodal IndexNot measured34.8%Only Mistral Medium 3.5 measured
IFBench23.5%68.8%Mistral Medium 3.5
Long context reasoning (AA-LCR)0.0%69.3%Mistral Medium 3.5
DTBenchNot measured75.5%Only Mistral Medium 3.5 measured
LMCANot measured26.1%Only Mistral Medium 3.5 measured
Creative writing (Lech Mazur)62.6%Not measuredOnly Phi 4 measured
Surface Evolver BenchNot measured26.9%Only Mistral Medium 3.5 measured
LMArena Text12171421Mistral Medium 3.5
LMArena Text: instruction following12011415Mistral Medium 3.5
LMArena Text: creative writing11811374Mistral Medium 3.5
LMArena VisionNot measured1222Only Mistral Medium 3.5 measured
LMArena Text: English12311433Mistral Medium 3.5
LMArena Text: non-English11971404Mistral Medium 3.5
LMArena Text: Chinese12121444Mistral Medium 3.5
LMArena Text: German12221453Mistral Medium 3.5
LMArena Text: Japanese1158Not measuredOnly Phi 4 measured
LMArena Text: Korean11511384Mistral Medium 3.5
LMArena Text: French12241448Mistral Medium 3.5
LMArena Text: Spanish12341411Mistral Medium 3.5
LMArena Text: Russian12091395Mistral Medium 3.5
LMArena Text: PolishNot measured1430Only Mistral Medium 3.5 measured
LMArena Text: multi-turn12061423Mistral Medium 3.5
LMArena Text: longer queries12171415Mistral Medium 3.5
LMArena Text: writing and language11981384Mistral Medium 3.5
LMArena Text: entertainment and media11621382Mistral Medium 3.5
LMArena Vision: EnglishNot measured1240Only Mistral Medium 3.5 measured
LMArena Vision: ChineseNot measured1244Only Mistral Medium 3.5 measured
LMArena Vision: reading textNot measured1233Only Mistral Medium 3.5 measured
LMArena Vision: humorNot measured1216Only Mistral Medium 3.5 measured
LMArena Vision: creative writingNot measured1198Only 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
Image generation benchmarks for Phi 4 and Mistral Medium 3.5
BenchmarkPhi 4Mistral Medium 3.5Leader
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$0.0001Fits in one request
Mistral Medium 3.5$0.0053Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Phi 4$0.0039Exceeds the context window
Mistral Medium 3.5$0.098Fits in one request

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Phi 4$0.015Exceeds the context window
Mistral Medium 3.5$0.375Fits in one request

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 Phi 4 and Mistral Medium 3.5
SpecificationMicrosoft Phi 4Mistral Medium 3.5
MakerMicrosoftMistral AI
WeightsOpen weightsNo public weights listed
ReleasedJanuary 10, 2025April 30, 2026
Context window16K262K
Input $/Mtok$0.07$1.50
Output $/Mtok$0.14$7.50
Coding indexNot benchmarked25.5
Independent measurements behind it03
Cost per solved taskNot computable$6.02
SourceOpenRouter listingOpenRouter 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.

Compare next