Enter opens the highlighted result. Esc closes.

Granite 4.0 Micro vs Phi 4

Phi 4 leads Granite 4.0 Micro on the Artificial Analysis Intelligence Index, 5.9 to 5.1, and Granite 4.0 Micro costs 1.3x less per output token ($0.112 vs $0.14 per million). Updated October 21, 2026; 13 benchmarks have a result for both.

Granite 4.0 MicroIBM Granite
Coding
No data
Overall
No data
Output $/M
$0.112
4
Phi 4Microsoft
Coding
No data
Overall
24.7
Output $/M
$0.14
9
vs boards won of 13 shared

Granite 4.0 Micro or Phi 4: which to pick

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

Pick Granite 4.0 Micro for output tokens 1.3x cheaper ($0.112 vs $0.14 per million) and a larger context window (131K against 16K tokens).

Shared results
13
Granite 4.0 Micro only
0
Phi 4 only
33
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
Granite 4.0 Micro not benchmarked, Phi 4 not benchmarked.
Widest category
Knowledge, 26.7 points apart on average over 1 shared benchmark.
Widest single gap
GPQA Diamond (Epoch AI run): Granite 4.0 Micro 28.3% against Phi 4 56.1%, 27.8 points apart on a 0 to 100 scale.
Output price
Granite 4.0 Micro $0.112 against Phi 4 $0.14 per million output tokens, 1.3x apart.
Context window
Granite 4.0 Micro takes 131K tokens, Phi 4 16K.

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
CategoryGranite 4.0 MicroBarsPhi 4Ties
Coding02
Intelligence01
Agentic work10
Reasoning12
Math03
Knowledge01
General20
All shared boards49
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
LiveCodeBench (Artificial Analysis run)18.0%23.1%Phi 4
Terminal-Bench Hard (Artificial Analysis run)1.5%3.8%Phi 4
LMArena Text: codingNot measured1231Only Phi 4 measured
LMArena Text: software and ITNot measured1228Only Phi 4 measured
Neither model has a result on the other 35 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
AA Intelligence Index5.15.9Phi 4
Epoch Capabilities IndexNot measured130.5Only Phi 4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
τ²-Bench Telecom12.6%0.0%Granite 4.0 Micro
BALROGNot measured11.6%Only Phi 4 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured28.8%Only Phi 4 measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index12
Reasoning benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
GPQA Diamond (Artificial Analysis run)33.6%57.5%Phi 4
Humanity's Last Exam (Artificial Analysis run)5.0%3.8%Granite 4.0 Micro
GPQA Diamond (Epoch AI run)28.3%56.1%Phi 4
LMArena Text: hard promptsNot measured1220Only Phi 4 measured
LMArena Text: expertNot measured1203Only Phi 4 measured
LMArena Text: hard prompts in EnglishNot measured1230Only Phi 4 measured
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
AA Math Index6.018.0Phi 4
AIME 2025 (Artificial Analysis run)6.0%18.0%Phi 4
OTIS Mock AIME2.8%13.8%Phi 4
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: mathNot measured1246Only Phi 4 measured
LMArena Text: mathematical workNot measured1254Only Phi 4 measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
MMLU Pro (Artificial Analysis run)44.7%71.4%Phi 4
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: scienceNot measured1206Only Phi 4 measured
LMArena Text: medicine and healthcareNot measured1202Only Phi 4 measured
LMArena Text: legal and governmentNot measured1241Only Phi 4 measured
LMArena Text: business and financeNot measured1199Only 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 Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 4Leader
IFBench24.8%23.5%Granite 4.0 Micro
Long context reasoning (AA-LCR)7.0%0.0%Granite 4.0 Micro
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena TextNot measured1217Only Phi 4 measured
LMArena Text: instruction followingNot measured1201Only Phi 4 measured
LMArena Text: creative writingNot measured1181Only Phi 4 measured
LMArena Text: EnglishNot measured1231Only Phi 4 measured
LMArena Text: non-EnglishNot measured1197Only Phi 4 measured
LMArena Text: ChineseNot measured1212Only Phi 4 measured
LMArena Text: GermanNot measured1222Only Phi 4 measured
LMArena Text: JapaneseNot measured1158Only Phi 4 measured
LMArena Text: KoreanNot measured1151Only Phi 4 measured
LMArena Text: FrenchNot measured1224Only Phi 4 measured
LMArena Text: SpanishNot measured1234Only Phi 4 measured
LMArena Text: RussianNot measured1209Only Phi 4 measured
LMArena Text: multi-turnNot measured1206Only Phi 4 measured
LMArena Text: longer queriesNot measured1217Only Phi 4 measured
LMArena Text: writing and languageNot measured1198Only Phi 4 measured
LMArena Text: entertainment and mediaNot measured1162Only Phi 4 measured
Neither model has a result on the other 27 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Granite 4.0 Micro and Phi 4
BenchmarkGranite 4.0 MicroPhi 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

Granite 4.0 Micro$0.0001Fits in one request
Phi 4$0.0001Fits in one request

Granite 4.0 Micro costs less

Repository review

50K input + 3K output tokens

Granite 4.0 Micro$0.0012Fits in one request
Phi 4$0.0039Exceeds the context window

Granite 4.0 Micro costs less

Agent loop

200K input + 10K output tokens

Granite 4.0 Micro$0.0045Exceeds the context window
Phi 4$0.015Exceeds the context window

Granite 4.0 Micro 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 Granite 4.0 Micro and Phi 4
SpecificationIBM Granite 4.0 MicroMicrosoft Phi 4
MakerIBM GraniteMicrosoft
WeightsOpen weightsOpen weights
ReleasedOctober 20, 2025January 10, 2025
Context window131K16K
Input $/Mtok$0.017$0.07
Output $/Mtok$0.112$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Granite 4.0 Micro better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Granite 4.0 Micro for output tokens 1.3x cheaper ($0.112 vs $0.14 per million) and a larger context window (131K against 16K tokens).

Which is cheaper, Granite 4.0 Micro or Phi 4?

Granite 4.0 Micro costs $0.017 per million input tokens and $0.112 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.

Which has the bigger context window, Granite 4.0 Micro or Phi 4?

Granite 4.0 Micro, with 131K tokens against 16K.

How many benchmarks is the Granite 4.0 Micro vs Phi 4 comparison based on?

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

Compare next