Enter opens the highlighted result. Esc closes.

Phi 4 vs MiniMax M2.7

MiniMax M2.7 leads Phi 4 on the Artificial Analysis Intelligence Index, 22.8 to 5.9, and Phi 4 costs 8.6x less per output token ($0.14 vs $1.20 per million). Updated October 21, 2026; 35 benchmarks have a result for both.

Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
MiniMax M2.7MiniMax
Coding
36.2
Overall
22.8
Output $/M
$1.20
35
vs boards won of 35 shared

Phi 4 or MiniMax M2.7: which to pick

Only MiniMax M2.7 has a coding score, 36.2 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding.

Pick Phi 4 for output tokens 8.6x cheaper ($0.14 vs $1.20 per million).

Shared results
35
Phi 4 only
10
MiniMax M2.7 only
39
Like-for-like categories
7 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, MiniMax M2.7 36.2 from 3 benchmarks.
Widest category
Agentic work, 84.8 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Phi 4 0.0% against MiniMax M2.7 84.8%, 84.8 points apart on a 0 to 100 scale.
Output price
Phi 4 $0.14 against MiniMax M2.7 $1.20 per million output tokens, 8.6x apart.
Context window
Phi 4 takes 16K tokens, MiniMax M2.7 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.

Boards won, where both have a result
CategoryPhi 4BarsMiniMax M2.7Ties
Coding03
Intelligence02
Agentic work01
Reasoning05
Math02
Knowledge04
General018
All shared boards035
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
LMArena WebDevNot measured1399Only MiniMax M2.7 measured
AA Coding IndexNot measured52.6Only MiniMax M2.7 measured
LiveCodeBench (Vals AI)Not measured79.9%Only MiniMax M2.7 measured
SWE-bench Verified (Vals AI)Not measured73.8%Only MiniMax M2.7 measured
Vibe Code Bench (Vals AI)Not measured11.9%Only MiniMax M2.7 measured
Code migration (Vals AI)Not measured8.7%Only MiniMax M2.7 measured
ProgramBench (Vals AI)Not measured0.0%Only MiniMax M2.7 measured
Terminal-Bench 2.1 (Vals AI)Not measured48.7%Only MiniMax M2.7 measured
LiveCodeBench (Artificial Analysis run)23.1%Not measuredOnly Phi 4 measured
SciCodeNot measured50.1%Only MiniMax M2.7 measured
Terminal-Bench Hard (Artificial Analysis run)3.8%39.4%MiniMax M2.7
Terminal-BenchNot measured45.1%Only MiniMax M2.7 measured
WeirdMLNot measured37.0%Only MiniMax M2.7 measured
ALE-BenchNot measured599.3Only MiniMax M2.7 measured
LMArena Text: coding12311454MiniMax M2.7
LMArena Text: software and IT12281446MiniMax M2.7
LMArena WebDev: ReactNot measured1388Only MiniMax M2.7 measured
LMArena WebDev: HTMLNot measured1401Only MiniMax M2.7 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
AA Intelligence Index5.922.8MiniMax M2.7
Epoch Capabilities Index130.5145.8MiniMax M2.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
AA Agentic IndexNot measured15.3Only MiniMax M2.7 measured
Finance Agent (Vals AI)Not measured27.9%Only MiniMax M2.7 measured
Tax Agent Bench (Vals AI)Not measured6.9%Only MiniMax M2.7 measured
Legal Research Bench (Vals AI)Not measured10.6%Only MiniMax M2.7 measured
Excel Modeling Benchmark (Vals AI)Not measured28.4%Only MiniMax M2.7 measured
τ²-Bench Telecom0.0%84.8%MiniMax M2.7
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 MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
GPQA DiamondNot measured86.6%Only MiniMax M2.7 measured
GPQA Diamond (Artificial Analysis run)57.5%87.4%MiniMax M2.7
Humanity's Last Exam (Artificial Analysis run)3.8%29.6%MiniMax M2.7
GPQA Diamond (Epoch AI run)56.1%Not measuredOnly Phi 4 measured
LMArena Text: hard prompts12201422MiniMax M2.7
LMArena Text: expert12031443MiniMax M2.7
LMArena Text: hard prompts in English12301441MiniMax M2.7
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
AIMENot measured91.0%Only MiniMax M2.7 measured
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 measured3.0%Only MiniMax M2.7 measured
MATH level 564.9%Not measuredOnly Phi 4 measured
LMArena Text: math12461421MiniMax M2.7
LMArena Text: mathematical work12541437MiniMax M2.7
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
MMLU ProNot measured80.4%Only MiniMax M2.7 measured
LegalBench (Vals AI)Not measured84.0%Only MiniMax M2.7 measured
CaseLaw (Vals AI)Not measured60.9%Only MiniMax M2.7 measured
CorpFin (Vals AI)Not measured61.2%Only MiniMax M2.7 measured
TaxEval (Vals AI)Not measured66.6%Only MiniMax M2.7 measured
MedCode (Vals AI)Not measured34.4%Only MiniMax M2.7 measured
MMLU Pro (Artificial Analysis run)71.4%Not measuredOnly Phi 4 measured
MMLU84.8%Not measuredOnly Phi 4 measured
LMArena Text: science12061416MiniMax M2.7
LMArena Text: medicine and healthcare12021409MiniMax M2.7
LMArena Text: legal and government12411403MiniMax M2.7
LMArena Text: business and finance11991407MiniMax M2.7
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 MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
Design Arena: websitesNot measured1243Only MiniMax M2.7 measured
Design Arena: UI componentsNot measured1210Only MiniMax M2.7 measured
Design Arena: game devNot measured1209Only MiniMax M2.7 measured
Design Arena: data vizNot measured1233Only MiniMax M2.7 measured
Design Arena: 3DNot measured1195Only MiniMax M2.7 measured
Design Arena: all code categoriesNot measured1233Only MiniMax M2.7 measured
Design Arena: SVGNot measured1137Only MiniMax M2.7 measured
Design Arena: ASCII artNot measured1136Only MiniMax M2.7 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index018
General benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
MedScribe (Vals AI)Not measured79.9%Only MiniMax M2.7 measured
IFBench23.5%75.7%MiniMax M2.7
Long context reasoning (AA-LCR)0.0%78.3%MiniMax M2.7
Creative writing (Lech Mazur)62.6%Not measuredOnly Phi 4 measured
ExploitBenchNot measured13.3%Only MiniMax M2.7 measured
LMArena Text12171405MiniMax M2.7
LMArena Text: instruction following12011405MiniMax M2.7
LMArena Text: creative writing11811354MiniMax M2.7
LMArena Text: English12311426MiniMax M2.7
LMArena Text: non-English11971382MiniMax M2.7
LMArena Text: Chinese12121442MiniMax M2.7
LMArena Text: German12221398MiniMax M2.7
LMArena Text: Japanese11581260MiniMax M2.7
LMArena Text: Korean11511314MiniMax M2.7
LMArena Text: French12241424MiniMax M2.7
LMArena Text: Spanish12341402MiniMax M2.7
LMArena Text: Russian12091383MiniMax M2.7
LMArena Text: PolishNot measured1387Only MiniMax M2.7 measured
LMArena Text: multi-turn12061412MiniMax M2.7
LMArena Text: longer queries12171418MiniMax M2.7
LMArena Text: writing and language11981376MiniMax M2.7
LMArena Text: entertainment and media11621360MiniMax M2.7
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
Image generation benchmarks for Phi 4 and MiniMax M2.7
BenchmarkPhi 4MiniMax M2.7Leader
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
MiniMax M2.7$0.0009Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Phi 4$0.0039Exceeds the context window
MiniMax M2.7$0.019Fits in one request

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Phi 4$0.015Exceeds the context window
MiniMax M2.7$0.072Exceeds the context window

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 MiniMax M2.7
SpecificationMicrosoft Phi 4MiniMax M2.7
MakerMicrosoftMiniMax
WeightsOpen weightsOpen weights
ReleasedJanuary 10, 2025March 18, 2026
Context window16K205K
Input $/Mtok$0.07$0.30
Output $/Mtok$0.14$1.20
Coding indexNot benchmarked36.2
Independent measurements behind it03
Cost per solved taskNot computable$0.64
SourceOpenRouter listingOpenRouter listing

Questions

Is Phi 4 better than MiniMax M2.7 for coding?

Only MiniMax M2.7 has a coding score, 36.2 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding. Pick Phi 4 for output tokens 8.6x cheaper ($0.14 vs $1.20 per million).

Which is cheaper, Phi 4 or MiniMax M2.7?

Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; MiniMax M2.7 costs $0.30 and $1.20. Cost per solved task is known for MiniMax M2.7 only.

Which has the bigger context window, Phi 4 or MiniMax M2.7?

MiniMax M2.7, with 205K tokens against 16K.

How many benchmarks is the Phi 4 vs MiniMax M2.7 comparison based on?

35 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.7's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next