Model comparison

Llama 2-34B vs Phi-4 Mini

Phi-4 Mini has enough public results to be ranked (#283); Llama 2-34B does not yet, so treat this comparison as directional.

Last verified . 0 shared benchmarks.

Llama 2-34B Meta

—

Unranked

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • Phi-4 Mini has downloadable open weights; the other is API-only.

Side by side

Llama 2-34B and Phi-4 Mini specifications
Llama 2-34BPhi-4 Mini
ProviderMetaMicrosoft
Noometry Index—30.9
Released2023-07-182024-12-11
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.075
Output $ / M tokens—$0.30
Results tracked103

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

Category by category

Coding Not comparable

Llama 2-34B: —, Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkLlama 2-34BPhi-4 Mini
SciCode—10.8%

Reasoning Not comparable

Llama 2-34B: —, Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkLlama 2-34BPhi-4 Mini
CritPt—0%
BIG-Bench Hard44.1%—
Epoch Capabilities Index105.2—
PIQA81.9%—
WinoGrande76.7%—

Math Not comparable

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

Math benchmarks
BenchmarkLlama 2-34BPhi-4 Mini
GSM8K42.2%—

Knowledge Not comparable

Llama 2-34B: —, Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkLlama 2-34BPhi-4 Mini
Vectara Hallucination Rate—23.5%
ARC (AI2) Challenge54.5%—
BoolQ83.7%—
MMLU62.6%—
OpenBookQA58.2%—
TriviaQA84.6%—

Frequently asked questions

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

Phi-4 Mini has enough public results to be ranked (#283); Llama 2-34B does not yet, so treat this comparison as directional.

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

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

Related comparisons

Go deeper