Enter opens the highlighted result. Esc closes.

Llama 4 Scout vs Phi 4

Updated October 21, 2026. 42 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Llama 4 ScoutMeta Llama
Coding
No data
Overall
6.5
Output $/M
$0.50
34
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
7
vs boards won of 42 shared, 1 tied

Decision reading

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

Llama 4 Scout has the edge where the context window is larger, 1.31M against 16K tokens, and where what matters is Terminal-Bench Hard (Artificial Analysis run) or Epoch Capabilities Index, where it leads.

Shared results
42
Llama 4 Scout only
38
Phi 4 only
3
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.

At a glance

Coding index
Llama 4 Scout not benchmarked, Phi 4 not benchmarked.
Widest category
Agentic work, 15.5 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): Llama 4 Scout 27.7% against Phi 4 0.0%, 27.7 points apart on a 0 to 100 scale.
Output price
Llama 4 Scout $0.50 against Phi 4 $0.14 per million output tokens, 3.6x apart.
Context window
Llama 4 Scout takes 1.31M 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 ScoutBarsPhi 4Ties
Coding31
Intelligence11
Agentic work10
Reasoning411 tie
Math24
Knowledge50
General180
All shared boards3471 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index31
Coding benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
SWE-bench Verified9.1%Not measuredOnly Llama 4 Scout measured
AA Coding Index8.2Not measuredOnly Llama 4 Scout measured
LiveCodeBench (Vals AI)38.5%Not measuredOnly Llama 4 Scout measured
LiveCodeBench (Artificial Analysis run)29.9%23.1%Llama 4 Scout
SciCode21.3%Not measuredOnly Llama 4 Scout measured
Terminal-Bench Hard (Artificial Analysis run)1.5%3.8%Phi 4
LMArena Text: coding12861231Llama 4 Scout
LMArena Text: software and IT12861228Llama 4 Scout
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
AA Intelligence Index6.55.9Llama 4 Scout
Epoch Capabilities Index129.6130.5Phi 4
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
AA Agentic Index0.5Not measuredOnly Llama 4 Scout measured
τ²-Bench Telecom15.5%0.0%Llama 4 Scout
BALROGNot measured11.6%Only Phi 4 measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index41
Reasoning benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
GPQA Diamond47.0%Not measuredOnly Llama 4 Scout measured
MMMU Pro (Vals AI)58.8%Not measuredOnly Llama 4 Scout measured
GPQA Diamond (Artificial Analysis run)58.7%57.5%Llama 4 Scout
Humanity's Last Exam (Artificial Analysis run)3.8%3.8%Tie
GPQA Diamond (Epoch AI run)51.8%56.1%Phi 4
ARC-AGI0.5%Not measuredOnly Llama 4 Scout measured
ARC-AGI-20.0%Not measuredOnly Llama 4 Scout measured
LMArena Text: hard prompts12661220Llama 4 Scout
LMArena Text: expert12351203Llama 4 Scout
LMArena Text: hard prompts in English12931230Llama 4 Scout
LMArena Vision: diagrams1125Not measuredOnly Llama 4 Scout measured
LMArena Vision: homework1148Not measuredOnly Llama 4 Scout measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index24
Math benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
AIME19.0%Not measuredOnly Llama 4 Scout measured
MATH 500 (Vals AI)79.2%Not measuredOnly Llama 4 Scout measured
MGSM (Vals AI)88.0%Not measuredOnly Llama 4 Scout measured
AA Math Index14.018.0Phi 4
AIME 2025 (Artificial Analysis run)14.0%18.0%Phi 4
OTIS Mock AIME7.8%13.8%Phi 4
MATH level 562.3%64.9%Phi 4
LMArena Text: math12871246Llama 4 Scout
LMArena Text: mathematical work12861254Llama 4 Scout
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 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
MMLU Pro69.6%Not measuredOnly Llama 4 Scout measured
LegalBench (Vals AI)72.0%Not measuredOnly Llama 4 Scout measured
CorpFin (Vals AI)46.8%Not measuredOnly Llama 4 Scout measured
TaxEval (Vals AI)55.2%Not measuredOnly Llama 4 Scout measured
MortgageTax (Vals AI)57.8%Not measuredOnly Llama 4 Scout measured
MedQA (Vals AI)50.9%Not measuredOnly Llama 4 Scout measured
MedCode (Vals AI)23.3%Not measuredOnly Llama 4 Scout measured
MMLU Pro (Artificial Analysis run)75.2%71.4%Llama 4 Scout
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science12781206Llama 4 Scout
LMArena Text: medicine and healthcare12751202Llama 4 Scout
LMArena Text: legal and government12851241Llama 4 Scout
LMArena Text: business and finance12571199Llama 4 Scout
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Web design benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
Design Arena: websites750Not measuredOnly Llama 4 Scout measured
Design Arena: UI components768Not measuredOnly Llama 4 Scout measured
Design Arena: game dev773Not measuredOnly Llama 4 Scout measured
Design Arena: data viz896Not measuredOnly Llama 4 Scout measured
Design Arena: all code categories790Not measuredOnly Llama 4 Scout measured
Neither model has a result on the other 4 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
General benchmarks for Llama 4 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 4Leader
SAGE (Vals AI)34.8%Not measuredOnly Llama 4 Scout measured
MedScribe (Vals AI)50.6%Not measuredOnly Llama 4 Scout measured
IFBench39.5%23.5%Llama 4 Scout
Long context reasoning (AA-LCR)27.7%0.0%Llama 4 Scout
DTBench57.9%Not measuredOnly Llama 4 Scout measured
LMCA12.0%Not measuredOnly Llama 4 Scout measured
Fiction.LiveBench36.0%Not measuredOnly Llama 4 Scout measured
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena Text12791217Llama 4 Scout
LMArena Text: instruction following12481201Llama 4 Scout
LMArena Text: creative writing12491181Llama 4 Scout
LMArena Vision1118Not measuredOnly Llama 4 Scout measured
LMArena Text: English13041231Llama 4 Scout
LMArena Text: non-English12521197Llama 4 Scout
LMArena Text: Chinese12551212Llama 4 Scout
LMArena Text: German12731222Llama 4 Scout
LMArena Text: Japanese12061158Llama 4 Scout
LMArena Text: Korean12071151Llama 4 Scout
LMArena Text: French12831224Llama 4 Scout
LMArena Text: Spanish12781234Llama 4 Scout
LMArena Text: Russian12631209Llama 4 Scout
LMArena Text: Polish1265Not measuredOnly Llama 4 Scout measured
LMArena Text: multi-turn12801206Llama 4 Scout
LMArena Text: longer queries12651217Llama 4 Scout
LMArena Text: writing and language12691198Llama 4 Scout
LMArena Text: entertainment and media12421162Llama 4 Scout
LMArena Vision: English1143Not measuredOnly Llama 4 Scout measured
LMArena Vision: Chinese1106Not measuredOnly Llama 4 Scout measured
LMArena Vision: reading text1117Not measuredOnly Llama 4 Scout measured
LMArena Vision: humor1102Not measuredOnly Llama 4 Scout measured
LMArena Vision: creative writing1126Not measuredOnly Llama 4 Scout 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 Scout and Phi 4
BenchmarkLlama 4 ScoutPhi 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 Scout$0.0004Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Llama 4 Scout$0.010Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Llama 4 Scout$0.040Fits 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 Scout and Phi 4
SpecificationMeta Llama 4 ScoutMicrosoft Phi 4
MakerMeta LlamaMicrosoft
WeightsOpen weightsOpen weights
ReleasedApril 5, 2025January 10, 2025
Context window1.31M16K
Input $/Mtok$0.175$0.07
Output $/Mtok$0.50$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$1.276Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 4 Scout better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Llama 4 Scout has the edge where the context window is larger, 1.31M against 16K tokens, and where what matters is Terminal-Bench Hard (Artificial Analysis run) or Epoch Capabilities Index, where it leads.

Which is cheaper, Llama 4 Scout or Phi 4?

Llama 4 Scout costs $0.175 per million input tokens and $0.50 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for Llama 4 Scout only.

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

Llama 4 Scout, with 1.31M tokens against 16K.

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

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