Microsoft · Text
Phi-4 Mini 3.8B
Microsoft's compact 3.8B model with a 128K context and native function calling.
Phi-4 Mini 3.8B is an open-weight text model from Microsoft. It takes a text prompt and replies with generated text. It runs entirely on your own hardware through Ollama — no API key and no per-use fees.
Modality
Text
Available on
Ollama
Model ID
ollama:phi4-mini:3.8b
Supported OS
macOSWindowsLinux
Minimum machine configuration
8 GB RAM · 128K ctx · text · CPU/GPU
Download size · ~2.5 GB
Specs
- Pricing
- Free — runs on your hardware
About the creator
Microsoft
Microsoft Research builds the open-weight Phi family of small language models — efficient, reasoning-focused models that punch above their parameter count.
azure.microsoft.com/products/phi ↗More from Microsoft