Enter opens the highlighted result. Esc closes.

Phi 4 vs Mistral Small 4

Mistral Small 4 leads Phi 4 on the Artificial Analysis Intelligence Index, 11.3 to 5.9, and Phi 4 costs 4.3x less per output token ($0.14 vs $0.60 per million). Updated October 21, 2026; 7 benchmarks have a result for both.

Phi 4Microsoft
Coding
No data
Overall
24.7
Output $/M
$0.14
0
Mistral Small 4Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.60
7
vs boards won of 7 shared

Phi 4 or Mistral Small 4: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Phi 4 for output tokens 4.3x cheaper ($0.14 vs $0.60 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or AA Intelligence Index, where it leads.

Shared results
7
Phi 4 only
39
Mistral Small 4 only
8
Like-for-like categories
5 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
Phi 4 not benchmarked, Mistral Small 4 not benchmarked.
Widest category
Agentic work, 41.2 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): Phi 4 0.0% against Mistral Small 4 49.7%, 49.7 points apart on a 0 to 100 scale.
Output price
Phi 4 $0.14 against Mistral Small 4 $0.60 per million output tokens, 4.3x apart.
Context window
Phi 4 takes 16K tokens, Mistral Small 4 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 Small 4Ties
Coding01
Intelligence01
Agentic work01
Reasoning02
General02
All shared boards07
CodingLike-for-likeSix of these boards feed the Vibe Coding Index01
Coding benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
AA Coding IndexNot measured26.6Only Mistral Small 4 measured
Vibe Code Bench (Vals AI)Not measured0.0%Only Mistral Small 4 measured
LiveCodeBench (Artificial Analysis run)23.1%Not measuredOnly Phi 4 measured
SciCodeNot measured38.8%Only Mistral Small 4 measured
Terminal-Bench Hard (Artificial Analysis run)3.8%17.4%Mistral Small 4
ALE-BenchNot measured497.6Only Mistral Small 4 measured
LMArena Text: coding1231Not measuredOnly Phi 4 measured
LMArena Text: software and IT1228Not measuredOnly Phi 4 measured
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
AA Intelligence Index5.911.3Mistral Small 4
Epoch Capabilities Index130.5Not measuredOnly Phi 4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
AA Agentic IndexNot measured0.8Only Mistral Small 4 measured
τ²-Bench Telecom0.0%41.2%Mistral Small 4
BALROG11.6%Not measuredOnly Phi 4 measured
Berkeley Function Calling Leaderboard (BFCL)28.8%Not measuredOnly Phi 4 measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
GPQA Diamond (Artificial Analysis run)57.5%76.9%Mistral Small 4
Humanity's Last Exam (Artificial Analysis run)3.8%9.9%Mistral Small 4
GPQA Diamond (Epoch AI run)56.1%Not measuredOnly Phi 4 measured
LMArena Text: hard prompts1220Not measuredOnly Phi 4 measured
LMArena Text: expert1203Not measuredOnly Phi 4 measured
LMArena Text: hard prompts in English1230Not measuredOnly Phi 4 measured
Kagi LLM BenchmarkNot measured40.5%Only Mistral Small 4 measured
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
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
MATH level 564.9%Not measuredOnly Phi 4 measured
LMArena Text: math1246Not measuredOnly Phi 4 measured
LMArena Text: mathematical work1254Not measuredOnly Phi 4 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Knowledge benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
MMLU Pro (Artificial Analysis run)71.4%Not measuredOnly Phi 4 measured
MMLU84.8%Not measuredOnly Phi 4 measured
LMArena Text: science1206Not measuredOnly Phi 4 measured
LMArena Text: medicine and healthcare1202Not measuredOnly Phi 4 measured
LMArena Text: legal and government1241Not measuredOnly Phi 4 measured
LMArena Text: business and finance1199Not measuredOnly Phi 4 measured
Neither model has a result on the other 12 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 4Leader
IFBench23.5%48.2%Mistral Small 4
Long context reasoning (AA-LCR)0.0%49.7%Mistral Small 4
DTBenchNot measured70.9%Only Mistral Small 4 measured
LMCANot measured20.6%Only Mistral Small 4 measured
Creative writing (Lech Mazur)62.6%Not measuredOnly Phi 4 measured
LMArena Text1217Not measuredOnly Phi 4 measured
LMArena Text: instruction following1201Not measuredOnly Phi 4 measured
LMArena Text: creative writing1181Not measuredOnly Phi 4 measured
LMArena Text: English1231Not measuredOnly Phi 4 measured
LMArena Text: non-English1197Not measuredOnly Phi 4 measured
LMArena Text: Chinese1212Not measuredOnly Phi 4 measured
LMArena Text: German1222Not measuredOnly Phi 4 measured
LMArena Text: Japanese1158Not measuredOnly Phi 4 measured
LMArena Text: Korean1151Not measuredOnly Phi 4 measured
LMArena Text: French1224Not measuredOnly Phi 4 measured
LMArena Text: Spanish1234Not measuredOnly Phi 4 measured
LMArena Text: Russian1209Not measuredOnly Phi 4 measured
LMArena Text: multi-turn1206Not measuredOnly Phi 4 measured
LMArena Text: longer queries1217Not measuredOnly Phi 4 measured
LMArena Text: writing and language1198Not measuredOnly Phi 4 measured
LMArena Text: entertainment and media1162Not measuredOnly 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 Phi 4 and Mistral Small 4
BenchmarkPhi 4Mistral Small 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

Phi 4$0.0001Fits in one request
Mistral Small 4$0.0004Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Phi 4$0.0039Exceeds the context window
Mistral Small 4$0.0093Fits in one request

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Phi 4$0.015Exceeds the context window
Mistral Small 4$0.036Fits 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 Small 4
SpecificationMicrosoft Phi 4Mistral Small 4
MakerMicrosoftMistral AI
WeightsOpen weightsOpen weights
ReleasedJanuary 10, 2025March 16, 2026
Context window16K262K
Input $/Mtok$0.07$0.15
Output $/Mtok$0.14$0.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it01
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Phi 4 better than Mistral Small 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Phi 4 for output tokens 4.3x cheaper ($0.14 vs $0.60 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or AA Intelligence Index, where it leads.

Which is cheaper, Phi 4 or Mistral Small 4?

Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; Mistral Small 4 costs $0.15 and $0.60. Cost per solved task is known for neither of them.

Which has the bigger context window, Phi 4 or Mistral Small 4?

Mistral Small 4, with 262K tokens against 16K.

How many benchmarks is the Phi 4 vs Mistral Small 4 comparison based on?

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

Compare next