Model comparison

Gemma 2B 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.

Gemma 2B Google

29.6

Rank #307 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 18.8.

Side by side

Gemma 2B and Phi-4 Mini specifications
Gemma 2BPhi-4 Mini
ProviderGoogleMicrosoft
Noometry Index29.630.9
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: 29.4 (#305), Phi-4 Mini: 28.1 (#317)

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

Reasoning Phi-4 Mini leads

Gemma 2B: 18.8 (#275), Phi-4 Mini: 22.4 (#195)

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

Math Not comparable

Gemma 2B: 30.0 (#239), Phi-4 Mini: —

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

Knowledge Not comparable

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

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.0 (#294), Phi-4 Mini: —

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

Instruction Following Not comparable

Gemma 2B: 48.5 (#302), Phi-4 Mini: —

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

Gemma 2B: 24.0 (#308), Phi-4 Mini: —

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

Frequently asked questions

Is Gemma 2B better than Phi-4 Mini?

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

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

Gemma 2B scores higher on coding benchmarks: 29.4 versus 28.1 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