Model comparison

Gemma 2B vs Phi-4 Mini

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

Last verified . 0 shared benchmarks.

Gemma 2B Google

29.1

Rank #305 Confirmed

Phi-4 Mini Microsoft

30.4

Rank #280 Reported

Summary

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

Side by side

Gemma 2B and Phi-4 Mini specifications
Gemma 2BPhi-4 Mini
ProviderGoogleMicrosoft
Noometry Index29.130.4
Released2024-02-212024-12-11
WeightsOpenOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.075
Output $ / M tokens—$0.30
Results tracked233

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

Category by category

Coding Gemma 2B leads

Gemma 2B: 28.9 (#300), Phi-4 Mini: 27.6 (#312)

Coding benchmarks
BenchmarkGemma 2BPhi-4 Mini
SciCode—10.8%
LMArena Coding1010—
HumanEval+20.7%—
MBPP+34.1%—

Reasoning Phi-4 Mini leads

Gemma 2B: 17.9 (#275), Phi-4 Mini: 21.7 (#190)

Reasoning benchmarks
BenchmarkGemma 2BPhi-4 Mini
CritPt—0%
LMArena Hard Prompts989—
BIG-Bench Hard35.2%—
Epoch Capabilities Index93.57—
HellaSwag71.4%—
PIQA77.3%—
WinoGrande65.4%—

Math Not comparable

Gemma 2B: 27.6 (#237), Phi-4 Mini: —

Math benchmarks
BenchmarkGemma 2BPhi-4 Mini
LMArena Math1009—
GSM8K17.7%—

Knowledge Not comparable

Gemma 2B: —, Phi-4 Mini: 24.8 (#261)

Knowledge benchmarks
BenchmarkGemma 2BPhi-4 Mini
Vectara Hallucination Rate—23.5%
ARC (AI2) Challenge42.1%—
BoolQ69.4%—
MMLU42.3%—
TriviaQA53.2%—

Multilingual Not comparable

Gemma 2B: 23.1 (#289), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkGemma 2BPhi-4 Mini
LMArena Non-English958—
LMArena Chinese986—
LMArena Russian937—

Instruction Following Not comparable

Gemma 2B: 48.8 (#297), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkGemma 2BPhi-4 Mini
LMArena Instruction Following971—

Long Context Not comparable

Gemma 2B: 29.9 (#286), Phi-4 Mini: —

Long Context benchmarks
BenchmarkGemma 2BPhi-4 Mini
LMArena Longer Query981—

Writing & Preference Not comparable

Gemma 2B: 24.1 (#303), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkGemma 2BPhi-4 Mini
LMArena Text1002—
LMArena Creative Writing986—
LMArena Multi-Turn945—

Frequently asked questions

Is Gemma 2B better than Phi-4 Mini?

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

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

Gemma 2B scores higher on coding benchmarks: 28.9 versus 27.6 in the Noometry coding category.

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

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

Related comparisons

Go deeper