llmrun

Apple · M4 · Desktop

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

Runs 9B models well; 14B only just fits in 12.5 GB, and 27–31B doesn't fit.

16 GB unified12.5 GB for models120 GB/s7 TFLOPS FP162024

What LLMs can the iMac 24" M4 run?

#ModelSpeedllmrun ScoreQuant · Memory
1
Q4_K_M · 6.6 GB · 17.0 t/s
17.0 tok/sQ4_K_M · 6.6 GB
2
Qwen3.5 4BAlibaba
Q4_K_M · 3.4 GB · 31.3 t/s
31.3 tok/sQ4_K_M · 3.4 GB
3
Q4_K_M · 7.3 GB · 17.7 t/s
17.7 tok/sQ4_K_M · 7.3 GB
4
Q4_K_M · 5.0 GB · 35.3 t/s
35.3 tok/sQ4_K_M · 5.0 GB
5
Ling 3.0 TinyInclusion AI
Q4_K_M · 5.5 GB · 66.1 t/s
66.1 tok/sQ4_K_M · 5.5 GB
See all 288 models on the iMac 24" M4 →Bars = traction for models without a Score yet

About the iMac 24" M4 (16 GB)

The iMac 24" M4 is a 16 GB desktop with more memory than speed: it runs 9B models well. macOS keeps about 3.5 GB, leaving 12.5 GB for models. Prompt reading is its weak spot: a 4K-token prompt waits 57 s before the first word on Qwen3.5 9B. M4 generation, released 2024; the newer M5 writes 25% faster with 2.3× the compute.

Speed in 16 GB#7120 GB/s
Prompt reading#87 TFLOPS
For models12.5 GBmacOS keeps 3.5 GB
ChipM4released 2024

iMac 24" M4 strengths and weaknesses

Strengths

  • Runs 7–9B models: Qwen3.5 9B at 17.0 tok/s in 6.6 GB

Weaknesses

  • 27–31B models don't fit: Qwen3.8 27B needs 17.9 GB at Q4 vs 12.5 GB usable here
  • Little room for context: Qwen3 14B uses 11.9 of 12.5 GB usable, 0.6 GB left
  • Slow prompt reading: A 32K-token prompt on Qwen3.5 9B waits 7.6 min for the first token
  • No CUDA: vLLM, AWQ, GPTQ and FP8 builds don't run; use GGUF or MLX

Memory for models

12.5 GB of 16 GB
9B6.6 GB14B11.9 GB
9B6.6 GB14B11.9 GB
For models 12.5 GBmacOS keeps 3.5 GBModel size at Q4

27–31B models need 17.9 GB at Q4, more than the 12.5 GB available. The 24 GB config fits Inkling 2 Mini →Or rent an RTX 3090 (24 GB) from $0.16/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 12.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 tight · Q4_K_M
    11.6tok/s
  3. 27–31BQwen3.8 27B · not at 4-bit
    needs 17.9 GB
  4. 35B MoEQwen3.6 35B A3B · not at 4-bit
    needs 22.0 GB
  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 · 6.9 TFLOPS FP16M4 · 17.0 tok/s · 120 GB/sM5 · 16 TFLOPS FP16M5 · 21.3 tok/s · 153 GB/sCompute 3.1×Writing +115%
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 · 6.9 TFLOPS FP16M4 · 17.0 tok/s · 120 GB/sM5 · 16 TFLOPS FP16M5 · 21.3 tok/s · 153 GB/sCompute 3.1×Writing +115%

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

Featured only

Best quant that fits in 12.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 (16 GB) — ranked by Score, recency and Fit
ModelVRAMScoreFit
Q4_K_M·29.9 t/s
3.5 GBA71, Runs well
BF16·47.8 t/s
3.4 GBA79, Runs well
GPT OSS BF16
Q4_K_M·159.9 t/s
0.3 GBS97, Runs great
Surya Ocr 2
Q4_K_M·97.6 t/s
0.8 GBS91, Runs great
Q4_K_M·55.3 t/s
2.4 GBA82, Runs well
Q4_K_M·37.6 t/s
4.8 GBA74, Runs well
Moondream2
Q4_K_M·68.1 t/s
3.0 GBS85, Runs great
LocoOperator 4B
Q4_K_M·34.7 t/s
4.2 GBA73, Runs well
Llama 3.1 8B Instruct
Q4_K_M·20.1 t/s
7.9 GBB60, Decent
Q4_K_M·255.7 t/s
0.0 GBS100, Runs great
Q4_K_M·159.9 t/s
0.3 GBS97, Runs great
InternVL2 1B
Q4_K_M·110.7 t/s
2.0 GBS93, Runs great
Malaysian TTS 0.6B V1
Q4_K_M·94.4 t/s
1.6 GBS90, Runs great
Q4_K_M·19.8 t/s
6.2 GBB60, Decent
Q4_K_M·104.7 t/s
0.9 GBS92, Runs great

iMac 24" M4 specs

Specs

Chip
M4
CPU cores
8
GPU cores
8
Unified memory
16 GB
For models
12.5 GB (macOS keeps 3.5 GB)
Memory bandwidth
120 GB/s
FP16 (dense)
6.9 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 (16 GB)?

About 12.5 GB of the 16 GB. macOS keeps roughly 3.5 GB for itself and other apps.

What is the largest model the iMac 24" M4 (16 GB) can run?

GPT OSS 20B (20.9B) is the largest at 4-bit or better: at Q4_K_S it uses 12.4 GB, 99% of the available memory, and runs at about 35.5 tok/s.

Can the iMac 24" M4 (16 GB) run Qwen3.5 9B?

Yes. Qwen3.5 9B fits at Q4_K_M, using 6.6 GB of the 12.5 GB available, and it is the best model that runs well on this machine.

Can the iMac 24" M4 (16 GB) run 27–31B models?

No. Qwen3.8 27B needs 17.9 GB at Q4, more than the 12.5 GB available.

How long does the iMac 24" M4 (16 GB) take to read a long prompt?

On Qwen3.5 9B, about 57 s for a 4K-token prompt and 7.6 min for a 32K-token document before the first word appears.

Is renting a GPU cheaper than buying the iMac 24" M4?

An RTX 3090 (24 GB) rents from $0.12/hr.