Can the Apple M4 Max (128GB) run Phi-3.5 Mini 3.8B?

Yes
QuantFP16Full quality
Memory11.5 GBof 96 GB
Speed~43tokens/s

Yes. The Apple M4 Max (128GB) can run Phi-3.5 Mini 3.8B fully in unified memory at FP16 (full quality), using about 11.5 GB of the 96 GB available, at roughly 43 tokens/second.

Try other context lengths in the calculator →

Memory needed by quantization

At 8,192 tokens of context. macOS lets the GPU use about 96 GB of the 128 GB unified memory by default.

QuantQualityMemoryFits?Speed
FP16Full quality11.5 GBFits~43 tok/s
Q8_0Near-lossless7.9 GBFits~81 tok/s
Q6_KExcellent7 GBFits~105 tok/s
Q5_K_MVery good6.5 GBFits~121 tok/s
Q4_K_MGood, most popular6.1 GBFits~141 tok/s
Q3_K_MNoticeably degraded5.7 GBFits~175 tok/s
Q2_KHeavily degraded5.3 GBFits~229 tok/s

How to run Phi-3.5 Mini 3.8B on the Apple M4 Max (128GB)

With Ollama installed, one command downloads and starts it:

ollama run phi3.5:3.8b

Ollama's default download is Q4_K_M (about 6.1 GB here). You have room for FP16, which is full quality: pick that GGUF in LM Studio or from Hugging Face.

GPUs that run Phi-3.5 Mini 3.8B comfortably

Models that run well on the Apple M4 Max (128GB)

Run it in the cloud

Don't want to buy hardware? Run Phi-3.5 Mini 3.8B on a rented GPU today.

Rent a cloud GPU by the hour. No upfront cost, cancel any time.