Which LLMs fit on Apple M4 Max (128GB)?

Apple M4 Max (128GB) shares 128 GB of memory between CPU and GPU; by default the GPU can address about 96 GB of it, and LLMScale budgets 96.00 GiB for a model. Its memory bandwidth, 546 GB/s, is what limits generation speed once a model fits. vLLM has no Metal backend, so models run on it with llama.cpp or MLX. Of the 31 popular open models below, 23 fit at BF16, 26 at FP8 and 29 at INT4 with an 8k context for one user.

Apple · usable memory
96.00 GiB

29 of 31 models fit at INT4, 23 at BF16.

Which LLMs fit on Apple M4 Max (128GB)

ModelBF16FP8INT4UsersMax context
Qwen2.5 0.5B Instruct2.33 GiB2.00 GiB1.84 GiB1,000BF1632kBF16
Gemma 3 1B IT4.10 GiB3.45 GiB3.15 GiB420BF1632kBF16
Llama 3.2 1B Instruct4.00 GiB3.10 GiB2.67 GiB368BF16128kBF16
Llama 3.2 3B Instruct8.65 GiB6.02 GiB4.79 GiB100BF16128kBF16
Phi-3 mini 4k9.83 GiB6.45 GiB4.87 GiB58BF164kBF16
Gemma 3 4B IT14.67 GiB11.29 GiB9.71 GiB75BF16128kBF16
Mistral 7B Instruct v0.316.15 GiB9.65 GiB6.60 GiB80BF1632kBF16
Qwen2.5 Coder 7B16.95 GiB10.87 GiB8.02 GiB181BF1632kBF16
Qwen2.5 7B Instruct16.95 GiB10.87 GiB8.02 GiB181BF1632kBF16
Llama 3.1 8B Instruct18.07 GiB11.57 GiB8.53 GiB78BF16128kBF16
Qwen3 8B18.80 GiB12.33 GiB9.30 GiB69BF1640kBF16
Gemma 2 9B IT23.21 GiB15.46 GiB11.83 GiB28BF168kBF16
Gemma 3 12B IT31.77 GiB21.36 GiB16.48 GiB22BF16128kBF16
Mistral Nemo 12B Instruct26.61 GiB16.45 GiB11.69 GiB56BF16128kBF16
Qwen2.5 14B Instruct31.91 GiB19.60 GiB13.84 GiB43BF1632kBF16
gpt-oss 20B42.41 GiB24.01 GiB16.27 GiB143BF16128kBF16
Gemma 2 27B IT57.57 GiB33.34 GiB21.98 GiB14BF168kBF16
Gemma 3 27B IT62.20 GiB37.97 GiB26.61 GiB8BF16128kBF16
Qwen3 30B A3B59.90 GiB32.04 GiB18.99 GiB49BF1640kBF16
Qwen3 Coder 30B A3B59.90 GiB32.04 GiB18.99 GiB49BF16256kBF16
Qwen2.5 32B Instruct66.31 GiB37.25 GiB23.63 GiB15BF1632kBF16
Qwen3 32B66.19 GiB37.13 GiB23.50 GiB15BF1640kBF16
Mixtral 8x7B Instruct91.95 GiB48.70 GiB28.42 GiB5BF1632kBF16
Llama 3.3 70B Instruct138.0 GiB (does not fit)74.26 GiB44.38 GiB9FP878kFP8
Llama 3.1 70B Instruct138.0 GiB (does not fit)74.26 GiB44.38 GiB9FP878kFP8
Qwen2.5 72B Instruct142.5 GiB (does not fit)77.08 GiB46.43 GiB8FP832kFP8
Llama 4 Scout 17B-16E Instruct207.5 GiB (does not fit)108.2 GiB (does not fit)61.69 GiB23INT4191kINT4
gpt-oss 120B221.3 GiB (does not fit)113.6 GiB (does not fit)64.48 GiB56INT4128kINT4
Mixtral 8x22B Instruct268.5 GiB (does not fit)137.9 GiB (does not fit)76.73 GiB12INT464kINT4
Llama 3.1 405B Instruct768.6 GiB (does not fit)394.6 GiB (does not fit)219.2 GiB (does not fit)——
DeepSeek V31280.7 GiB (does not fit)644.9 GiB (does not fit)346.8 GiB (does not fit)——

Memory at 8k context for one user (the model's maximum, where that is shorter), FP16 KV cache and vLLM's overhead at this card's defaults. Users (each at 8k) and maximum context are for the highest precision that fits.

What BF16, FP8 and INT4 mean for memory: quantization and VRAM.

A model that does not fit one card can still run across several: tensor parallelism splits its weights and KV cache between them. The calculator works out how many.

Size a model on Apple M4 Max (128GB)

Other GPUs