Model comparison

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

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

Last verified . 17 shared benchmarks.

Llama 3.1-70B Meta

29.6

Rank #308 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-70B scores higher in 4 categories and Phi 3 Medium 4k Instruct in 4 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Phi 3 Medium 4k Instruct leads 33.4 to 13.5.

Side by side

Llama 3.1-70B and Phi 3 Medium 4k Instruct specifications
Llama 3.1-70BPhi 3 Medium 4k Instruct
ProviderMetaMicrosoft
Noometry Index29.633.0
Released2024-07-23—
WeightsOpenOpen
Context window128K—
Max output4K—
Input $ / M tokens$0.40—
Output $ / M tokens$0.40—
Results tracked3517

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

Category by category

Coding Phi 3 Medium 4k Instruct leads

Llama 3.1-70B: 30.3 (#296), Phi 3 Medium 4k Instruct: 32.9 (#268)

Coding benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Coding12601130
WeirdML9%—
BigCodeBench Instruct46.1%—
BigCodeBench Complete54.8%—

Agentic & Tool Use Not comparable

Llama 3.1-70B: 25.1 (#112), Phi 3 Medium 4k Instruct: —

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
TheAgentCompany6.9%—
BALROG27.9%—

Reasoning Too close to call

Llama 3.1-70B: 21.6 (#220), Phi 3 Medium 4k Instruct: 21.7 (#214)

Reasoning benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Hard Prompts12411127
DTBench60%—
LMCA14.8%—
Epoch Capabilities Index125.92—

Math Phi 3 Medium 4k Instruct leads

Llama 3.1-70B: 13.5 (#304), Phi 3 Medium 4k Instruct: 33.4 (#202)

Math benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Math12521173
OTIS Mock AIME 2024-20253.6%—
Omni-MATH21%—
MATH Level 536.7%—

Knowledge Phi 3 Medium 4k Instruct leads

Llama 3.1-70B: 24.2 (#269), Phi 3 Medium 4k Instruct: 30.2 (#229)

Knowledge benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Expert12091108
GPQA Diamond44.2%—
MMLU-Pro65.3%—
GPQA (HELM)42.6%—
MMLU80.1%—

Multilingual Llama 3.1-70B leads

Llama 3.1-70B: 38.8 (#225), Phi 3 Medium 4k Instruct: 30.6 (#263)

Multilingual benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Non-English12191094
LMArena Chinese12151108
LMArena French12611110
LMArena German12221101
LMArena Japanese11321042
LMArena Korean1140954
LMArena Russian12341145
LMArena Spanish12531095

Instruction Following Llama 3.1-70B leads

Llama 3.1-70B: 65.3 (#223), Phi 3 Medium 4k Instruct: 57.6 (#268)

Instruction Following benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Instruction Following12311113
IFEval82.1%—

Long Context Llama 3.1-70B leads

Llama 3.1-70B: 37.6 (#214), Phi 3 Medium 4k Instruct: 34.0 (#255)

Long Context benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Longer Query12411120

Writing & Preference Llama 3.1-70B leads

Llama 3.1-70B: 35.4 (#267), Phi 3 Medium 4k Instruct: 34.1 (#272)

Writing & Preference benchmarks
BenchmarkLlama 3.1-70BPhi 3 Medium 4k Instruct
LMArena Text12611138
LMArena Creative Writing12321107
LMArena Multi-Turn12561088
EQ-Bench Creative Writing784—
WildBench75.8%—

Frequently asked questions

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

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

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

Phi 3 Medium 4k Instruct scores higher on coding benchmarks: 32.9 versus 30.3 in the Noometry coding category.

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

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

Related comparisons

Go deeper