Microsoft · phi3
Can I run phi4-mini?
Phi-4-mini brings significant enhancements in multilingual support, reasoning, and mathematics, and now, the long-awaited function calling feature is finally supported.
3.8B parameters128K contexttextMicrosoft.3 builds
phi4-mini system requirements
Memory needed at 4K context, counting model weights, KV cache, compute buffers and runtime overhead. Download sizes come from the official Ollama registry.
| Build | Quantization | Download | Memory needed |
|---|---|---|---|
| phi4-mini:3.8b | Q4_K_M | 2.3 GB | ~3.7 GB(est.) |
| phi4-mini:3.8b-q8_0 | Q8_0 | 3.8 GB | ~5.8 GB(est.) |
| phi4-mini:3.8b-fp16 | F16 | 7.2 GB | ~10.6 GB(est.) |
Figures marked (est.) approximate the KV cache because this model's architecture details are not published. They are indicative rather than exact.
How to run phi4-mini locally
- 1.Install Ollama for Windows, macOS or Linux.
- 2.Run this in a terminal:
ollama run phi4-mini:3.8b - 3.The weights download on first run, then an interactive prompt opens.
Frequently asked questions about phi4-mini
- How much VRAM do I need to run phi4-mini?
- At 4K context, the smallest published build of phi4-mini (Q4_K_M) needs roughly 3.7 GB of GPU memory once weights, KV cache, compute buffers and runtime overhead are counted. Bigger quantizations and longer context windows need more. It can also run partly or entirely on the CPU using system RAM, more slowly.
- Can I run phi4-mini without a dedicated GPU?
- Yes, but slowly. Without a GPU the model runs on the CPU using system RAM, which usually means a few tokens per second rather than dozens. You would need at least 3.7 GB of free RAM for the smallest build.
- How big is the phi4-mini download?
- The smallest published build is 2.3 GB. There are 3 builds in total, the largest being 7.2 GB. Leave some extra free disk space beyond the download itself.
- How do I run phi4-mini locally?
- Install Ollama, then run "ollama run phi4-mini:3.8b" in a terminal. The weights download on first use and an interactive session opens.
Will phi4-mini run on your PC?
Scan your hardware once and get a verdict for this model and every build — free, no account.
Model data from the official Ollama registry · verified 13/09/2026