Enter opens the highlighted result. Esc closes.

Llama 4 Maverick vs Phi 4

Llama 4 Maverick leads Phi 4 on the Artificial Analysis Intelligence Index, 9.3 to 5.9, and Phi 4 costs 7.1x less per output token ($0.14 vs $1.00 per million). Updated October 22, 2026; 40 benchmarks have a result for both.

Llama 4 MaverickMeta Llama
Coding
No data
Overall
21.8
Output $/M
$1.00
39
Phi 4Microsoft
Coding
No data
Overall
24.7
Output $/M
$0.14
1
vs boards won of 40 shared

Llama 4 Maverick or Phi 4: which to pick

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

Pick Llama 4 Maverick for a larger context window (524K against 16K tokens) and work measured by Creative writing (Lech Mazur), where it leads.

Shared results
40
Llama 4 Maverick only
45
Phi 4 only
6
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
Llama 4 Maverick not benchmarked, Phi 4 not benchmarked.
Widest category
Agentic work, 17.8 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): Llama 4 Maverick 50.0% against Phi 4 0.0%, 50.0 points apart on a 0 to 100 scale.
Output price
Llama 4 Maverick $1.00 against Phi 4 $0.14 per million output tokens, 7.1x apart.
Context window
Llama 4 Maverick takes 524K 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
CategoryLlama 4 MaverickBarsPhi 4Ties
Coding40
Intelligence20
Agentic work10
Reasoning50
Math40
Knowledge50
General181
All shared boards391
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
Aider polyglot15.6%Not measuredOnly Llama 4 Maverick measured
SWE-bench Verified21.0%Not measuredOnly Llama 4 Maverick measured
AA Coding Index16.3Not measuredOnly Llama 4 Maverick measured
LiveCodeBench (Vals AI)47.3%Not measuredOnly Llama 4 Maverick measured
LiveCodeBench (Artificial Analysis run)39.7%23.1%Llama 4 Maverick
SciCode31.7%Not measuredOnly Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)6.8%3.8%Llama 4 Maverick
WeirdML24.5%Not measuredOnly Llama 4 Maverick measured
ALE-Bench173.0Not measuredOnly Llama 4 Maverick measured
LMArena Text: coding13011231Llama 4 Maverick
LMArena Text: software and IT12991228Llama 4 Maverick
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
AA Intelligence Index9.35.9Llama 4 Maverick
Epoch Capabilities Index132.2130.5Llama 4 Maverick
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
AA Agentic Index0.6Not measuredOnly Llama 4 Maverick measured
τ²-Bench Telecom17.8%0.0%Llama 4 Maverick
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 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
GPQA Diamond69.4%Not measuredOnly Llama 4 Maverick measured
MMMU Pro (Vals AI)71.7%Not measuredOnly Llama 4 Maverick measured
GPQA Diamond (Artificial Analysis run)67.1%57.5%Llama 4 Maverick
Humanity's Last Exam (Artificial Analysis run)4.9%3.8%Llama 4 Maverick
GPQA Diamond (Epoch AI run)Not measured56.1%Only Phi 4 measured
ARC-AGI4.4%Not measuredOnly Llama 4 Maverick measured
ARC-AGI-20.0%Not measuredOnly Llama 4 Maverick measured
SimpleBench27.7%Not measuredOnly Llama 4 Maverick measured
LMArena Text: hard prompts12811220Llama 4 Maverick
LMArena Text: expert12591203Llama 4 Maverick
LMArena Text: hard prompts in English12951230Llama 4 Maverick
LMArena Vision: diagrams1134Not measuredOnly Llama 4 Maverick measured
LMArena Vision: homework1164Not measuredOnly Llama 4 Maverick measured
Kagi LLM Benchmark55.9%Not measuredOnly Llama 4 Maverick measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
AIME25.2%Not measuredOnly Llama 4 Maverick measured
MATH 500 (Vals AI)85.2%Not measuredOnly Llama 4 Maverick measured
MGSM (Vals AI)92.4%Not measuredOnly Llama 4 Maverick measured
AA Math Index19.318.0Llama 4 Maverick
AIME 2025 (Artificial Analysis run)19.3%18.0%Llama 4 Maverick
OTIS Mock AIMENot measured13.8%Only Phi 4 measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math12991246Llama 4 Maverick
LMArena Text: mathematical work12951254Llama 4 Maverick
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
MMLU Pro79.4%Not measuredOnly Llama 4 Maverick measured
LegalBench (Vals AI)77.8%Not measuredOnly Llama 4 Maverick measured
CorpFin (Vals AI)49.7%Not measuredOnly Llama 4 Maverick measured
TaxEval (Vals AI)66.6%Not measuredOnly Llama 4 Maverick measured
MortgageTax (Vals AI)58.5%Not measuredOnly Llama 4 Maverick measured
MedQA (Vals AI)43.3%Not measuredOnly Llama 4 Maverick measured
MedCode (Vals AI)36.5%Not measuredOnly Llama 4 Maverick measured
MMLU Pro (Artificial Analysis run)80.9%71.4%Llama 4 Maverick
MMLUNot measured84.8%Only Phi 4 measured
GeoBench52.0%Not measuredOnly Llama 4 Maverick measured
LMArena Text: science12881206Llama 4 Maverick
LMArena Text: medicine and healthcare12751202Llama 4 Maverick
LMArena Text: legal and government12861241Llama 4 Maverick
LMArena Text: business and finance12601199Llama 4 Maverick
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
Design Arena: websites871Not measuredOnly Llama 4 Maverick measured
Design Arena: UI components896Not measuredOnly Llama 4 Maverick measured
Design Arena: game dev837Not measuredOnly Llama 4 Maverick measured
Design Arena: data viz882Not measuredOnly Llama 4 Maverick measured
Design Arena: 3D900Not measuredOnly Llama 4 Maverick measured
Design Arena: all code categories879Not measuredOnly Llama 4 Maverick measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index181
General benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 4Leader
SAGE (Vals AI)35.7%Not measuredOnly Llama 4 Maverick measured
MedScribe (Vals AI)54.2%Not measuredOnly Llama 4 Maverick measured
IFBench43.0%23.5%Llama 4 Maverick
Long context reasoning (AA-LCR)50.0%0.0%Llama 4 Maverick
DTBench61.9%Not measuredOnly Llama 4 Maverick measured
LMCA15.9%Not measuredOnly Llama 4 Maverick measured
Fiction.LiveBench46.2%Not measuredOnly Llama 4 Maverick measured
Creative writing (Lech Mazur)62.0%62.6%Phi 4
LMArena Text12871217Llama 4 Maverick
LMArena Text: instruction following12671201Llama 4 Maverick
LMArena Text: creative writing12661181Llama 4 Maverick
LMArena Vision1142Not measuredOnly Llama 4 Maverick measured
LMArena Text: English13031231Llama 4 Maverick
LMArena Text: non-English12691197Llama 4 Maverick
LMArena Text: Chinese12771212Llama 4 Maverick
LMArena Text: German12911222Llama 4 Maverick
LMArena Text: Japanese12061158Llama 4 Maverick
LMArena Text: Korean12031151Llama 4 Maverick
LMArena Text: French12591224Llama 4 Maverick
LMArena Text: Spanish12931234Llama 4 Maverick
LMArena Text: Russian12861209Llama 4 Maverick
LMArena Text: Polish1275Not measuredOnly Llama 4 Maverick measured
LMArena Text: multi-turn12891206Llama 4 Maverick
LMArena Text: longer queries12801217Llama 4 Maverick
LMArena Text: writing and language12771198Llama 4 Maverick
LMArena Text: entertainment and media12501162Llama 4 Maverick
LMArena Vision: English1150Not measuredOnly Llama 4 Maverick measured
LMArena Vision: Chinese1141Not measuredOnly Llama 4 Maverick measured
LMArena Vision: reading text1143Not measuredOnly Llama 4 Maverick measured
LMArena Vision: humor1100Not measuredOnly Llama 4 Maverick measured
LMArena Vision: creative writing1099Not measuredOnly Llama 4 Maverick measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Llama 4 Maverick and Phi 4
BenchmarkLlama 4 MaverickPhi 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

Llama 4 Maverick$0.0008Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Llama 4 Maverick$0.021Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Llama 4 Maverick$0.080Fits in one request
Phi 4$0.015Exceeds 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 Llama 4 Maverick and Phi 4
SpecificationMeta Llama 4 MaverickMicrosoft Phi 4
MakerMeta LlamaMicrosoft
WeightsOpen weightsOpen weights
ReleasedApril 5, 2025January 10, 2025
Context window524K16K
Input $/Mtok$0.35$0.07
Output $/Mtok$1.00$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$1.491Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 4 Maverick better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Llama 4 Maverick for a larger context window (524K against 16K tokens) and work measured by Creative writing (Lech Mazur), where it leads.

Which is cheaper, Llama 4 Maverick or Phi 4?

Llama 4 Maverick costs $0.35 per million input tokens and $1.00 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for Llama 4 Maverick only.

Which has the bigger context window, Llama 4 Maverick or Phi 4?

Llama 4 Maverick, with 524K tokens against 16K.

How many benchmarks is the Llama 4 Maverick vs Phi 4 comparison based on?

40 benchmarks have a result for both models as of October 22, 2026. Llama 4 Maverick'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