Model comparison

Llama 3-8B vs Phi-4 Mini

Phi-4 Mini is the stronger model overall, scoring 30.9 to 25.5 on the Noometry Index.

Last verified . 0 shared benchmarks.

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • The widest gap is in knowledge, where Phi-4 Mini leads 25.3 to 7.8.

Side by side

Llama 3-8B and Phi-4 Mini specifications
Llama 3-8BPhi-4 Mini
ProviderMetaMicrosoft
Noometry Index25.530.9
Released2024-04-182024-12-11
WeightsOpenOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.075
Output $ / M tokens—$0.30
Results tracked343

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Llama 3-8B leads

Llama 3-8B: 31.0 (#289), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
SciCode—10.8%
BigCodeBench Instruct31.9%—
LMArena Coding1152—
BigCodeBench Complete36.9%—
HumanEval+56.7%—
MBPP+54.8%—

Reasoning Phi-4 Mini leads

Llama 3-8B: 14.3 (#326), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
CritPt—0%
Chess Puzzles0%—
LMArena Hard Prompts1133—
DTBench43.9%—
Adversarial NLI57.3%—
Epoch Capabilities Index116.45—
ForecastBench58.6—
WinoGrande75.7%—

Math Not comparable

Llama 3-8B: 8.8 (#323), Phi-4 Mini: —

Math benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
OTIS Mock AIME 2024-20251.9%—
LMArena Math1151—
MATH Level 56.1%—

Knowledge Phi-4 Mini leads

Llama 3-8B: 7.8 (#308), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
GPQA Diamond26.1%—
Vectara Hallucination Rate—23.5%
LMArena Expert1113—
ARC (AI2) Challenge82.8%—
MMLU68.8%—
OpenBookQA82.6%—
TriviaQA67.7%—

Multilingual Not comparable

Llama 3-8B: 30.8 (#261), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
LMArena Non-English1098—
LMArena Chinese1076—
LMArena French1159—
LMArena German1104—
LMArena Japanese967—
LMArena Korean1004—
LMArena Russian1109—
LMArena Spanish1173—

Instruction Following Not comparable

Llama 3-8B: 58.4 (#260), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
LMArena Instruction Following1127—

Long Context Not comparable

Llama 3-8B: 34.2 (#251), Phi-4 Mini: —

Long Context benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
LMArena Longer Query1128—

Writing & Preference Not comparable

Llama 3-8B: 37.5 (#256), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi-4 Mini
LMArena Text1166—
LMArena Creative Writing1150—
LMArena Multi-Turn1152—

Frequently asked questions

Is Llama 3-8B better than Phi-4 Mini?

Phi-4 Mini is the stronger model overall, scoring 30.9 to 25.5 on the Noometry Index.

Is Llama 3-8B or Phi-4 Mini better for coding?

Llama 3-8B scores higher on coding benchmarks: 31.0 versus 28.1 in the Noometry coding category.

How many benchmarks do Llama 3-8B and Phi-4 Mini share?

0 benchmarks have published results for both models. Llama 3-8B has 34 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper