Model comparison

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

Phi 3 Mini 4k Instruct is the stronger model overall, scoring 27.4 to 25.3 on the Noometry Index.

Last verified . 26 shared benchmarks.

Llama 3-8B Meta

25.3

Rank #338 Confirmed

Phi 3 Mini 4k Instruct Microsoft

27.4

Rank #324 Confirmed

Summary

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

Side by side

Llama 3-8B and Phi 3 Mini 4k Instruct specifications
Llama 3-8BPhi 3 Mini 4k Instruct
ProviderMetaMicrosoft
Noometry Index25.327.4
Released2024-04-182024-04-23
WeightsOpenOpen
Context window8K—
Max output8K—
Input $ / M tokens$0.14—
Output $ / M tokens$0.14—
Results tracked3435

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

Category by category

Coding Llama 3-8B leads

Llama 3-8B: 30.5 (#285), Phi 3 Mini 4k Instruct: 26.1 (#319)

Coding benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Coding11521093
HumanEval+56.7%59.1%
MBPP+54.8%54.2%
BigCodeBench Instruct31.9%—
LiveBench Coding—15.5%
BigCodeBench Complete36.9%—

Reasoning Too close to call

Llama 3-8B: 13.8 (#321), Phi 3 Mini 4k Instruct: 13.6 (#326)

Reasoning benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
Chess Puzzles0%0%
LMArena Hard Prompts11331072
Adversarial NLI57.3%52.8%
WinoGrande75.7%70.8%
LiveBench Reasoning—26.8%
DTBench43.9%—
LiveBench Data Analysis—34.7%
BIG-Bench Hard—71.7%
Epoch Capabilities Index116.33—
ForecastBench58.6—
HellaSwag—76.7%
LiveBench—22.4%

Math Phi 3 Mini 4k Instruct leads

Llama 3-8B: 8.3 (#317), Phi 3 Mini 4k Instruct: 24.5 (#258)

Math benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Math11511111
OTIS Mock AIME 2024-20251.9%—
LiveBench Math—15.7%
MATH Level 56.1%—

Knowledge Phi 3 Mini 4k Instruct leads

Llama 3-8B: 7.8 (#303), Phi 3 Mini 4k Instruct: 27.9 (#241)

Knowledge benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Expert11131045
ARC (AI2) Challenge82.8%84.9%
MMLU68.8%68.8%
OpenBookQA82.6%88%
TriviaQA67.7%64%
GPQA Diamond26.1%—

Multilingual Llama 3-8B leads

Llama 3-8B: 31.0 (#256), Phi 3 Mini 4k Instruct: 26.5 (#275)

Multilingual benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Non-English10981021
LMArena Chinese10761021
LMArena French11581075
LMArena German11041044
LMArena Japanese967935
LMArena Korean1003905
LMArena Russian11091022
LMArena Spanish11721084

Instruction Following Llama 3-8B leads

Llama 3-8B: 58.7 (#255), Phi 3 Mini 4k Instruct: 48.0 (#298)

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Instruction Following11271053
LiveBench Instruction Following—39.1%

Long Context Llama 3-8B leads

Llama 3-8B: 34.2 (#246), Phi 3 Mini 4k Instruct: 31.7 (#271)

Long Context benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Longer Query11281044

Writing & Preference Llama 3-8B leads

Llama 3-8B: 37.7 (#251), Phi 3 Mini 4k Instruct: 27.7 (#295)

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct
LMArena Text11661073
LMArena Creative Writing11501037
LMArena Multi-Turn11521018
LiveBench Language—9.2%

Frequently asked questions

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

Phi 3 Mini 4k Instruct is the stronger model overall, scoring 27.4 to 25.3 on the Noometry Index.

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

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

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

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

Related comparisons

Go deeper