← Compare

Gemma 3 vs Phi-4

Two best small open models compared. Gemma 3 ships in 2B/9B/27B; Phi-4 is 14B-only but reasoning-heavy.

Gemma 3Phi-4
OrgGoogle DeepMindMicrosoft
Released2025-112025-12
Max params27B14B
Variants27B/9B/2B14B
Context128K16K
LicenseGemmaMIT
Commercial useyesyes
MMLU78.584.8
HumanEval71.282.6
GSM8K86.595.2
Languages355
Min VRAM (smallest)6GB8GB
VisionYesNo

Verdict

Gemma 3 27B and Phi-4 14B trade blows: Phi-4 wins on math/reasoning (GSM8K 95.2 vs 86.5, MMLU 84.8 vs 78.5); Gemma 3 wins on language coverage (35 vs 5), context (128K vs 16K), and has a 2B variant for edge devices. Phi-4 is MIT licensed (cleanest), Gemma is Gemma license (more restrictions). Pick Phi-4 for one task done well; pick Gemma for breadth.