Model comparison

Llama 2-13B vs Phi 3 Mini 128k Instruct

Llama 2-13B and Phi 3 Mini 128k Instruct 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 . 17 shared benchmarks.

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Phi 3 Mini 128k Instruct Microsoft

29.7

Rank #305 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Llama 2-13B scores higher in 6 categories and Phi 3 Mini 128k Instruct in 2 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Phi 3 Mini 128k Instruct leads 19.6 to 12.8.

Side by side

Llama 2-13B and Phi 3 Mini 128k Instruct specifications
Llama 2-13BPhi 3 Mini 128k Instruct
ProviderMetaMicrosoft
Noometry Index29.629.7
Released2023-07-182024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3219

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

Category by category

Coding Llama 2-13B leads

Llama 2-13B: 30.9 (#291), Phi 3 Mini 128k Instruct: 28.8 (#312)

Coding benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Coding10621039
BigCodeBench Instruct—29.6%
BigCodeBench Complete—40.6%

Reasoning Phi 3 Mini 128k Instruct leads

Llama 2-13B: 12.8 (#337), Phi 3 Mini 128k Instruct: 19.6 (#256)

Reasoning benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Hard Prompts10511028
Chess Puzzles0%—
DTBench42.2%—
BIG-Bench Hard58.2%—
Epoch Capabilities Index106.17—
HellaSwag80.7%—
LAMBADA76.5%—
PIQA80.8%—
WinoGrande72.8%—

Math Too close to call

Llama 2-13B: 31.1 (#229), Phi 3 Mini 128k Instruct: 31.6 (#222)

Math benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Math10651089
GSM8K36.9%—

Knowledge Llama 2-13B leads

Llama 2-13B: 28.1 (#249), Phi 3 Mini 128k Instruct: 26.8 (#254)

Knowledge benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Expert1030984
ARC (AI2) Challenge60.3%—
BoolQ82.4%—
MMLU55.6%—
OpenBookQA57%—
TriviaQA79.6%—

Multimodal Not comparable

Llama 2-13B: —, Phi 3 Mini 128k Instruct: —

Multimodal benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
ScienceQA55.8%—

Multilingual Llama 2-13B leads

Llama 2-13B: 26.5 (#279), Phi 3 Mini 128k Instruct: 25.2 (#285)

Multilingual benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Non-English10241000
LMArena Chinese10011016
LMArena French10441039
LMArena German10091006
LMArena Japanese894899
LMArena Korean953856
LMArena Russian10551004
LMArena Spanish10871059

Instruction Following Llama 2-13B leads

Llama 2-13B: 53.3 (#287), Phi 3 Mini 128k Instruct: 51.8 (#294)

Instruction Following benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Instruction Following10451023

Long Context Llama 2-13B leads

Llama 2-13B: 32.3 (#269), Phi 3 Mini 128k Instruct: 30.4 (#289)

Long Context benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Longer Query1064996

Writing & Preference Llama 2-13B leads

Llama 2-13B: 29.8 (#289), Phi 3 Mini 128k Instruct: 27.1 (#301)

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 128k Instruct
LMArena Text10841050
LMArena Creative Writing10471024
LMArena Multi-Turn1050989

Frequently asked questions

Is Llama 2-13B better than Phi 3 Mini 128k Instruct?

Llama 2-13B and Phi 3 Mini 128k Instruct 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 Mini 128k Instruct better for coding?

Llama 2-13B scores higher on coding benchmarks: 30.9 versus 28.8 in the Noometry coding category.

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

17 benchmarks have published results for both models. Llama 2-13B has 32 scored results on Noometry and Phi 3 Mini 128k Instruct has 19.

Related comparisons

Go deeper