Model comparison

Llama 3-8B vs phi-3-medium 14B

phi-3-medium 14B is the stronger model overall, scoring 29.7 to 25.5 on the Noometry Index.

Last verified . 11 shared benchmarks.

Llama 3-8B Meta

25.5

Rank #344 Confirmed

phi-3-medium 14B Microsoft

29.7

Rank #306 Reported

Summary

  • They share 11 benchmarks with published results for both. Llama 3-8B scores higher in 0 categories and phi-3-medium 14B in 3 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in math, where phi-3-medium 14B leads 27.3 to 8.8.
  • The biggest single-benchmark swing is BigCodeBench Complete: 36.9% for Llama 3-8B and 48.7% for phi-3-medium 14B.

Side by side

Llama 3-8B and phi-3-medium 14B specifications
Llama 3-8Bphi-3-medium 14B
ProviderMetaMicrosoft
Noometry Index25.529.7
Released2024-04-182024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3413

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

Category by category

Coding phi-3-medium 14B leads

Llama 3-8B: 31.0 (#289), phi-3-medium 14B: 36.8 (#201)

Coding benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
BigCodeBench Instruct31.9%37.6%
BigCodeBench Complete36.9%48.7%
LMArena Coding1152—
HumanEval+56.7%—
MBPP+54.8%—

Reasoning Not comparable

Llama 3-8B: 14.3 (#326), phi-3-medium 14B: —

Reasoning benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
Adversarial NLI57.3%55.8%
Epoch Capabilities Index116.45121.23
WinoGrande75.7%81.5%
Chess Puzzles0%—
LMArena Hard Prompts1133—
DTBench43.9%—
BIG-Bench Hard—81.4%
ForecastBench58.6—
HellaSwag—82.4%

Math phi-3-medium 14B leads

Llama 3-8B: 8.8 (#323), phi-3-medium 14B: 27.3 (#250)

Math benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
MATH Level 56.1%17.6%
OTIS Mock AIME 2024-20251.9%—
LMArena Math1151—

Knowledge phi-3-medium 14B leads

Llama 3-8B: 7.8 (#308), phi-3-medium 14B: 9.1 (#306)

Knowledge benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
GPQA Diamond26.1%27.6%
ARC (AI2) Challenge82.8%91.6%
MMLU68.8%78%
OpenBookQA82.6%87.4%
TriviaQA67.7%73.9%
LMArena Expert1113—

Multilingual Not comparable

Llama 3-8B: 30.8 (#261), phi-3-medium 14B: —

Multilingual benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
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-3-medium 14B: —

Instruction Following benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
LMArena Instruction Following1127—

Long Context Not comparable

Llama 3-8B: 34.2 (#251), phi-3-medium 14B: —

Long Context benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
LMArena Longer Query1128—

Writing & Preference Not comparable

Llama 3-8B: 37.5 (#256), phi-3-medium 14B: —

Writing & Preference benchmarks
BenchmarkLlama 3-8Bphi-3-medium 14B
LMArena Text1166—
LMArena Creative Writing1150—
LMArena Multi-Turn1152—

Frequently asked questions

Is Llama 3-8B better than phi-3-medium 14B?

phi-3-medium 14B is the stronger model overall, scoring 29.7 to 25.5 on the Noometry Index.

Is Llama 3-8B or phi-3-medium 14B better for coding?

phi-3-medium 14B scores higher on coding benchmarks: 36.8 versus 31.0 in the Noometry coding category.

How many benchmarks do Llama 3-8B and phi-3-medium 14B share?

11 benchmarks have published results for both models. Llama 3-8B has 34 scored results on Noometry and phi-3-medium 14B has 13.

Related comparisons

Go deeper