Can I run it?

Can I run Phi 4 mini instruct on Apple M5?

Runs

Runs fully in unified memory on your Apple M5 at BF16, 8K context, about 9.6–13 tok/s. Weights 7.15 GB plus 1.00 GB of KV cache — 8.52 GB of 11.0 GB usable. Up to 16K context still fits.

Best quantBF16
Working context8K
Max that fits16K
Speed9.6–13 tok/s
Weights7.15 GB
KV cache1.00 GB
Total8.52 GB
Usable11.0 GB

Phi 4 mini instruct details · Apple M5 page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/Phi-4-mini-instruct-GGUF:BF16 -c 8192 -ngl 32
Ollama
ollama run phi
LM Studio
lms get unsloth/Phi-4-mini-instruct-GGUF
# Then load quant BF16

Assumptions

Larger models that also fit

Updated 2026-10-17. Profile on this page is the device default.