Model comparison

Llama 3.1-405B vs Phi 3 Medium 4k Instruct

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

Last verified . 17 shared benchmarks.

Llama 3.1-405B Meta

30.7

Rank #288 Confirmed

Phi 3 Medium 4k Instruct Microsoft

33.0

Rank #250 Confirmed

Summary

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

Side by side

Llama 3.1-405B and Phi 3 Medium 4k Instruct specifications
Llama 3.1-405BPhi 3 Medium 4k Instruct
ProviderMetaMicrosoft
Noometry Index30.733.0
Released2024-07-23—
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked4217

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

Category by category

Coding Too close to call

Llama 3.1-405B: 33.1 (#262), Phi 3 Medium 4k Instruct: 32.9 (#268)

Coding benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Coding12911130
WeirdML21.4%—

Agentic & Tool Use Not comparable

Llama 3.1-405B: 21.0 (#140), Phi 3 Medium 4k Instruct: —

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
TheAgentCompany7.4%—
Cybench7.5%—

Reasoning Phi 3 Medium 4k Instruct leads

Llama 3.1-405B: 16.8 (#300), Phi 3 Medium 4k Instruct: 21.7 (#214)

Reasoning benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Hard Prompts12691127
SimpleBench23%—
Kagi LLM Benchmark45%—
DTBench61.4%—
BIG-Bench Hard82.9%—
Epoch Capabilities Index128.75—
ForecastBench59.9—
HellaSwag89.2%—
PIQA85.9%—
WinoGrande89.2%—

Math Phi 3 Medium 4k Instruct leads

Llama 3.1-405B: 18.4 (#290), Phi 3 Medium 4k Instruct: 33.4 (#202)

Math benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Math12811173
OTIS Mock AIME 2024-20259.7%—
Omni-MATH24.9%—
MATH Level 549.8%—

Knowledge Too close to call

Llama 3.1-405B: 30.4 (#227), Phi 3 Medium 4k Instruct: 30.2 (#229)

Knowledge benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Expert12431108
GPQA Diamond50.9%—
MMLU-Pro72.3%—
Confabulations17.6%—
GPQA (HELM)52.2%—
ARC (AI2) Challenge95.3%—
MMLU84.5%—
TriviaQA82.7%—

Multilingual Llama 3.1-405B leads

Llama 3.1-405B: 40.7 (#214), Phi 3 Medium 4k Instruct: 30.6 (#263)

Multilingual benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Non-English12481094
LMArena Chinese12421108
LMArena French12791110
LMArena German12521101
LMArena Japanese12081042
LMArena Korean1184954
LMArena Russian12651145
LMArena Spanish12601095

Instruction Following Llama 3.1-405B leads

Llama 3.1-405B: 65.9 (#214), Phi 3 Medium 4k Instruct: 57.6 (#268)

Instruction Following benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Instruction Following12591113
IFEval81.1%—

Long Context Llama 3.1-405B leads

Llama 3.1-405B: 38.4 (#197), Phi 3 Medium 4k Instruct: 34.0 (#255)

Long Context benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Longer Query12661120

Writing & Preference Llama 3.1-405B leads

Llama 3.1-405B: 38.9 (#251), Phi 3 Medium 4k Instruct: 34.1 (#272)

Writing & Preference benchmarks
BenchmarkLlama 3.1-405BPhi 3 Medium 4k Instruct
LMArena Text12841138
LMArena Creative Writing12621107
LMArena Multi-Turn12971088
EQ-Bench Creative Writing870—
WildBench78.3%—

Frequently asked questions

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

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

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

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

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

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

Related comparisons

Go deeper