Model comparison

Gemma 7B vs Phi-4

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

Last verified . 15 shared benchmarks.

Gemma 7B Google

30.0

Rank #299 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

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

Side by side

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

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

Category by category

Coding Phi-4 leads

Gemma 7B: 30.5 (#294), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkGemma 7BPhi-4
LMArena Coding10481231
BigCodeBench Instruct—45.5%
LiveBench Coding—30.7%
BigCodeBench Complete—55.4%
HumanEval+28.7%—
MBPP+43.4%—

Agentic & Tool Use Not comparable

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

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

Reasoning Gemma 7B leads

Gemma 7B: 19.9 (#249), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkGemma 7BPhi-4
LMArena Hard Prompts10421220
Epoch Capabilities Index111.99130.42
Chess Puzzles—1%
LiveBench Reasoning—47.8%
LiveBench Data Analysis—45.2%
Adversarial NLI48.7%—
BIG-Bench Hard55.1%—
HellaSwag82.2%—
LiveBench—41.6%
PIQA81.2%—
WinoGrande79%—

Math Gemma 7B leads

Gemma 7B: 31.2 (#228), Phi-4: 20.8 (#285)

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

Knowledge Phi-4 leads

Gemma 7B: 27.3 (#252), Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkGemma 7BPhi-4
LMArena Expert10011203
MMLU66.1%84.8%
GPQA Diamond—56.1%
Confabulations—29.4%
Vectara Hallucination Rate—3.7%
ARC (AI2) Challenge78.3%—
BoolQ83.2%—
OpenBookQA78.6%—
TriviaQA72.3%—

Multilingual Phi-4 leads

Gemma 7B: 25.1 (#287), Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkGemma 7BPhi-4
LMArena Non-English9991197
LMArena Chinese10351212
LMArena French10251224
LMArena Russian9931209
LMArena German—1222
LMArena Japanese—1158
LMArena Korean—1151
LMArena Spanish—1234

Instruction Following Phi-4 leads

Gemma 7B: 51.5 (#295), Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkGemma 7BPhi-4
LMArena Instruction Following10171201
LiveBench Instruction Following—58.4%

Long Context Phi-4 leads

Gemma 7B: 31.1 (#282), Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkGemma 7BPhi-4
LMArena Longer Query10221217

Writing & Preference Phi-4 leads

Gemma 7B: 27.1 (#302), Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkGemma 7BPhi-4
LMArena Text10561217
LMArena Creative Writing10241182
LMArena Multi-Turn9631206
Short-Story Creative Writing—62.6%
LiveBench Language—25.6%

Frequently asked questions

Is Gemma 7B better than Phi-4?

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

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

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

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

15 benchmarks have published results for both models. Gemma 7B has 27 scored results on Noometry and Phi-4 has 37.

Related comparisons

Go deeper