Model comparison

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

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

Last verified . 19 shared benchmarks.

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Phi 3 Mini 128k Instruct Microsoft

29.1

Rank #303 Confirmed

Summary

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

Side by side

Llama 3.1-8B and Phi 3 Mini 128k Instruct specifications
Llama 3.1-8BPhi 3 Mini 128k Instruct
ProviderMetaMicrosoft
Noometry Index22.829.1
Released2024-07-232024-04-23
WeightsOpenOpen
Context window128K—
Max output4K—
Input $ / M tokens$0.05—
Output $ / M tokens$0.08—
Results tracked4319

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

Category by category

Coding Phi 3 Mini 128k Instruct leads

Llama 3.1-8B: 19.9 (#335), Phi 3 Mini 128k Instruct: 28.3 (#307)

Coding benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
BigCodeBench Instruct32.8%29.6%
LMArena Coding11951040
BigCodeBench Complete40.5%40.6%
SciCode13.2%—
WeirdML1.7%—
HumanEval+62.8%—
MBPP+55.6%—

Agentic & Tool Use Not comparable

Llama 3.1-8B: 22.3 (#123), Phi 3 Mini 128k Instruct: —

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
Berkeley Function Calling Leaderboard25.8%—
BALROG15.1%—

Reasoning Phi 3 Mini 128k Instruct leads

Llama 3.1-8B: 14.5 (#316), Phi 3 Mini 128k Instruct: 18.7 (#254)

Reasoning benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
LMArena Hard Prompts11751028
CritPt0%—
Chess Puzzles0%—
DTBench50.9%—
LMCA5.4%—
Epoch Capabilities Index116.48—
PIQA81.2%—

Math Phi 3 Mini 128k Instruct leads

Llama 3.1-8B: 9.5 (#311), Phi 3 Mini 128k Instruct: 29.2 (#220)

Math benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
LMArena Math11791089
OTIS Mock AIME 2024-20251.7%—
Omni-MATH13.7%—
MATH Level 522.9%—
GSM8K82.4%—

Knowledge Phi 3 Mini 128k Instruct leads

Llama 3.1-8B: 8.0 (#302), Phi 3 Mini 128k Instruct: 26.3 (#251)

Knowledge benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
LMArena Expert1144984
GPQA Diamond27%—
MMLU-Pro40.6%—
GPQA (HELM)24.7%—
BoolQ82.8%—
MMLU56.1%—

Multilingual Llama 3.1-8B leads

Llama 3.1-8B: 34.2 (#244), Phi 3 Mini 128k Instruct: 25.4 (#280)

Multilingual benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
LMArena Non-English11481000
LMArena Chinese11511016
LMArena French11761038
LMArena German11441006
LMArena Japanese1061899
LMArena Korean1053856
LMArena Russian11581004
LMArena Spanish11691058

Instruction Following Llama 3.1-8B leads

Llama 3.1-8B: 59.1 (#253), Phi 3 Mini 128k Instruct: 52.1 (#289)

Instruction Following benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
LMArena Instruction Following11591023
IFEval74.3%—

Long Context Llama 3.1-8B leads

Llama 3.1-8B: 35.8 (#233), Phi 3 Mini 128k Instruct: 30.3 (#284)

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

Writing & Preference Llama 3.1-8B leads

Llama 3.1-8B: 29.9 (#285), Phi 3 Mini 128k Instruct: 27.3 (#296)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BPhi 3 Mini 128k Instruct
LMArena Text11871050
LMArena Creative Writing11541024
LMArena Multi-Turn1172989
EQ-Bench Creative Writing713—
WildBench68.7%—

Frequently asked questions

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

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

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

Phi 3 Mini 128k Instruct scores higher on coding benchmarks: 28.3 versus 19.9 in the Noometry coding category.

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

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

Related comparisons

Go deeper