llmrun

Apple · M4 · Desktop

Best AI Models for iMac 24" M4 (32 GB)

Runs 9B and 35B MoE models well; 14B and 27–31B fit but are slow (12 and 7 tok/s), and 70B doesn't fit in 28.5 GB.

32 GB unified28.5 GB for models120 GB/s9 TFLOPS FP162024

What LLMs can the iMac 24" M4 run?

#ModelSpeedllmrun ScoreQuant · Memory
1
Q4_K_M · 21.0 GB · 37.8 t/s
37.8 tok/sQ4_K_M · 21.0 GB
2
Q4_K_M · 22.0 GB · 29.1 t/s
29.1 tok/sQ4_K_M · 22.0 GB
3
Q4_K_M · 16.5 GB · 31.5 t/s
31.5 tok/sQ4_K_M · 16.5 GB
4
Q4_K_M · 19.4 GB · 35.4 t/s
35.4 tok/sQ4_K_M · 19.4 GB
5
Q4_K_M · 19.3 GB · 42.6 t/s
42.6 tok/sQ4_K_M · 19.3 GB
See all 350 models on the iMac 24" M4 →Bars = traction for models without a Score yet

About the iMac 24" M4 (32 GB)

The iMac 24" M4 is a 32 GB desktop with more memory than speed: it runs 9B and 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 26% faster with 1.9× the compute.

Speed in 32 GB#12120 GB/s
Prompt reading#149 TFLOPS
For models28.5 GBmacOS keeps 3.5 GB
ChipM4released 2024

iMac 24" M4 strengths and weaknesses

Strengths

  • Runs 35B MoE models: Qwen3.6 35B A3B at 29.1 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 6.5 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 GB
9B6.6 GB14B11.9 GB27–31B17.9 GB35B MoE22 GB
9B6.6 GB14B11.9 GB35B MoE22 GB
For models 28.5 GBmacOS keeps 3.5 GBModel size at Q4

70B models need 51.3 GB at Q4, more than the 28.5 GB available.Or rent an H100 (80 GB) from $2.34/hr →

Similar devices and alternatives

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.

iMac 24" M4 tokens per second by model size

Output speed depends on memory bandwidth (120 GB/s). Grey rows need more than the 28.5 GB available.

  1. 9BQwen3.5 9B · Q4_K_M · 6.6 GB
    17.0tok/s
  2. 14BQwen3 14B · Q4_K_M · 11.9 GB
    11.6tok/s
  3. 27–31BQwen3.8 27B · Q4_K_M · 17.9 GB slow
    6.5tok/s
  4. 35B MoEQwen3.6 35B A3B · Q4_K_M · 22.0 GB
    29.1tok/s
  5. 70BLlama 3.3 70B Instruct · not at 4-bit
    needs 51.3 GB
  6. 120B MoEGPT OSS 120B · not at 4-bit
    needs 70.8 GB

Estimated speeds: Q4_K_M, 4K context, one user. How we estimate

Chip generations: writing vs compute

M1 → M5
Writing speed (tok/s)Compute (TFLOPS FP16)
1×2×3×4×M12021M22023M32023M42024M52025M1 · 5.2 TFLOPS FP16M1 · 9.9 tok/s · 68.3 GB/sM2 · 7.2 TFLOPS FP16M2 · 14.3 tok/s · 100 GB/sM3 · 7 TFLOPS FP16M3 · 14.6 tok/s · 102.4 GB/sM4 · 8.6 TFLOPS FP16M4 · 17.0 tok/s · 120 GB/sM5 · 16 TFLOPS FP16M5 · 21.4 tok/s · 153.6 GB/sCompute 3.1×Writing +116%
1×2×3×4×M12021M22023M32023M42024M52025M1 · 5.2 TFLOPS FP16M1 · 9.9 tok/s · 68.3 GB/sM2 · 7.2 TFLOPS FP16M2 · 14.3 tok/s · 100 GB/sM3 · 7 TFLOPS FP16M3 · 14.6 tok/s · 102.4 GB/sM4 · 8.6 TFLOPS FP16M4 · 17.0 tok/s · 120 GB/sM5 · 16 TFLOPS FP16M5 · 21.4 tok/s · 153.6 GB/sCompute 3.1×Writing +116%

Writing speed follows memory bandwidth and barely moved: 9.9 to 21.4 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 350 models on the iMac 24" M4

Featured only

Best quant that fits in 28.5 GB, ordered by llmrun Score. Fit grades how well it runs here, S best. How ranking works

LLM models compatible with iMac 24" M4 (32 GB) — ranked by Score, recency and Fit
ModelVRAMScoreFit
Q4_K_M·22.9 t/s
4.6 GBB63, Decent
Yi 9B
Q4_K_M·18.5 t/s
6 GBB58, Decent
CodeQwen1.5 7B
Q4_K_M·22.2 t/s
5.7 GBB62, Decent
Qwen 14B
Q4_K_M·11.8 t/s
10.6 GBB51, Decent
Q4_K_M·5.5 t/s
24.1 GBC36, Usable
Yi 34B Chat
Q4_K_M·5.3 t/s
21.9 GBC42, Usable
Q4_K_M·12.8 t/s
11.5 GBB52, Decent
C4ai Command R V01
Q4_K_M·4.9 t/s
27.0 GBD19, Barely runs
Q4_K_M·12.8 t/s
11.5 GBB52, Decent
Qwen2.5 Coder 3B
Q4_K_M·43.5 t/s
2.8 GBA77, Runs well
FP16·7.3 t/s
15.4 GBB45, Decent
Qwen1.5 7B
Q4_K_M·17.9 t/s
13.5 GBB58, Decent
Qwen 14B Chat
Q4_K_M·11.8 t/s
10.6 GBB51, Decent
IQ4_XS·14.4 t/s
27.6 GBD28, Barely runs
Q4_K_M·19.7 t/s
12.9 GBB60, Decent

iMac 24" M4 specs

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 29.1 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.