← CanIRunLocal · All hardware · All models
Microsoft · 3.84B parameters · chat, reasoning.
Ollama weight files: Q4_K_M 2.5 GB (phi4-mini:3.8b); Q8_0 4.1 GB (phi4-mini:3.8b-q8_0).
Yes on 62 machines in this list. The smallest is M1 8GB: Q8_0, about 4.9 GB, roughly 13 tokens per second, via Ollama. ollama run phi4-mini:3.8b-q8_0
ollama run phi4-mini:3.8b-q8_0ollama run phi4-mini:3.8b-q8_0ollama run phi4-mini:3.8b-q8_0ollama run phi4-mini:3.8b-q8_0lms get unsloth/Phi-4-mini-instruct-GGUF@Q8_0llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 -c 8192vllm serve microsoft/Phi-4-mini-instruct --max-model-len 8192 --gpu-memory-utilization 0.9| Hardware | Runtime | Quant | Memory | Fit | Speed | Command |
|---|---|---|---|---|---|---|
| M1 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~13 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M2 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~20 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M3 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~20 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 3060 Ti 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~66 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 3070 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~66 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 4060 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~40 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RX 7600 8GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~42 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 3080 10GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~111 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M1 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~13 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M2 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~20 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M3 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~20 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M4 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~23 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 3060 12GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~53 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 4070 12GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~74 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 5070 12GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~98 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 4060 Ti 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~42 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 4070 Ti Super 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~98 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 4080 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~105 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 5080 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~140 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RX 7800 XT 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~91 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RX 9070 XT 16GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~94 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M2 24GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~20 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M3 24GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~20 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M4 24GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~23 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 3090 24GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~137 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 4090 24GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~148 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RX 7900 XTX 24GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~140 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M1 Pro 32GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~39 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M2 Pro 32GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~39 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M4 32GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~23 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M3 Pro 36GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~29 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M4 Max (32c GPU) 36GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~80 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Max (32c GPU) 36GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~90 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| RTX 5090 32GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~262 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M4 Pro 48GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~53 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M4 Max (40c GPU) 48GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~107 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Max (40c GPU) 48GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~120 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M1 Max 64GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~78 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M2 Max 64GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~78 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M3 Max 64GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~78 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M4 Max 64GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~107 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M4 Max (40c GPU) 64GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~107 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Max (40c GPU) 64GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~120 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| DGX Spark 64GB (ASUS, Dell, HP, MSI, Acer, Gigabyte) | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~50 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M3 Ultra 96GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~160 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Ultra 96GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~234 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M3 Max 128GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~78 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M4 Max 128GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~107 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M4 Max (40c GPU) 128GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~107 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Max (40c GPU) 128GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~120 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte) | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~50 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| M2 Ultra 192GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~156 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| 2x Mac Studio M5 Max (40c GPU) 128GB | llama.cpp | Q8_0 GGUF | 4.9 GB | fits in fast memory | ~102 tok/s | llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node |
| Mac Studio M3 Ultra 256GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~160 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Ultra (64c GPU) 256GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~234 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| Mac Studio M5 Ultra (80c GPU) 256GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~234 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| 2x DGX Spark 128GB | llama.cpp | Q8_0 GGUF | 4.9 GB | fits in fast memory | ~43 tok/s | llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node |
| 4x Mac Studio M5 Max (40c GPU) 128GB | llama.cpp | Q8_0 GGUF | 4.9 GB | fits in fast memory | ~90 tok/s | llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node |
| 2x Mac Studio M5 Ultra (80c GPU) 256GB | llama.cpp | Q8_0 GGUF | 4.9 GB | fits in fast memory | ~200 tok/s | llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node |
| Mac Studio M3 Ultra (80c GPU) 512GB | Ollama | Q8_0 | 4.9 GB | fits in fast memory | ~160 tok/s | ollama run phi4-mini:3.8b-q8_0 |
| 4x DGX Spark 128GB | llama.cpp | Q8_0 GGUF | 4.9 GB | fits in fast memory | ~38 tok/s | llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node |
| 4x Mac Studio M5 Ultra (80c GPU) 256GB | llama.cpp | Q8_0 GGUF | 4.9 GB | fits in fast memory | ~176 tok/s | llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node |
Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-16.
A project by OnDevice Labs · llms.txt