Phi 4 vs MiniMax M2
Updated October 21, 2026. 36 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
Phi 4 has the edge where output tokens cost 7.3x less, and where what matters is LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
- Shared results
- 36
- Phi 4 only
- 9
- MiniMax M2 only
- 13
- 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
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
MiniMax M2
MiniMax M2 leads, 18.6 against 5.9.
Same board, both measured
Web design
Design Arena: websites
No call
Only MiniMax M2 has a Design Arena: websites result, 1143.
Directional only
Long documents
Listed context window
MiniMax M2
MiniMax M2 takes 205K tokens against 16K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Phi 4
Phi 4 $0.0001, MiniMax M2 $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only MiniMax M2 has the number, $0.702.
Directional only
At a glance
- Coding index
- Phi 4 not benchmarked, MiniMax M2 not benchmarked.
- Widest category
- Agentic work, 86.8 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: Phi 4 0.0% against MiniMax M2 86.8%, 86.8 points apart on a 0 to 100 scale.
- Output price
- Phi 4 $0.14 against MiniMax M2 $1.02 per million output tokens, 7.3x apart.
- Context window
- Phi 4 takes 16K tokens, MiniMax M2 205K.
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 | MiniMax M2 | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 5 | ||
| Math | 0 | 4 | ||
| Knowledge | 0 | 5 | ||
| General | 0 | 16 | ||
| All shared boards | 0 | 36 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 61.0% | Only MiniMax M2 measured |
| LMArena WebDev | Not measured | 1297 | Only MiniMax M2 measured |
| LiveCodeBench (Artificial Analysis run) | 23.1% | 82.6% | MiniMax M2 |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 25.8% | MiniMax M2 |
| Terminal-Bench | Not measured | 30.0% | Only MiniMax M2 measured |
| LMArena Text: coding | 1231 | 1371 | MiniMax M2 |
| LMArena Text: software and IT | 1228 | 1373 | MiniMax M2 |
| LMArena WebDev: HTML | Not measured | 1306 | Only MiniMax M2 measured |
| Neither model has a result on the other 30 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 5.9 | 18.6 | MiniMax M2 |
| Epoch Capabilities Index | 130.5 | Not measured | Only Phi 4 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 0.0% | 86.8% | MiniMax M2 |
| BALROG | 11.6% | Not measured | Only Phi 4 measured |
| Vending-Bench 2 | Not measured | $161 | Only MiniMax M2 measured |
| Neither model has a result on the other 36 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 57.5% | 77.7% | MiniMax M2 |
| Humanity's Last Exam (Artificial Analysis run) | 3.8% | 13.7% | MiniMax M2 |
| GPQA Diamond (Epoch AI run) | 56.1% | Not measured | Only Phi 4 measured |
| LMArena Text: hard prompts | 1220 | 1357 | MiniMax M2 |
| LMArena Text: expert | 1203 | 1338 | MiniMax M2 |
| LMArena Text: hard prompts in English | 1230 | 1376 | MiniMax M2 |
| Neither model has a result on the other 15 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| AA Math Index | 18.0 | 78.3 | MiniMax M2 |
| AIME 2025 (Artificial Analysis run) | 18.0% | 78.3% | MiniMax M2 |
| OTIS Mock AIME | 13.8% | Not measured | Only Phi 4 measured |
| MATH level 5 | 64.9% | Not measured | Only Phi 4 measured |
| LMArena Text: math | 1246 | 1351 | MiniMax M2 |
| LMArena Text: mathematical work | 1254 | 1368 | MiniMax M2 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 71.4% | 82.0% | MiniMax M2 |
| MMLU | 84.8% | Not measured | Only Phi 4 measured |
| LMArena Text: science | 1206 | 1348 | MiniMax M2 |
| LMArena Text: medicine and healthcare | 1202 | 1367 | MiniMax M2 |
| LMArena Text: legal and government | 1241 | 1349 | MiniMax M2 |
| LMArena Text: business and finance | 1199 | 1336 | MiniMax M2 |
| Neither model has a result on the other 11 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1143 | Only MiniMax M2 measured |
| Design Arena: UI components | Not measured | 1136 | Only MiniMax M2 measured |
| Design Arena: game dev | Not measured | 1118 | Only MiniMax M2 measured |
| Design Arena: data viz | Not measured | 1140 | Only MiniMax M2 measured |
| Design Arena: 3D | Not measured | 1098 | Only MiniMax M2 measured |
| Design Arena: all code categories | Not measured | 1135 | Only MiniMax M2 measured |
| Design Arena: SVG | Not measured | 1100 | Only MiniMax M2 measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index016
| Benchmark | Phi 4 | MiniMax M2 | Leader |
|---|---|---|---|
| IFBench | 23.5% | 72.3% | MiniMax M2 |
| Long context reasoning (AA-LCR) | 0.0% | 64.3% | MiniMax M2 |
| Creative writing (Lech Mazur) | 62.6% | Not measured | Only Phi 4 measured |
| LMArena Text | 1217 | 1340 | MiniMax M2 |
| LMArena Text: instruction following | 1201 | 1329 | MiniMax M2 |
| LMArena Text: creative writing | 1181 | 1286 | MiniMax M2 |
| LMArena Text: English | 1231 | 1364 | MiniMax M2 |
| LMArena Text: non-English | 1197 | 1313 | MiniMax M2 |
| LMArena Text: Chinese | 1212 | 1366 | MiniMax M2 |
| LMArena Text: German | 1222 | 1357 | MiniMax M2 |
| LMArena Text: Japanese | 1158 | Not measured | Only Phi 4 measured |
| LMArena Text: Korean | 1151 | Not measured | Only Phi 4 measured |
| LMArena Text: French | 1224 | 1336 | MiniMax M2 |
| LMArena Text: Spanish | 1234 | 1326 | MiniMax M2 |
| LMArena Text: Russian | 1209 | 1330 | MiniMax M2 |
| LMArena Text: Polish | Not measured | 1312 | Only MiniMax M2 measured |
| LMArena Text: multi-turn | 1206 | 1361 | MiniMax M2 |
| LMArena Text: longer queries | 1217 | 1331 | MiniMax M2 |
| LMArena Text: writing and language | 1198 | 1295 | MiniMax M2 |
| LMArena Text: entertainment and media | 1162 | 1298 | MiniMax M2 |
| Neither model has a result on the other 26 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Phi 4 | MiniMax M2 | 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 | MiniMax M2 |
|---|---|---|
| Maker | Microsoft | MiniMax |
| Weights | Open weights | Open weights |
| Released | January 10, 2025 | October 23, 2025 |
| Context window | 16K | 205K |
| Input $/Mtok | $0.07 | $0.255 |
| Output $/Mtok | $0.14 | $1.02 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 1 |
| Cost per solved task | Not computable | $0.702 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Phi 4 better than MiniMax M2 for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Phi 4 has the edge where output tokens cost 7.3x less, and where what matters is LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
Which is cheaper, Phi 4 or MiniMax M2?
Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; MiniMax M2 costs $0.255 and $1.02. Cost per solved task is known for MiniMax M2 only.
Which has the bigger context window, Phi 4 or MiniMax M2?
MiniMax M2, with 205K tokens against 16K.
How many benchmarks is the Phi 4 vs MiniMax M2 comparison based on?
36 benchmarks have a result for both models as of October 21, 2026. Phi 4's coding index rests on 0 independent benchmarks and MiniMax M2's on 1. Where only one model has a result, the page says so instead of naming a winner.