← CanIRunLocal · All hardware · All models

Can a M4 32GB run Phi-4 Mini 3.8B?

Yes. Phi-4 Mini 3.8B fits in fast memory on M4 32GB at Q8_0 (4.9 GB needed, 24.0 GB usable), about 23 tok/s (estimate).

Hardware: M4 32GB · Model: Phi-4 Mini 3.8B

M4 32GB has 32 GB of unified memory and 120 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 24.0 GB. Phi-4 Mini 3.8B (3.84B, Microsoft) at Q8_0 is a 4.1 GB download and needs 4.9 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size4.1 GB
Memory needed4.9 GB
Usable fast memory24.0 GB
Fitfits in fast memory
Estimated speed~23 tok/s (estimate)
Commandollama run phi4-mini:3.8b-q8_0
Open M4 32GB in the checker

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-23.

A project by OnDevice Labs · llms.txt