Model comparison

Llama 3-8B vs Phi 3 Medium 4k Instruct

Phi 3 Medium 4k Instruct is the stronger model overall, scoring 33.0 to 25.5 on the Noometry Index.

Last verified . 17 shared benchmarks.

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Phi 3 Medium 4k Instruct Microsoft

33.0

Rank #250 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Llama 3-8B scores higher in 4 categories and Phi 3 Medium 4k Instruct in 4 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in math, where Phi 3 Medium 4k Instruct leads 33.4 to 8.8.

Side by side

Llama 3-8B and Phi 3 Medium 4k Instruct specifications
Llama 3-8BPhi 3 Medium 4k Instruct
ProviderMetaMicrosoft
Noometry Index25.533.0
Released2024-04-18—
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3417

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

Category by category

Coding Phi 3 Medium 4k Instruct leads

Llama 3-8B: 31.0 (#289), Phi 3 Medium 4k Instruct: 32.9 (#268)

Coding benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Coding11521130
BigCodeBench Instruct31.9%—
BigCodeBench Complete36.9%—
HumanEval+56.7%—
MBPP+54.8%—

Reasoning Phi 3 Medium 4k Instruct leads

Llama 3-8B: 14.3 (#326), Phi 3 Medium 4k Instruct: 21.7 (#214)

Reasoning benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Hard Prompts11331127
Chess Puzzles0%—
DTBench43.9%—
Adversarial NLI57.3%—
Epoch Capabilities Index116.45—
ForecastBench58.6—
WinoGrande75.7%—

Math Phi 3 Medium 4k Instruct leads

Llama 3-8B: 8.8 (#323), Phi 3 Medium 4k Instruct: 33.4 (#202)

Math benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Math11511173
OTIS Mock AIME 2024-20251.9%—
MATH Level 56.1%—

Knowledge Phi 3 Medium 4k Instruct leads

Llama 3-8B: 7.8 (#308), Phi 3 Medium 4k Instruct: 30.2 (#229)

Knowledge benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Expert11131108
GPQA Diamond26.1%—
ARC (AI2) Challenge82.8%—
MMLU68.8%—
OpenBookQA82.6%—
TriviaQA67.7%—

Multilingual Too close to call

Llama 3-8B: 30.8 (#261), Phi 3 Medium 4k Instruct: 30.6 (#263)

Multilingual benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Non-English10981094
LMArena Chinese10761108
LMArena French11591110
LMArena German11041101
LMArena Japanese9671042
LMArena Korean1004954
LMArena Russian11091145
LMArena Spanish11731095

Instruction Following Too close to call

Llama 3-8B: 58.4 (#260), Phi 3 Medium 4k Instruct: 57.6 (#268)

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Instruction Following11271113

Long Context Too close to call

Llama 3-8B: 34.2 (#251), Phi 3 Medium 4k Instruct: 34.0 (#255)

Long Context benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Longer Query11281120

Writing & Preference Llama 3-8B leads

Llama 3-8B: 37.5 (#256), Phi 3 Medium 4k Instruct: 34.1 (#272)

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi 3 Medium 4k Instruct
LMArena Text11661138
LMArena Creative Writing11501107
LMArena Multi-Turn11521088

Frequently asked questions

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

Phi 3 Medium 4k Instruct is the stronger model overall, scoring 33.0 to 25.5 on the Noometry Index.

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

Phi 3 Medium 4k Instruct scores higher on coding benchmarks: 32.9 versus 31.0 in the Noometry coding category.

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

17 benchmarks have published results for both models. Llama 3-8B has 34 scored results on Noometry and Phi 3 Medium 4k Instruct has 17.

Related comparisons

Go deeper