Model comparison

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

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

Last verified . 19 shared benchmarks.

Llama 3-8B Meta

25.3

Rank #338 Confirmed

Phi 3 Mini 128k Instruct Microsoft

29.1

Rank #303 Confirmed

Summary

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

Side by side

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

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 128k Instruct: 28.3 (#307)

Coding benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
BigCodeBench Instruct31.9%29.6%
LMArena Coding11521040
BigCodeBench Complete36.9%40.6%
HumanEval+56.7%—
MBPP+54.8%—

Reasoning Phi 3 Mini 128k Instruct leads

Llama 3-8B: 13.8 (#321), Phi 3 Mini 128k Instruct: 18.7 (#254)

Reasoning benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
LMArena Hard Prompts11331028
Chess Puzzles0%—
DTBench43.9%—
Adversarial NLI57.3%—
Epoch Capabilities Index116.33—
ForecastBench58.6—
WinoGrande75.7%—

Math Phi 3 Mini 128k Instruct leads

Llama 3-8B: 8.3 (#317), Phi 3 Mini 128k Instruct: 29.2 (#220)

Math benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
LMArena Math11511089
OTIS Mock AIME 2024-20251.9%—
MATH Level 56.1%—

Knowledge Phi 3 Mini 128k Instruct leads

Llama 3-8B: 7.8 (#303), Phi 3 Mini 128k Instruct: 26.3 (#251)

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

Multilingual Llama 3-8B leads

Llama 3-8B: 31.0 (#256), Phi 3 Mini 128k Instruct: 25.4 (#280)

Multilingual benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
LMArena Non-English10981000
LMArena Chinese10761016
LMArena French11581038
LMArena German11041006
LMArena Japanese967899
LMArena Korean1003856
LMArena Russian11091004
LMArena Spanish11721058

Instruction Following Llama 3-8B leads

Llama 3-8B: 58.7 (#255), Phi 3 Mini 128k Instruct: 52.1 (#289)

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
LMArena Instruction Following11271023

Long Context Llama 3-8B leads

Llama 3-8B: 34.2 (#246), Phi 3 Mini 128k Instruct: 30.3 (#284)

Long Context benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
LMArena Longer Query1128996

Writing & Preference Llama 3-8B leads

Llama 3-8B: 37.7 (#251), Phi 3 Mini 128k Instruct: 27.3 (#296)

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 128k Instruct
LMArena Text11661050
LMArena Creative Writing11501024
LMArena Multi-Turn1152989

Frequently asked questions

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

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

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

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

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

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

Related comparisons

Go deeper