Enter opens the highlighted result. Esc closes.

Llama 3.2 3B Instruct vs Phi 4

Phi 4 leads Llama 3.2 3B Instruct on the Artificial Analysis Intelligence Index, 5.9 to 5.7, and Phi 4 costs 2.4x less per output token ($0.14 vs $0.3325 per million). Updated October 21, 2026; 35 benchmarks have a result for both.

Llama 3.2 3B InstructMeta Llama
Coding
No data
Overall
5.7
Output $/M
$0.3325
4
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
31
vs boards won of 35 shared

Llama 3.2 3B Instruct or Phi 4: which to pick

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

Pick Llama 3.2 3B Instruct for a larger context window (131K against 16K tokens) and work measured by LiveCodeBench (Artificial Analysis run) or LMArena Text: coding, where it leads.

Shared results
35
Llama 3.2 3B Instruct only
0
Phi 4 only
11
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 3.2 3B Instruct not benchmarked, Phi 4 not benchmarked.
Widest category
Knowledge, 22.3 points apart on average over 5 shared benchmarks.
Widest single gap
MMLU Pro (Artificial Analysis run): Llama 3.2 3B Instruct 34.7% against Phi 4 71.4%, 36.7 points apart on a 0 to 100 scale.
Output price
Llama 3.2 3B Instruct $0.3325 against Phi 4 $0.14 per million output tokens, 2.4x apart.
Context window
Llama 3.2 3B Instruct 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
CategoryLlama 3.2 3B InstructBarsPhi 4Ties
Coding03
Intelligence01
Agentic work12
Reasoning14
Math04
Knowledge05
General212
All shared boards431
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
LiveCodeBench (Artificial Analysis run)8.3%23.1%Phi 4
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only Phi 4 measured
LMArena Text: coding10981231Phi 4
LMArena Text: software and IT11031228Phi 4
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 Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
AA Intelligence Index5.75.9Phi 4
Epoch Capabilities IndexNot measured130.5Only Phi 4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index12
Agentic work benchmarks for Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
τ²-Bench Telecom21.1%0.0%Llama 3.2 3B Instruct
BALROG10.1%11.6%Phi 4
Berkeley Function Calling Leaderboard (BFCL)21.9%28.8%Phi 4
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index14
Reasoning benchmarks for Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
GPQA Diamond (Artificial Analysis run)25.5%57.5%Phi 4
Humanity's Last Exam (Artificial Analysis run)5.3%3.8%Llama 3.2 3B Instruct
GPQA Diamond (Epoch AI run)Not measured56.1%Only Phi 4 measured
LMArena Text: hard prompts10951220Phi 4
LMArena Text: expert10901203Phi 4
LMArena Text: hard prompts in English11411230Phi 4
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
AA Math Index3.318.0Phi 4
AIME 2025 (Artificial Analysis run)3.3%18.0%Phi 4
OTIS Mock AIMENot measured13.8%Only Phi 4 measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math11261246Phi 4
LMArena Text: mathematical work11281254Phi 4
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
MMLU Pro (Artificial Analysis run)34.7%71.4%Phi 4
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science11061206Phi 4
LMArena Text: medicine and healthcare11041202Phi 4
LMArena Text: legal and government11151241Phi 4
LMArena Text: business and finance10741199Phi 4
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 Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index212
General benchmarks for Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 4Leader
IFBench26.2%23.5%Llama 3.2 3B Instruct
Long context reasoning (AA-LCR)4.3%0.0%Llama 3.2 3B Instruct
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena Text11101217Phi 4
LMArena Text: instruction following10891201Phi 4
LMArena Text: creative writing10941181Phi 4
LMArena Text: English11801231Phi 4
LMArena Text: non-English10191197Phi 4
LMArena Text: Chinese10171212Phi 4
LMArena Text: German10561222Phi 4
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: Russian9491209Phi 4
LMArena Text: multi-turn11051206Phi 4
LMArena Text: longer queries11001217Phi 4
LMArena Text: writing and language10961198Phi 4
LMArena Text: entertainment and media10831162Phi 4
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 Llama 3.2 3B Instruct and Phi 4
BenchmarkLlama 3.2 3B InstructPhi 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 3.2 3B Instruct$0.0002Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Llama 3.2 3B Instruct$0.0035Fits in one request
Phi 4$0.0039Exceeds the context window

Llama 3.2 3B Instruct costs less

Agent loop

200K input + 10K output tokens

Llama 3.2 3B Instruct$0.013Exceeds the context window
Phi 4$0.015Exceeds the context window

Llama 3.2 3B Instruct 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 3.2 3B Instruct and Phi 4
SpecificationMeta Llama 3.2 3B InstructMicrosoft Phi 4
MakerMeta LlamaMicrosoft
WeightsOpen weightsOpen weights
ReleasedSeptember 25, 2024January 10, 2025
Context window131K16K
Input $/Mtok$0.0505$0.07
Output $/Mtok$0.3325$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 3.2 3B Instruct better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Llama 3.2 3B Instruct for a larger context window (131K against 16K tokens) and work measured by LiveCodeBench (Artificial Analysis run) or LMArena Text: coding, where it leads.

Which is cheaper, Llama 3.2 3B Instruct or Phi 4?

Llama 3.2 3B Instruct costs $0.0505 per million input tokens and $0.3325 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, Llama 3.2 3B Instruct or Phi 4?

Llama 3.2 3B Instruct, with 131K tokens against 16K.

How many benchmarks is the Llama 3.2 3B Instruct vs Phi 4 comparison based on?

35 benchmarks have a result for both models as of October 21, 2026. Llama 3.2 3B Instruct'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