Model comparison

Llama 3-8B vs Phi 3 Small 8k Instruct

Phi 3 Small 8k Instruct is the stronger model overall, scoring 29.3 to 25.5 on the Noometry Index.

Last verified . 23 shared benchmarks.

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Phi 3 Small 8k Instruct Microsoft

29.3

Rank #314 Confirmed

Summary

  • They share 23 benchmarks with published results for both. Llama 3-8B scores higher in 5 categories and Phi 3 Small 8k Instruct in 3 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Phi 3 Small 8k Instruct leads 29.1 to 7.8.

Side by side

Llama 3-8B and Phi 3 Small 8k Instruct specifications
Llama 3-8BPhi 3 Small 8k Instruct
ProviderMetaMicrosoft
Noometry Index25.529.3
Released2024-04-182024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3432

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 3 Small 8k Instruct: 27.9 (#318)

Coding benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Coding11521101
BigCodeBench Instruct31.9%—
LiveBench Coding—20.3%
BigCodeBench Complete36.9%—
HumanEval+56.7%—
MBPP+54.8%—

Reasoning Too close to call

Llama 3-8B: 14.3 (#326), Phi 3 Small 8k Instruct: 14.8 (#323)

Reasoning benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Hard Prompts11331100
Adversarial NLI57.3%58.1%
WinoGrande75.7%81.5%
Chess Puzzles0%—
LiveBench Reasoning—15.9%
DTBench43.9%—
LiveBench Data Analysis—30.3%
BIG-Bench Hard—79.1%
Epoch Capabilities Index116.45—
ForecastBench58.6—
HellaSwag—77%
LiveBench—24%

Math Phi 3 Small 8k Instruct leads

Llama 3-8B: 8.8 (#323), Phi 3 Small 8k Instruct: 27.6 (#248)

Math benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Math11511151
OTIS Mock AIME 2024-20251.9%—
LiveBench Math—17.6%
MATH Level 56.1%—

Knowledge Phi 3 Small 8k Instruct leads

Llama 3-8B: 7.8 (#308), Phi 3 Small 8k Instruct: 29.1 (#240)

Knowledge benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Expert11131067
ARC (AI2) Challenge82.8%90.7%
MMLU68.8%75.7%
OpenBookQA82.6%88%
TriviaQA67.7%58.1%
GPQA Diamond26.1%—

Multilingual Llama 3-8B leads

Llama 3-8B: 30.8 (#261), Phi 3 Small 8k Instruct: 28.5 (#272)

Multilingual benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Non-English10981058
LMArena Chinese10761061
LMArena French11591135
LMArena German11041080
LMArena Japanese967966
LMArena Korean1004894
LMArena Russian11091111
LMArena Spanish11731111

Instruction Following Llama 3-8B leads

Llama 3-8B: 58.4 (#260), Phi 3 Small 8k Instruct: 51.9 (#292)

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Instruction Following11271087
LiveBench Instruction Following—47.2%

Long Context Llama 3-8B leads

Llama 3-8B: 34.2 (#251), Phi 3 Small 8k Instruct: 33.0 (#267)

Long Context benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Longer Query11281088

Writing & Preference Llama 3-8B leads

Llama 3-8B: 37.5 (#256), Phi 3 Small 8k Instruct: 31.1 (#284)

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi 3 Small 8k Instruct
LMArena Text11661110
LMArena Creative Writing11501083
LMArena Multi-Turn11521068
LiveBench Language—12.9%

Frequently asked questions

Is Llama 3-8B better than Phi 3 Small 8k Instruct?

Phi 3 Small 8k Instruct is the stronger model overall, scoring 29.3 to 25.5 on the Noometry Index.

Is Llama 3-8B or Phi 3 Small 8k Instruct better for coding?

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

How many benchmarks do Llama 3-8B and Phi 3 Small 8k Instruct share?

23 benchmarks have published results for both models. Llama 3-8B has 34 scored results on Noometry and Phi 3 Small 8k Instruct has 32.

Related comparisons

Go deeper