Can Apple Mac Mini M4 (16GB Unified) Run Mistral-Small-3.1-24B?
APPLE UNIFIED (~12.5GB WIRED MAX) // 120 GB/s MEMORY BUS // 24.0B PARAMS
Q4 OOM SPILL (3.5GB SHORT) — REQUIRES IQ3_XS OR UPGRADE
Standard Q4_K_M requires 16.04GB and spills 3.54GB over Apple Mac Mini M4 (16GB Unified)'s 12.5GB ceiling, tanking PCIe speeds by 75%. Only compressed IQ3_XS (11.96GB) fits natively (~7.6 tok/s).
Quantization & Context VRAM Footprint (Mistral-Small-3.1-24B on 12.5GB Budget)
Hardware Note: macOS reserves ~3.5GB; 120 GB/s memory bus limits dense 32B tok/s. Unquantized FP16 32K KV cache alone consumes 7.2 GB—enabling Q8_0 Flash Attention cuts 32K KV cache down to 3.96 GB.
| Quantization | Weights | Total @ 8K Ctx | Total @ 32K Ctx | Apple Mac Mini M4 (16GB Unified) Verdict |
|---|---|---|---|---|
| IQ3_XS (3.3 bpw) | 10.32 GB | 11.96 GB | 14.93 GB | FITS (+0.5GB) · ~8.1 tok/s |
| Q4_K_M (4.8 bpw) | 14.4 GB | 16.04 GB | 19.01 GB | OOM (-3.5GB) · CPU Spill (<6 tok/s) |
| Q5_K_M (5.7 bpw) | 17.04 GB | 18.68 GB | 21.65 GB | OOM (-6.2GB) · CPU Spill (<6 tok/s) |
| Q6_K (6.6 bpw) | 19.68 GB | 21.32 GB | 24.29 GB | OOM (-8.8GB) · CPU Spill (<6 tok/s) |
| Q8_0 (8.5 bpw) | 25.44 GB | 27.08 GB | 30.05 GB | OOM (-14.6GB) · CPU Spill (<6 tok/s) |
Optimal Tuned Launch Flags (Flash Attention + Q8_0 KV Cache)
# Q4_K_M overflows by 3.54GB; cap context & enable Q8 KV cache: OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 llama-cli -hf bartowski/Mistral-Small-3.1-24B-GGUF:IQ3_XS -ngl 99 -c 8192
Cold-loading a 14.4GB GGUF from a SATA SSD takes 35+ seconds; a PCIe 4.0 DRAM drive (2TB WD_BLACK SN850X) maps it into VRAM in ~2.1 seconds.
Disclosure: As an Amazon Associate (tag: sheerai-20), SheerAI earns from qualifying purchases at zero extra cost to you.