Model comparison

Llama 2-13B vs Phi-4 Mini

Phi-4 Mini is the stronger model overall, scoring 30.9 to 29.6 on the Noometry Index.

Last verified . 0 shared benchmarks.

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • The widest gap is in reasoning, where Phi-4 Mini leads 22.4 to 12.8.

Side by side

Llama 2-13B and Phi-4 Mini specifications
Llama 2-13BPhi-4 Mini
ProviderMetaMicrosoft
Noometry Index29.630.9
Released2023-07-182024-12-11
WeightsOpenOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.075
Output $ / M tokens—$0.30
Results tracked323

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-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
SciCode—10.8%
LMArena Coding1062—

Reasoning Phi-4 Mini leads

Llama 2-13B: 12.8 (#337), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
CritPt—0%
Chess Puzzles0%—
LMArena Hard Prompts1051—
DTBench42.2%—
BIG-Bench Hard58.2%—
Epoch Capabilities Index106.17—
HellaSwag80.7%—
LAMBADA76.5%—
PIQA80.8%—
WinoGrande72.8%—

Math Not comparable

Llama 2-13B: 31.1 (#229), Phi-4 Mini: —

Math benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
LMArena Math1065—
GSM8K36.9%—

Knowledge Llama 2-13B leads

Llama 2-13B: 28.1 (#249), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
Vectara Hallucination Rate—23.5%
LMArena Expert1030—
ARC (AI2) Challenge60.3%—
BoolQ82.4%—
MMLU55.6%—
OpenBookQA57%—
TriviaQA79.6%—

Multimodal Not comparable

Llama 2-13B: —, Phi-4 Mini: —

Multimodal benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
ScienceQA55.8%—

Multilingual Not comparable

Llama 2-13B: 26.5 (#279), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
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-4 Mini: —

Instruction Following benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
LMArena Instruction Following1045—

Long Context Not comparable

Llama 2-13B: 32.3 (#269), Phi-4 Mini: —

Long Context benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
LMArena Longer Query1064—

Writing & Preference Not comparable

Llama 2-13B: 29.8 (#289), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi-4 Mini
LMArena Text1084—
LMArena Creative Writing1047—
LMArena Multi-Turn1050—

Frequently asked questions

Is Llama 2-13B better than Phi-4 Mini?

Phi-4 Mini is the stronger model overall, scoring 30.9 to 29.6 on the Noometry Index.

Is Llama 2-13B or Phi-4 Mini better for coding?

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

How many benchmarks do Llama 2-13B and Phi-4 Mini share?

0 benchmarks have published results for both models. Llama 2-13B has 32 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper