Model comparison

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

Phi 3 Mini 4k Instruct June 2024 is the stronger model overall, scoring 31.3 to 25.5 on the Noometry Index.

Last verified . 15 shared benchmarks.

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Summary

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

Side by side

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

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

Category by category

Coding Too close to call

Llama 3-8B: 31.0 (#289), Phi 3 Mini 4k Instruct June 2024: 31.8 (#279)

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

Reasoning Phi 3 Mini 4k Instruct June 2024 leads

Llama 3-8B: 14.3 (#326), Phi 3 Mini 4k Instruct June 2024: 20.8 (#231)

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

Math Phi 3 Mini 4k Instruct June 2024 leads

Llama 3-8B: 8.8 (#323), Phi 3 Mini 4k Instruct June 2024: 33.0 (#208)

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

Knowledge Phi 3 Mini 4k Instruct June 2024 leads

Llama 3-8B: 7.8 (#308), Phi 3 Mini 4k Instruct June 2024: 28.6 (#244)

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

Multilingual Llama 3-8B leads

Llama 3-8B: 30.8 (#261), Phi 3 Mini 4k Instruct June 2024: 25.9 (#282)

Multilingual benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct June 2024
LMArena Non-English10981013
LMArena Chinese10761033
LMArena German11041031
LMArena Japanese967954
LMArena Korean1004880
LMArena Russian11091019
LMArena French1159—
LMArena Spanish1173—

Instruction Following Llama 3-8B leads

Llama 3-8B: 58.4 (#260), Phi 3 Mini 4k Instruct June 2024: 54.1 (#282)

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct June 2024
LMArena Instruction Following11271058

Long Context Llama 3-8B leads

Llama 3-8B: 34.2 (#251), Phi 3 Mini 4k Instruct June 2024: 31.7 (#277)

Long Context benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct June 2024
LMArena Longer Query11281042

Writing & Preference Llama 3-8B leads

Llama 3-8B: 37.5 (#256), Phi 3 Mini 4k Instruct June 2024: 29.6 (#294)

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi 3 Mini 4k Instruct June 2024
LMArena Text11661080
LMArena Creative Writing11501045
LMArena Multi-Turn11521049

Frequently asked questions

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

Phi 3 Mini 4k Instruct June 2024 is the stronger model overall, scoring 31.3 to 25.5 on the Noometry Index.

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

They score almost the same on coding (31.0 vs 31.8); test both on your own repository before choosing.

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

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

Related comparisons

Go deeper