Best local AI models for Apple M4
11.2 GB usable of 16 GB unified memory. At a 4k context, 144 of the 233 models in our catalog with verified parameter counts fit fully, up to Apriel-1.5-15B-Thinker at 15B parameters. Computed for the 16 GB configuration; a larger memory configuration fits more.
Check your own machine against every model →The largest models that fit fully
The 30 largest of the 144 models that fit; every smaller model in the catalog fits too. Best quant means the highest quality compression whose weights and 4k context both sit inside the memory.
| Model | Parameters | Best quant that fits | Memory used at 4k |
|---|---|---|---|
| Apriel-1.5-15B-Thinker | 15B | Q4_K_M | 11 GB |
| StarCoder2 3B / 7B / 15B | 15B | Q4_K_M | 11 GB |
| Phi-3 Medium | 14B | Q4_K_M | 10.2 GB |
| Phi-4 | 14B | Q4_K_M | 10.2 GB |
| Phi-4-reasoning / -plus | 14B | Q4_K_M | 10.2 GB |
| Wan 2.2 T2I | 14B | Q4_K_M | 10.2 GB |
| Wan 2.1 (1.3B / 14B) | 14B | Q4_K_M | 10.2 GB |
| SkyReels V2 | 14B | Q4_K_M | 10.2 GB |
| Vicuna 13B | 13B | Q5_K_M | 11.1 GB |
| HunyuanVideo | 13B | Q5_K_M | 11.1 GB |
| HunyuanVideo-Avatar | 13B | Q5_K_M | 11.1 GB |
| LTX-Video / LTX-2 | 13B | Q5_K_M | 11.1 GB |
| FramePack | 13B | Q5_K_M | 11.1 GB |
| Gemma 3 12B | 12B | Q5_K_M | 10.2 GB |
| Gemma 4 12B | 12B | Q5_K_M | 10.2 GB |
| Mistral NeMo 12B | 12B | Q5_K_M | 10.2 GB |
| Pixtral 12B | 12B | Q5_K_M | 10.2 GB |
| FLUX.1 schnell | 12B | Q5_K_M | 10.2 GB |
| FLUX.1 Kontext dev | 12B | Q5_K_M | 10.2 GB |
| FLUX.1 Krea dev | 12B | Q5_K_M | 10.2 GB |
| Open-Sora 2.0 | 11B | Q6_K | 10.8 GB |
| Mochi 1 | 10B | Q6_K | 9.8 GB |
| Gemma 2 9B | 9B | Q6_K | 10.3 GB |
| Nemotron Nano 4B / 9B | 9B | Q6_K | 8.9 GB |
| GLM-4 9B / GLM-4.5-Air | 9B | Q6_K | 8.9 GB |
| Yi-Coder 1.5B / 9B | 9B | Q6_K | 8.9 GB |
| GLM-4-9B-Chat / CodeGeeX4 | 9B | Q6_K | 8.9 GB |
| GLM-4V-9B / GLM-4.1V-Thinking | 9B | Q6_K | 8.9 GB |
| Chroma | 8.9B | Q6_K | 8.8 GB |
| Llama 3.1 8B | 8B | Q8_0 | 10.7 GB |
Close, but only with CPU offload
These need more than the card holds at their smallest practical quant, so part of the model runs from system memory (figures assume 32 GB of it). They work, several times slower.
| Model | Parameters | Memory at FP8 / optimized | System RAM at 4k |
|---|---|---|---|
| FLUX.1 dev | 12B | 14.4 GB needed | 16.4 GB |
| Qwen2.5 14B | 14.7B | 11.6 GB needed | 13.6 GB |
| DeepSeek-Coder-V2 16B / 236B | 16B | 11.7 GB needed | 13.7 GB |
| Kimi-VL A3B | 16B | 11.7 GB needed | 13.7 GB |
| Ling-Coder-Lite | 16.8B | 12.3 GB needed | 14.3 GB |
| HunyuanImage 2.1 / 3.0 | 17B | 12.4 GB needed | 14.4 GB |
| CogVLM2 | 19B | 13.9 GB needed | 15.9 GB |
| Qwen-Image | 20B | 14.6 GB needed | 16.6 GB |
| Qwen-Image-Edit | 20B | 14.6 GB needed | 16.6 GB |
| gpt-oss-20b | 21B | 15.4 GB needed | 17.4 GB |
How to read this
The Apple M4 chip with 16 GB of unified memory provides a maximum of 11.2 GB of usable memory for local AI models. The remaining memory is reserved for the macOS operating system and system display. When running models locally, the entire active model must fit within this 11.2 GB limit to run at full speed on the integrated graphics hardware.
The quantization column shows the best format to balance size and accuracy. Quantization compresses model weights to use fewer bits per parameter. For example, Llama 3.1 8B runs at Q8_0 quantization using 10.7 GB of memory. Smaller models like Gemma 2 9B use Q6_K quantization at 10.3 GB of memory. Larger models like Apriel-1.5-15B-Thinker or StarCoder2 15B require Q4_K_M quantization to fit into 11 GB of memory.
Models like Phi-4, Phi-4-reasoning, Wan 2.2 T2I, and SkyReels V2 use Q4_K_M quantization and consume 10.2 GB of memory. Video models like HunyuanVideo, HunyuanVideo-Avatar, and LTX-Video use Q5_K_M quantization and consume 11.1 GB of memory. Image generation models like FLUX.1 schnell and FLUX.1 Krea dev also run within the limit using Q5_K_M quantization at 10.2 GB of memory.
If a model exceeds the 11.2 GB limit, you must use CPU offloading. This process moves parts of the model to the system RAM but slows down processing speed. For CPU offload cases, we assume a 32 GB system RAM configuration. Under this setup, FLUX.1 dev needs 14.4 GB at FP8 and requires 16.4 GB of system RAM. Qwen2.5 14B needs 11.6 GB at Q4_K_M and requires 13.6 GB of system RAM. DeepSeek-Coder-V2 16B needs 11.7 GB at Q4_K_M and requires 13.7 GB of system RAM.
Other offload examples include HunyuanImage 2.1 which needs 12.4 GB at Q4_K_M and requires 14.4 GB of system RAM. CogVLM2 needs 13.9 GB at Q4_K_M and requires 15.9 GB of system RAM. Qwen-Image needs 14.6 GB at Q4_K_M and requires 16.6 GB of system RAM. The largest offload model listed is gpt-oss-20b which needs 15.4 GB at Q4_K_M and requires 17.4 GB of system RAM.
Users must monitor the context window size during execution. The memory numbers listed here are calculated using a baseline 4k context window. If you increase the context window beyond 4k tokens, the memory usage will rise. This extra memory consumption can push a model past the 11.2 GB limit and trigger slow CPU offloading.