Apple · M4 · Desktop
Best AI Models for iMac 24" M4 (32 GB)
Runs 35B MoE models well; 9B, 14B and 27–31B fit but are slow (13, 9 and 5 tok/s), and 70B doesn't fit in 28.5 GB.
| # | Model | Speed | llmrun Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Inkling 2 MiniThinking MachinesHow to run → Q4_K_M · 21.0 GB · 31.7 t/s | 31.7 tok/s | Q4_K_M · 21.0 GB | |
| 2 | Qwen3.6 35B A3BAlibaba Q4_K_M · 22.0 GB · 23.5 t/s | 23.5 tok/s | Q4_K_M · 22.0 GB | |
| 3 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB · 25.8 t/s | 25.8 tok/s | Q4_K_M · 16.5 GB | |
| 4 | Qwen3 30B A3B Thinking 2507Alibaba Q4_K_M · 19.4 GB · 29.3 t/s | 29.3 tok/s | Q4_K_M · 19.4 GB | |
| 5 | Q4_K_M · 19.3 GB · 36.2 t/s | 36.2 tok/s | Q4_K_M · 19.3 GB |
| # | Model | Speed | Coding Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Qwen3.6 35B A3BAlibabaHow to run → Q4_K_M · 22.0 GB · 23.5 t/s | 23.5 tok/s | Q4_K_M · 22.0 GB | |
| 2 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB · 25.8 t/s | 25.8 tok/s | Q4_K_M · 16.5 GB | |
| 3 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 28.1 t/s | 28.1 tok/s | Q4_K_M · 13.1 GB | |
| 4 | Q4_K_M · 7.9 GB · 15.8 t/s | 15.8 tok/s | Q4_K_M · 7.9 GB | |
| 5 | Q4_K_M · 19.3 GB · 36.2 t/s | 36.2 tok/s | Q4_K_M · 19.3 GB |
| # | Model | Speed | Math Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Qwen3.6 35B A3BAlibabaHow to run → Q4_K_M · 22.0 GB · 23.5 t/s | 23.5 tok/s | Q4_K_M · 22.0 GB | |
| 2 | Inkling 2 MiniThinking Machines Q4_K_M · 21.0 GB · 31.7 t/s | 31.7 tok/s | overall | Q4_K_M · 21.0 GB |
| 3 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB · 25.8 t/s | 25.8 tok/s | overall | Q4_K_M · 16.5 GB |
| 4 | Q4_K_M · 19.3 GB · 36.2 t/s | 36.2 tok/s | Q4_K_M · 19.3 GB | |
| 5 | GLM 4.7 FlashZ.ai Q4_K_M · 19.9 GB · 22.6 t/s | 22.6 tok/s | Q4_K_M · 19.9 GB |
| # | Model | Speed | Long context Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Inkling 2 MiniThinking MachinesHow to run → Q4_K_M · 21.0 GB · 31.7 t/s | 31.7 tok/s | Q4_K_M · 21.0 GB | |
| 2 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB · 25.8 t/s | 25.8 tok/s | Q4_K_M · 16.5 GB | |
| 3 | Qwen3 30B A3B Thinking 2507Alibaba Q4_K_M · 19.4 GB · 29.3 t/s | 29.3 tok/s | Q4_K_M · 19.4 GB | |
| 4 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB · 25.8 t/s | 25.8 tok/s | Q4_K_M · 3.4 GB | |
| 5 | Q4_K_M · 19.3 GB · 36.2 t/s | 36.2 tok/s | Q4_K_M · 19.3 GB |
| # | Model | Speed ↓ | llmrun Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Inkling 2 MiniThinking MachinesHow to run → Q4_K_M · 21.0 GB · 31.7 t/s | 31.7 tok/s | Q4_K_M · 21.0 GB | |
| 2 | Q4_K_M · 19.3 GB · 36.2 t/s | 36.2 tok/s | Q4_K_M · 19.3 GB | |
| 3 | Qwen3 30B A3B Thinking 2507Alibaba Q4_K_M · 19.4 GB · 29.3 t/s | 29.3 tok/s | Q4_K_M · 19.4 GB | |
| 4 | Qwen3 30B A3B Instruct 2507Alibaba Q4_K_M · 19.4 GB · 29.3 t/s | 29.3 tok/s | Q4_K_M · 19.4 GB | |
| 5 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 28.1 t/s | 28.1 tok/s | Q4_K_M · 13.1 GB |
The iMac 24" M4 is a 32 GB desktop with more memory than speed: it runs 35B MoE models well. macOS keeps about 3.5 GB, leaving 28.5 GB for models. Prompt reading is its weak spot: a 4K-token prompt waits 16 s before the first word on Inkling 2 Mini. M4 generation, released 2024; the newer M5 writes 28% faster with 1.9× the compute.
iMac 24" M4 strengths and weaknesses
Strengths
- Runs 35B MoE models: Qwen3.6 35B A3B at 23.5 tok/s in 22 GB
Weaknesses
- 70B models don't fit: Llama 3.3 70B Instruct needs 51.3 GB at Q4 vs 28.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 Inkling 2 Mini waits 2.2 min for the first token
- No CUDA: vLLM, AWQ, GPTQ and FP8 builds don't run; use GGUF or MLX
Memory for models
28.5 GB of 32 GB70B models need 51.3 GB at Q4, more than the 28.5 GB available.Or rent an H100 (80 GB) from $2.25/hr →
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 28.5 GB available.
- 9BQwen3.5 9B · Q4_K_M · 6.6 GB13.2tok/s
- 8.8tok/s
- 4.8tok/s
- 35B MoEQwen3.6 35B A3B · Q4_K_M · 22.0 GB23.5tok/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 1217 models on the iMac 24" M4
Featured onlyBest quant that fits in 28.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 |
|---|---|---|---|---|---|---|
Tiny Random Qwen3ChatFunctions | Q4_K_M | 0.3 GB | 280.0 t/s | 33K | S100, Runs great | |
GigaChat3.1 Audio 10B A1.8BChatFunctions | BF16 | 22.9 GB | 29.8 t/s | 262K | A71, Runs well | |
Deeplm 108MChat | BF16 | 1.0 GB | 350.0 t/s | — | S100, Runs great | |
Intern Decision 4BVisionFunctions | Q4_K_M | 3.4 GB | 26.3 t/s | 262K | A67, Runs well | |
Tiny Glm4MoeForCausalLMChatFunctions | Q4_K_M | 0.6 GB | 280.0 t/s | 131K | S100, Runs great | |
Diffusiongemma 26B A4B ITVisionFunctions | Q4_K_M | 16.5 GB | 25.7 t/s | 262K | A66, Runs well | |
Olmo 3.1 32B InstructChatFunctions | Q4_K_M | 21.5 GB | 4.2 t/s | 66K | C40, Usable | |
Clef FlashVisionFunctions | Q4_K_M | 6.5 GB | 13.5 t/s | 262K | B53, Decent | |
| Q4_K_M | 0.7 GB | 150.0 t/s | 262K | S97, Runs great | ||
TwIL LM3ChatReasoningFunctions | Q4_K_M | 3.4 GB | 36.5 t/s | 66K | A73, Runs well | |
| Q4_K_M | 0.9 GB | 121.7 t/s | 8K | S95, Runs great | ||
Olmo 3 32B ThinkChat | Q4_K_M | 21.5 GB | 4.2 t/s | 66K | C40, Usable | |
| Q4_K_M | 1.8 GB | 57.1 t/s | 262K | A82, Runs well | ||
Nandi Mini 150MChat | BF16 | 0.6 GB | 133.3 t/s | 2K | S95, Runs great | |
| Q4_K_M | 1.9 GB | 55.6 t/s | 262K | A82, Runs well |
Specs
- Chip
- M4
- CPU cores
- 10
- GPU cores
- 10
- Unified memory
- 32 GB
- For models
- 28.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
iMac 24" M4 FAQ
How much memory is available for AI on the iMac 24" M4 (32 GB)?
About 28.5 GB of the 32 GB. macOS keeps roughly 3.5 GB for itself and other apps.
What is the largest model the iMac 24" M4 (32 GB) can run?
Qwen3.6 35B A3B (36.0B) is the largest at 4-bit or better: at Q4_K_M it uses 22.0 GB, 77% of the available memory, and runs at about 23.5 tok/s.
Can the iMac 24" M4 (32 GB) run Inkling 2 Mini?
Yes. Inkling 2 Mini fits at Q4_K_M, using 21.0 GB of the 28.5 GB available, and it is the best model that runs well on this machine.
Can the iMac 24" M4 (32 GB) run 70B models?
No. Llama 3.3 70B Instruct needs 51.3 GB at Q4, more than the 28.5 GB available.
How long does the iMac 24" M4 (32 GB) take to read a long prompt?
On Inkling 2 Mini, about 16 s for a 4K-token prompt and 2.2 min for a 32K-token document before the first word appears.
Is renting a GPU cheaper than buying the iMac 24" M4?
An A100 (40 GB) rents from $0.36/hr.