Run Microsoft Phi-4 Mini on Linux: Complete 2026 Guide (Ollama, Transformers, llama.cpp)
Last updated April 2026 — refreshed for current model/tool versions. Microsoft's Phi-4 Mini is a 3.8-billion-parameter language model that punches well above its weight class: it matches Llama 3.1 8B on MMLU, beats it on MATH (62% vs 52%), and runs comfortably on a consumer GPU