Get started
LLM Index

Gemma vs. Phi

A side-by-side comparison of release history, capabilities, licensing and model sizes.

Attribute Gemma Phi
Developer Google Microsoft
Generation Gemma 4 Phi-4
Initial release 2024-02-21 2023-06-20
Instruct tuned Yes Yes
Coding Yes Yes
Finetuning Yes Yes
Open weights Yes Yes
License Apache 2.0 MIT
Model sizes E2B, E4B, 12B, 26B (3.8B active), 31B 3.8B, 5.6B, 14B, 15B
Links

Gemma

Gemma is Google's family of efficient open models for local, edge, and self-hosted deployment. Gemma 4 is the current generation, spanning mobile-scale through workstation-scale models.

Google introduced Gemma in February 2024 as a family of lightweight open models built from the same research used for Gemini. Gemma 2 improved efficiency and model quality, while Gemma 3 added multimodal input and longer context. Gemma 4, released in April 2026 under Apache 2.0, adds advanced reasoning, agentic tool use, code generation, image and video understanding, and models ranging from edge-focused E2B and E4B variants to 12B, 26B mixture-of-experts, and 31B dense checkpoints.

Further reading

Phi

Phi is Microsoft's family of compact open-weight models. The Phi-4 generation includes text, reasoning, and multimodal variants.

Microsoft introduced Phi-1 and Phi-2 as small language models trained on curated and synthetic data. Phi-3 expanded the family for mobile and multimodal use. Phi-4 includes a 14B general model, compact Mini variants, and Phi-4-Reasoning-Vision-15B, a March 2026 checkpoint for multi-step visual reasoning. Phi models are distributed under the MIT license.

Further reading

Compare other models

Other Gemma comparisons

Other Phi comparisons