Model comparison

Llama 2-13B vs phi-3-medium 14B

Llama 2-13B and phi-3-medium 14B score almost the same on the Noometry Index (29.6 vs 29.7), so choose on price, context window or the category you care about most.

Last verified . 8 shared benchmarks.

Llama 2-13B Meta

29.6

Rank #309 Confirmed

phi-3-medium 14B Microsoft

29.7

Rank #306 Reported

Summary

  • They share 8 benchmarks with published results for both. Llama 2-13B scores higher in 2 categories and phi-3-medium 14B in 1 category; 3 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Llama 2-13B leads 28.1 to 9.1.

Side by side

Llama 2-13B and phi-3-medium 14B specifications
Llama 2-13Bphi-3-medium 14B
ProviderMetaMicrosoft
Noometry Index29.629.7
Released2023-07-182024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3213

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

Category by category

Coding phi-3-medium 14B leads

Llama 2-13B: 30.9 (#291), phi-3-medium 14B: 36.8 (#201)

Coding benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
BigCodeBench Instruct—37.6%
LMArena Coding1062—
BigCodeBench Complete—48.7%

Reasoning Not comparable

Llama 2-13B: 12.8 (#337), phi-3-medium 14B: —

Reasoning benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
BIG-Bench Hard58.2%81.4%
Epoch Capabilities Index106.17121.23
HellaSwag80.7%82.4%
WinoGrande72.8%81.5%
Chess Puzzles0%—
LMArena Hard Prompts1051—
DTBench42.2%—
Adversarial NLI—55.8%
LAMBADA76.5%—
PIQA80.8%—

Math Llama 2-13B leads

Llama 2-13B: 31.1 (#229), phi-3-medium 14B: 27.3 (#250)

Math benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
LMArena Math1065—
MATH Level 5—17.6%
GSM8K36.9%—

Knowledge Llama 2-13B leads

Llama 2-13B: 28.1 (#249), phi-3-medium 14B: 9.1 (#306)

Knowledge benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
ARC (AI2) Challenge60.3%91.6%
MMLU55.6%78%
OpenBookQA57%87.4%
TriviaQA79.6%73.9%
GPQA Diamond—27.6%
LMArena Expert1030—
BoolQ82.4%—

Multimodal Not comparable

Llama 2-13B: —, phi-3-medium 14B: —

Multimodal benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
ScienceQA55.8%—

Multilingual Not comparable

Llama 2-13B: 26.5 (#279), phi-3-medium 14B: —

Multilingual benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
LMArena Non-English1024—
LMArena Chinese1001—
LMArena French1044—
LMArena German1009—
LMArena Japanese894—
LMArena Korean953—
LMArena Russian1055—
LMArena Spanish1087—

Instruction Following Not comparable

Llama 2-13B: 53.3 (#287), phi-3-medium 14B: —

Instruction Following benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
LMArena Instruction Following1045—

Long Context Not comparable

Llama 2-13B: 32.3 (#269), phi-3-medium 14B: —

Long Context benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
LMArena Longer Query1064—

Writing & Preference Not comparable

Llama 2-13B: 29.8 (#289), phi-3-medium 14B: —

Writing & Preference benchmarks
BenchmarkLlama 2-13Bphi-3-medium 14B
LMArena Text1084—
LMArena Creative Writing1047—
LMArena Multi-Turn1050—

Frequently asked questions

Is Llama 2-13B better than phi-3-medium 14B?

Llama 2-13B and phi-3-medium 14B score almost the same on the Noometry Index (29.6 vs 29.7), so choose on price, context window or the category you care about most.

Is Llama 2-13B or phi-3-medium 14B better for coding?

phi-3-medium 14B scores higher on coding benchmarks: 36.8 versus 30.9 in the Noometry coding category.

How many benchmarks do Llama 2-13B and phi-3-medium 14B share?

8 benchmarks have published results for both models. Llama 2-13B has 32 scored results on Noometry and phi-3-medium 14B has 13.

Related comparisons

Go deeper