Apple · M4 · Mini PC
Best AI Models for Mac Mini M4 (24 GB)
Runs 27–31B models at 5 tok/s; 9B and 14B fit but are slow (13 and 9 tok/s), and 70B doesn't fit in 20.5 GB.
| # | Model | Speed | Score |
|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB | 25.8 tok/s | |
| 2 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB | 13.2 tok/s | |
| 3 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB | 28.1 tok/s | |
| 4 | Qwen3 8BAlibaba Q4_K_M · 7.6 GB | 15.2 tok/s | |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB | 38.3 tok/s |
| # | Model | Speed | Score |
|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB | 25.8 tok/s | |
| 2 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB | 28.1 tok/s | |
| 3 | Q4_K_M · 7.9 GB | 15.8 tok/s | |
| 4 | Qwen3 8BAlibaba Q4_K_M · 7.6 GB | 15.2 tok/s | overall |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB | 38.3 tok/s |
| # | Model | Speed | Score |
|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB | 25.8 tok/s | |
| 2 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB | 28.1 tok/s | |
| 3 | Qwen3 8BAlibaba Q4_K_M · 7.6 GB | 15.2 tok/s | |
| 4 | Q4_K_M · 7.9 GB | 15.8 tok/s | |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB | 38.3 tok/s |
| # | Model | Speed | Score |
|---|---|---|---|
| 1 | GPT OSS 20BOpenAIHow to run → Q4_K_M · 13.1 GB | 28.1 tok/s | |
| 2 | Q4_K_M · 7.9 GB | 15.8 tok/s | |
| 3 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB | 25.8 tok/s | |
| 4 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB | 38.3 tok/s | |
| 5 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB | 25.8 tok/s |
| # | Model | Speed ↓ | Score |
|---|---|---|---|
| 1 | GPT OSS 20BOpenAIHow to run → Q4_K_M · 13.1 GB | 28.1 tok/s | |
| 2 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB | 38.3 tok/s | |
| 3 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB | 25.8 tok/s | |
| 4 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB | 25.8 tok/s | |
| 5 | Qwen3 8BAlibaba Q4_K_M · 7.6 GB | 15.2 tok/s |
| # | Model | Speed | Score |
|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB | 25.8 tok/s | |
| 2 | Gemma 3 4B ITGoogle Q4_K_M · 5.0 GB | 29.6 tok/s | |
| 3 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB | 13.2 tok/s | |
| 4 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB | 25.8 tok/s | |
| 5 | LocateAnything 3BNVIDIA Q4_K_M · 3.2 GB | 31.5 tok/s |
The Mac Mini M4 is a 24 GB mini PC with more memory than speed: it runs 27–31B models at 5 tok/s. Among 24 GB machines, only the M5 Pro, M4 Pro and M5 write faster. macOS keeps about 3.5 GB, leaving 20.5 GB for models. Prompt reading is its weak spot: a 4K-token prompt waits 21 s before the first word on Gemma 4 26B A4B IT. M4 generation, released 2024; the newer M5 writes 28% faster with 1.9× the compute.
Mac Mini M4 strengths and weaknesses
Strengths
- Runs 35B MoE models: Qwen3.6 35B A3B at 25.7 tok/s in 19.8 GB
Weaknesses
- 70B models don't fit: Llama 3.3 70B Instruct needs 51.3 GB at Q4 vs 20.5 GB usable here
- Slow on large dense models: Qwen3.8 27B at 4.8 tok/s
- Slow prompt reading: A 32K-token prompt on Gemma 4 26B A4B IT waits 2.8 min for the first token
- No CUDA: vLLM, AWQ, GPTQ and FP8 builds don't run; use GGUF or MLX
Memory for models
20.5 GB of 24 GB70B models need 51.3 GB at Q4, more than the 20.5 GB available. The 32 GB config fits Qwen3.8 27B →
Other memory sizes of the same machine first, then machines and GPUs people weigh against it, each with the one reason it is worth a look. Speeds on Qwen3.5 9B.
Output speed depends on memory bandwidth (120 GB/s). Grey rows need more than the 20.5 GB available.
- 9BQwen3.5 9B · Q4_K_M · 6.6 GB13.2tok/s
- 8.8tok/s
- 4.8tok/s
- 25.7tok/s
- 70BLlama 3.3 70B Instruct · not at 4-bitneeds 51.3 GB
- 120B MoEGPT OSS 120B · not at 4-bitneeds 70.8 GB
Estimated speeds: Q4_K_M, 4K context, one user. How we estimate
Chip generations: writing vs compute
M1 → M5Writing speed follows memory bandwidth and barely moved: 7.5 to 16.9 tok/s since the M1. Compute, which sets how fast prompts are read, grew 3.1×. Indexed to the M1; speeds on Qwen3.5 9B, same 16 GB.
All 1081 models on the Mac Mini M4
Featured onlyBest quant that fits in 20.5 GB, ordered by llmrun Score. Fit grades how well it runs here, S best. How ranking works
| Model | Quant | VRAM | Speed | Context | Score | Fit |
|---|---|---|---|---|---|---|
Qwen3 8B BaseChat | Q4_K_M | 7.6 GB | 15.2 t/s | 33K | B55, Decent | |
II Medical 8BChat | Q4_K_M | 7.6 GB | 15.2 t/s | 41K | B55, Decent | |
| Q4_K_M | 17.3 GB | 5.7 t/s | 4K | C36, Usable | ||
Qwen2.5 14BChatFunctions | Q4_K_M | 12.4 GB | 8.8 t/s | 131K | B47, Decent | |
Phi 3 Mini 4k InstructChatCode | Q4_K_M | 4.2 GB | 24.7 t/s | 4K | A65, Runs well | |
Medgemma 4B ITVision | Q4_K_M | 5 GB | 29.6 t/s | — | A70, Runs well | |
Qwen2.5 0.5BChatFunctions | Q4_K_M | 0.8 GB | 135.5 t/s | 33K | S96, Runs great | |
MythoMax L2 13BChat | Q4_K_M | 11.5 GB | 8.6 t/s | 4K | B46, Decent | |
| BF16 | 1.6 GB | 137.7 t/s | — | S96, Runs great | ||
| Q4_K_M | 19.4 GB | 29.3 t/s | 33K | B47, Decent | ||
Mistral 7B v0.3Chat | Q4_K_M | 6.8 GB | 17.1 t/s | 33K | B57, Decent | |
Granite 3.3 8B InstructChatFunctions | Q4_K_M | 7.9 GB | 15.2 t/s | 131K | B55, Decent | |
SmolLM2 360MChat | Q4_K_M | 0.8 GB | 140.0 t/s | 8K | S96, Runs great | |
C4ai Command R 08 2024ChatFunctions | IQ3_M | 19.8 GB | 5.3 t/s | — | D18, Barely runs | |
| Q4_K_M | 1.7 GB | 65.6 t/s | 33K | S85, Runs great |
Specs
- Chip
- M4
- CPU cores
- 10
- GPU cores
- 10
- Unified memory
- 24 GB
- For models
- 20.5 GB (macOS keeps 3.5 GB)
- Memory bandwidth
- 120 GB/s
- FP16 (dense)
- 8.6 TFLOPS
- Neural Engine
- 38 TOPS
- Released
- 2024-11-08
Mac Mini M4 FAQ
How much memory is available for AI on the Mac Mini M4 (24 GB)?
About 20.5 GB of the 24 GB. macOS keeps roughly 3.5 GB for itself and other apps.
What is the largest model the Mac Mini M4 (24 GB) can run?
Qwen3.6 35B A3B (36.0B) is the largest at 4-bit or better: at IQ4_XS it uses 19.8 GB, 97% of the available memory, and runs at about 25.7 tok/s.
Can the Mac Mini M4 (24 GB) run Gemma 4 26B A4B IT?
Yes. Gemma 4 26B A4B IT fits at Q4_K_M, using 16.5 GB of the 20.5 GB available, and it is the best model that runs well on this machine.
Can the Mac Mini M4 (24 GB) run 70B models?
No. Llama 3.3 70B Instruct needs 51.3 GB at Q4, more than the 20.5 GB available.
How long does the Mac Mini M4 (24 GB) take to read a long prompt?
On Gemma 4 26B A4B IT, about 21 s for a 4K-token prompt and 2.8 min for a 32K-token document before the first word appears.
Is renting a GPU cheaper than buying the Mac Mini M4?
An RTX A5000 (24 GB) rents from $0.16/hr.