Phi-4 / Phi
Microsoft's compact reasoning models for edge hardware and tight compute budgets.
What It Is
Phi is Microsoft Research's family of Small Language Models (SLMs), spanning ultra-light 3.8B Mini variants up to 14B and 15B Phi-4 reasoning and multimodal checkpoints. Instead of scaling parameter counts into the hundreds of billions, Microsoft trains Phi on heavily curated synthetic textbooks and filtered reasoning datasets to punch well above its weight class.
Pricing & Access
The best part about Phi is its licensing: Microsoft releases Phi-4 weights under the permissive MIT license on Hugging Face and Ollama, meaning commercial and local self-hosting cost $0 in licensing fees. If you prefer cloud hosting, Azure AI Foundry offers pay-as-you-go serverless endpoints at budget SLM rates.
What It Does Best
Running locally on laptops, phones, and modest GPUs without an internet connection. Phi-4 (14B) fits comfortably inside 12 GB to 16 GB of VRAM (or unified Apple Silicon memory) when quantized, yet delivers surprisingly strong math, logic, and basic coding performance. The multimodal and reasoning-vision variants also handle OCR, chart reading, and on-device UI agent tasks cleanly.
Where It Falls Short
Narrow world knowledge. A 3.8B or 14B parameter model simply cannot memorize as many obscure facts, niche libraries, or foreign-language idioms as a 400B+ frontier model. Its default context windows (16K to 32K on several Phi-4 checkpoints, 128K on Mini) are also smaller than modern cloud flagships, limiting huge document dumps.