Microsoft · phi3
Can I run phi3?
Phi-3 is a family of lightweight 3B (Mini) and 14B (Medium) state-of-the-art open models by Microsoft.
3.8B parameters128K contexttextMicrosoft.24 builds
phi3 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 |
|---|---|---|---|
| phi3:3.8b-mini-4k-instruct-q4_0 | Q4_0 | 2.0 GB | ~3.3 GB(est.) |
| phi3:3.8b | Q4_0 | 2.0 GB | ~3.3 GB(est.) |
| phi3:3.8b-mini-4k-instruct-q4_K_M | Q4_K_M | 2.2 GB | ~3.6 GB(est.) |
| phi3:3.8b-mini-128k-instruct-q4_K_M | Q4_K_M | 2.2 GB | ~3.6 GB(est.) |
| phi3:3.8b-mini-4k-instruct-q5_K_M | Q5_K_M | 2.6 GB | ~4.1 GB(est.) |
| phi3:3.8b-mini-128k-instruct-q5_K_M | Q5_K_M | 2.6 GB | ~4.1 GB(est.) |
| phi3:3.8b-mini-4k-instruct-q6_K | Q6_K | 2.9 GB | ~4.6 GB(est.) |
| phi3:3.8b-mini-128k-instruct-q6_K | Q6_K | 2.9 GB | ~4.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 phi3 locally
- 1.Install Ollama for Windows, macOS or Linux.
- 2.Run this in a terminal:
ollama run phi3:3.8b-mini-4k-instruct-q4_0 - 3.The weights download on first run, then an interactive prompt opens.
Frequently asked questions about phi3
- How much VRAM do I need to run phi3?
- At 4K context, the smallest published build of phi3 (Q4_0) needs roughly 3.3 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 phi3 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.3 GB of free RAM for the smallest build.
- How big is the phi3 download?
- The smallest published build is 2.0 GB. There are 24 builds in total, the largest being 26.0 GB. Leave some extra free disk space beyond the download itself.
- How do I run phi3 locally?
- Install Ollama, then run "ollama run phi3:3.8b-mini-4k-instruct-q4_0" in a terminal. The weights download on first use and an interactive session opens.
Will phi3 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