Model comparison

Gemma 2B vs Phi-4

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

Last verified . 13 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

  • They share 13 benchmarks with published results for both. Gemma 2B scores higher in 2 categories and Phi-4 in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Phi-4 leads 40.5 to 24.0.

Side by side

Gemma 2B and Phi-4 specifications
Gemma 2BPhi-4
ProviderGoogleMicrosoft
Noometry Index29.631.2
Released2024-02-212024-12-11
WeightsOpenOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.07
Output $ / M tokens—$0.14
Results tracked2337

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

Category by category

Coding Phi-4 leads

Gemma 2B: 29.4 (#305), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkGemma 2BPhi-4
LMArena Coding10101231
BigCodeBench Instruct—45.5%
LiveBench Coding—30.7%
BigCodeBench Complete—55.4%
HumanEval+20.7%—
MBPP+34.1%—

Agentic & Tool Use Not comparable

Gemma 2B: —, Phi-4: 22.8 (#128)

Agentic & Tool Use benchmarks
BenchmarkGemma 2BPhi-4
Berkeley Function Calling Leaderboard—28.8%
BALROG—11.6%

Reasoning Gemma 2B leads

Gemma 2B: 18.8 (#275), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkGemma 2BPhi-4
LMArena Hard Prompts9891220
Epoch Capabilities Index94.2130.42
Chess Puzzles—1%
LiveBench Reasoning—47.8%
LiveBench Data Analysis—45.2%
BIG-Bench Hard35.2%—
HellaSwag71.4%—
LiveBench—41.6%
PIQA77.3%—
WinoGrande65.4%—

Math Gemma 2B leads

Gemma 2B: 30.0 (#239), Phi-4: 20.8 (#285)

Math benchmarks
BenchmarkGemma 2BPhi-4
LMArena Math10091246
OTIS Mock AIME 2024-2025—13.8%
LiveBench Math—42%
MATH Level 5—64.9%
GSM8K17.7%—

Knowledge Not comparable

Gemma 2B: —, Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkGemma 2BPhi-4
MMLU42.3%84.8%
GPQA Diamond—56.1%
Confabulations—29.4%
Vectara Hallucination Rate—3.7%
LMArena Expert—1203
ARC (AI2) Challenge42.1%—
BoolQ69.4%—
TriviaQA53.2%—

Multilingual Phi-4 leads

Gemma 2B: 23.0 (#294), Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkGemma 2BPhi-4
LMArena Non-English9581197
LMArena Chinese9861212
LMArena Russian9371209
LMArena French—1224
LMArena German—1222
LMArena Japanese—1158
LMArena Korean—1151
LMArena Spanish—1234

Instruction Following Phi-4 leads

Gemma 2B: 48.5 (#302), Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkGemma 2BPhi-4
LMArena Instruction Following9701201
LiveBench Instruction Following—58.4%

Long Context Phi-4 leads

Gemma 2B: 29.9 (#291), Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkGemma 2BPhi-4
LMArena Longer Query9811217

Writing & Preference Phi-4 leads

Gemma 2B: 24.0 (#308), Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkGemma 2BPhi-4
LMArena Text10021217
LMArena Creative Writing9871182
LMArena Multi-Turn9451206
Short-Story Creative Writing—62.6%
LiveBench Language—25.6%

Frequently asked questions

Is Gemma 2B better than Phi-4?

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

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

Phi-4 scores higher on coding benchmarks: 34.4 versus 29.4 in the Noometry coding category.

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

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

Related comparisons

Go deeper