CanRun

Which local LLMs can the Apple M4 (Mac mini, MacBook Air, MacBook Pro, iMac) run?

Unified memory — by default the GPU can use about 70% of it

Assumes 8k context and an f16 KV cache. Verdicts are shown for each memory size.

What to expect from the Apple M4

The base M4 shares its memory between CPU and GPU, and CanRun lets the GPU use only part of it: on the 32GB model that is 22.4 GB. The bigger limit is speed. At 120 GB/s of memory bandwidth, against 273 GB/s on the Apple M4 Pro, the M4 reads model weights slowly, so the memory size you choose decides what loads, not how fast it runs.

With 16GB, Llama 3.1 8B fits and runs well. Qwen3 8B runs well too, even though it has a thinking mode and CanRun holds such models to a 1.5× stricter speed bar. Llama 3.2 3B runs great. gpt-oss-20b needs the 24GB model and then runs great.

With 32GB, mixture-of-experts models do best: Qwen3 30B-A3B runs great and Gemma 4 26B-A4B runs well, while dense models such as Gemma 4 31B fit but run slowly. Qwen3 32B is too big for the GPU's share at Q4_K_M and would run on the CPU alone; its IQ4_XS file fits on the GPU and runs slowly. Our Mac guide compares the M4 and M5 chips side by side.

Specs

Memory options
16 GB · 24 GB · 32 GB
Memory bandwidth
120.0 GB/s
FP16 compute
3.8 TFLOPS
Launch year
2024
Macs with this chip
  • Mac mini: 16 GB · 24 GB · 32 GB
  • MacBook Air: 16 GB · 24 GB · 32 GB
  • MacBook Pro: 16 GB · 24 GB · 32 GB
  • iMac: 16 GB · 24 GB · 32 GB
Also written as
M4

Verdicts at a glance

At Q4_K_M (or the closest available quant) with 8k context.

  • 16 GBRuns great11 modelsRuns well12 modelsRuns slowly5 modelsWon't run31 models5 more models run at a lower quant.
  • 24 GBRuns great13 modelsRuns well13 modelsRuns slowly14 modelsWon't run19 models8 more models run at a lower quant.
  • 32 GBRuns great15 modelsRuns well14 modelsRuns slowly17 modelsWon't run13 models4 more models run at a lower quant.

How to read the verdicts

Runs great
Fully on the GPU at 20 tok/s or more
Runs well
Fully on the GPU at 8–20 tok/s; MoE experts in system RAM at 20 tok/s or more; or at least 90% on the GPU at 8 tok/s or more
Runs slowly
2–8 tok/s; CPU-only; less than 90% on the GPU; or MoE experts in system RAM below 20 tok/s
Won't run
Does not fit, or under 2 tok/s

Every model on the Apple M4

Scroll sideways to see every column.

59 models sorted by verdict and speed, with 32 GB of memory
ModelVerdictSpeedQuantMemoryRuns asContextNotes
MiniCPM5 1B
Runs great
est. 102.3 tok/s81.9–122.8calibrated estimate ±20%
Q4_K_M1.5 / 22.4 GBUnified memoryup to 64k
  • thinking mode
Ling-3.0 Tiny
Runs great
est. 93.7 tok/s65.6–121.9theoretical estimate ±30%
Q4_K_M5.5 / 22.4 GBUnified memoryup to 128k
  • thinking mode
Llama 3.2 1B
Runs great
est. 84.6 tok/s67.7–101.5calibrated estimate ±20%
Q4_K_M1.7 / 22.4 GBUnified memoryup to 64k—
EXAONE 4.0 1.2B
Runs great
est. 69.4 tok/s55.6–83.3calibrated estimate ±20%
Q4_K_M1.9 / 22.4 GBUnified memoryup to 32k
  • thinking mode
Gemma 4 E2B
Runs great
est. 53.3 tok/s37.3–69.3theoretical estimate ±30%
Q4_K_M3.7 / 22.4 GBUnified memoryup to 128k
  • thinking mode
Mellum2.1 12B-A2.5B Thinking
Runs great
est. 51.2 tok/s40.9–61.4calibrated estimate ±20%
Q4_K_M8.8 / 22.4 GBUnified memoryup to 64k
  • thinking mode
LFM2.5 2.6B
Runs great
est. 50.5 tok/s35.4–65.7theoretical estimate ±30%
Q4_K_M2.4 / 22.4 GBUnified memoryup to 64k
  • thinking mode
HyperCLOVA X SEED 1.5B
Runs great
est. 50.2 tok/s40.2–60.3calibrated estimate ±20%
Q4_K_M2.4 / 22.4 GBUnified memoryup to 16k—
MiniCPM5 2B
Runs great
est. 47.7 tok/s38.2–57.2calibrated estimate ±20%
Q4_K_M2.5 / 22.4 GBUnified memoryup to 32k
  • thinking mode
MiniCPM-V 4.7 35B-A3B
Runs great
est. 37.5 tok/s30.0–45.0calibrated estimate ±20%
Q4_K_M21.9 / 22.4 GBUnified memoryup to 16k
  • thinking mode
gpt-oss-20b
est. 31.9 tok/s25.5–38.3calibrated estimate ±20%
MXFP412.9 / 22.4 GBUnified memoryup to 8k
  • thinking mode
Spark-X2.5 4B
Runs great
est. 31.4 tok/s25.1–37.7calibrated estimate ±20%
Q4_K_M3.5 / 22.4 GBUnified memoryup to 8k
  • thinking mode
Llama 3.2 3B
Runs great
est. 30.8 tok/s24.7–37.0calibrated estimate ±20%
Q4_K_M3.5 / 22.4 GBUnified memoryup to 16k—
Qwen3 30B-A3B (2507)
est. 29.8 tok/s23.8–35.7calibrated estimate ±20%
Q4_K_M19.9 / 22.4 GBUnified memoryup to 16k—
Kanana 1.5 15.7B-A3B
Runs great
est. 29.1 tok/s23.3–35.0calibrated estimate ±20%
Q4_K_M12.1 / 22.4 GBUnified memoryup to 16k—
Qwen3.5 4B
Runs well
est. 29.4 tok/s23.5–35.3calibrated estimate ±20%
Q4_K_M3.7 / 22.4 GBUnified memoryup to 128k
  • Try IQ4_XS: Runs great
  • thinking mode
Gemma 4 E4B
Runs well
est. 27.4 tok/s19.1–35.6theoretical estimate ±30%
Q4_K_M5.7 / 22.4 GBUnified memoryup to 128k
  • UD-Q2_K_XL (heavy quality loss): Runs great
  • thinking mode
Gemma 4 26B-A4B
est. 23.6 tok/s18.9–28.4calibrated estimate ±20%
Q4_K_M17.7 / 22.4 GBUnified memoryup to 128k
  • UD-Q2_K_XL (heavy quality loss): Runs great
  • thinking mode
DeepSeek R1 Distill Llama 8B
Runs well
est. 15.2 tok/s12.2–18.3calibrated estimate ±20%
Q4_K_M6.6 / 22.4 GBUnified memoryup to 16k
  • thinking mode
Kanana 1.5 8B
Runs well
est. 15.2 tok/s12.2–18.3calibrated estimate ±20%
Q4_K_M6.6 / 22.4 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs great
Llama 3.1 8B
est. 15.2 tok/s12.2–18.3calibrated estimate ±20%
Q4_K_M6.6 / 22.4 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs great
Nanbeige4.2 3B
Runs well
est. 14.9 tok/s10.4–19.4theoretical estimate ±30%
Q4_K_M4.7 / 22.4 GBUnified memoryup to 8k
  • thinking mode
Qwen3.5 9B
est. 14.9 tok/s11.9–17.8calibrated estimate ±20%
Q4_K_M6.7 / 22.4 GBUnified memoryup to 32k
  • thinking mode
DeepSeek R1 0528 Qwen3 8B
Runs well
est. 14.6 tok/s11.7–17.5calibrated estimate ±20%
Q4_K_M6.8 / 22.4 GBUnified memoryup to 16k
  • thinking mode
Qwen3 8B
est. 14.6 tok/s11.7–17.5calibrated estimate ±20%
Q4_K_M6.8 / 22.4 GBUnified memoryup to 16k
  • thinking mode
K2-Horizon 7B
Runs well
est. 13.4 tok/s10.7–16.1calibrated estimate ±20%
Q4_K_M7.4 / 22.4 GBUnified memoryup to 8k
  • thinking mode
Gemma 4 12B
est. 12.6 tok/s10.1–15.1calibrated estimate ±20%
Q4_K_M7.8 / 22.4 GBUnified memoryup to 16k
  • thinking mode
Gemma 3 12B
est. 11.6 tok/s9.3–14.0calibrated estimate ±20%
Q4_K_M8.4 / 22.4 GBUnified memoryup to 32k—
Phi-4
Runs well
est. 8.5 tok/s6.8–10.2calibrated estimate ±20%
Q4_K_M11.3 / 22.4 GBUnified memoryup to 8k—
Qwen3.6 35B-A3B
est. 25.4 tok/s17.8–33.1theoretical estimate ±30%
Q4_K_M22.5 GB RAMCPU onlyup to 256k
  • CPU inference — capped at Runs slowly
  • Try IQ4_XS: Runs great
  • thinking mode
Qwen3.5 35B-A3B
est. 25.1 tok/s17.6–32.6theoretical estimate ±30%
Q4_K_M22.8 GB RAMCPU onlyup to 256k
  • CPU inference — capped at Runs slowly
  • Try IQ4_XS: Runs great
  • thinking mode
Nemotron 3.5 Lightning 30B-A3B
Runs slowly
est. 20.9 tok/s14.6–27.1theoretical estimate ±30%
Q4_K_M25.5 GB RAMCPU onlyup to 256k
  • CPU inference — capped at Runs slowly
  • Try IQ4_XS: Runs great
  • thinking mode
K2-Horizon MoVA 36B-A4B
Runs slowly
est. 12.9 tok/s9.0–16.8theoretical estimate ±30%
Q4_K_M24.0 GB RAMCPU onlyup to 16k
  • CPU inference — capped at Runs slowly
  • thinking mode
HyperCLOVA X SEED Think 14B
Runs slowly
est. 8.9 tok/s6.3–11.6theoretical estimate ±30%
Q4_K_M10.8 / 22.4 GBUnified memoryup to 64k
  • thinking mode
Qwen3 14B
est. 8.8 tok/s7.1–10.6calibrated estimate ±20%
Q4_K_M10.9 / 22.4 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs well
  • thinking mode
DeepSeek R1 Distill Qwen 14B
Runs slowly
est. 8.6 tok/s6.9–10.3calibrated estimate ±20%
Q4_K_M11.2 / 22.4 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs well
  • thinking mode
Mistral Small 3.2 24B
Runs slowly
est. 5.8 tok/s4.7–7.0calibrated estimate ±20%
Q4_K_M16.2 / 22.4 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs well
Gemma 3 27B
Runs slowly
est. 5.3 tok/s4.2–6.4calibrated estimate ±20%
Q4_K_M17.8 / 22.4 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs well
Qwen3.6 27B
Runs slowly
est. 5.3 tok/s4.2–6.3calibrated estimate ±20%
Q4_K_M17.9 / 22.4 GBUnified memoryup to 64k
  • thinking mode
Muse Glimmer 30B
Runs slowly
est. 5.2 tok/s4.2–6.3calibrated estimate ±20%
Q4_K_M18.0 / 22.4 GBUnified memoryup to 128k
  • thinking mode
Qwen3.5 27B
est. 5.2 tok/s4.1–6.2calibrated estimate ±20%
Q4_K_M18.2 / 22.4 GBUnified memoryup to 32k
  • thinking mode
Qwen3.8 27B
est. 5.1 tok/s4.1–6.1calibrated estimate ±20%
Q4_K_M18.6 / 22.4 GBUnified memoryup to 32k
  • thinking mode
Gemma 4 31B
est. 4.8 tok/s3.8–5.8calibrated estimate ±20%
Q4_K_M19.6 / 22.4 GBUnified memoryup to 32k
  • thinking mode
Granite 4.2 30B
Runs slowly
est. 4.6 tok/s3.7–5.5calibrated estimate ±20%
Q4_K_M20.4 / 22.4 GBUnified memoryup to 8k
  • thinking mode
EXAONE 4.0 32B
Runs slowly
est. 4.6 tok/s3.7–5.5calibrated estimate ±20%
Q4_K_M20.5 / 22.4 GBUnified memoryup to 32k
  • thinking mode
EXAONE 4.5 33B
Runs slowly
est. 4.4 tok/s3.5–5.3calibrated estimate ±20%
Q4_K_M21.2 / 22.4 GBUnified memoryup to 16k
  • thinking mode
DeepSeek R1 Distill Qwen 32B
Won't runTry Q2_K (heavy quality loss): Runs slowly
est. 6.3 tok/s5.0–7.6calibrated estimate ±20%
Q2_K15.0 / 22.4 GBUnified memoryup to 32k
  • thinking mode
Qwen3 32B
Won't runTry IQ4_XS: Runs slowlyQwen3 32B verdict on the Apple M4
est. 4.6 tok/s3.7–5.5calibrated estimate ±20%
IQ4_XS20.4 / 22.4 GBUnified memoryup to 8k
  • thinking mode
Nanbeige4.3 33B
Won't runTry IQ4_XS: Runs slowly
est. 4.5 tok/s3.6–5.4calibrated estimate ±20%
IQ4_XS21.0 / 22.4 GBUnified memoryup to 8k
  • thinking mode
Llama 3.3 70B
Won't runTry IQ2_M (heavy quality loss): Runs slowlyLlama 3.3 70B verdict on the Apple M4
est. 2.2 tok/s1.6–2.9theoretical estimate ±30%
IQ2_M26.8 GB RAMCPU onlyup to 8k—
DeepSeek V4 Flash 0731
Won't run
—MXFP4needs 155.6 GB——
  • Needs about 155.6 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
GLM-5.3 Flash
Won't run
—Q4_K_Mneeds 182.1 GB——
  • Needs about 182.1 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
gpt-oss-120b—MXFP4needs 64.3 GB——
  • Needs about 64.3 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
Kolibri 1
Won't run
—Q4_K_Mneeds 50.5 GB——
  • Needs about 50.5 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
Laguna S 2.1
Won't run
—Q4_K_Mneeds 68.6 GB——
  • Needs about 68.6 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
Ling-3.0 Flash
Won't run
—Q4_K_Mneeds 77.7 GB——
  • Needs about 77.7 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
Qwen3.5 122B-A10B—Q4_K_Mneeds 79.0 GB——
  • Needs about 79.0 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
Solar Open 100B
Won't run
—Q4_K_Mneeds 64.4 GB——
  • Needs about 64.4 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode
Solar Open 2 250B
Won't run
—IQ4_XSneeds 137.2 GB——
  • Needs about 137.2 GB; 28.0 GB of memory is free (22.4 GB usable by the GPU)
  • thinking mode

Models with a thinking mode spend extra tokens thinking, so their speed thresholds are 1.5× stricter (30 / 12 / 3 tok/s). With thinking turned off, a model may do one grade better.

Verdict by memory size

Q4_K_M verdict for each memory configuration — open the model page for speeds
Model16 GB24 GB32 GB
MiniCPM5 1BRuns greatRuns greatRuns great
Ling-3.0 TinyRuns greatRuns greatRuns great
Llama 3.2 1BRuns greatRuns greatRuns great
EXAONE 4.0 1.2BRuns greatRuns greatRuns great
Gemma 4 E2BRuns greatRuns greatRuns great
Mellum2.1 12B-A2.5B ThinkingRuns greatRuns greatRuns great
LFM2.5 2.6BRuns greatRuns greatRuns great
HyperCLOVA X SEED 1.5BRuns greatRuns greatRuns great
MiniCPM5 2BRuns greatRuns greatRuns great
MiniCPM-V 4.7 35B-A3BWon't runWon't runRuns great
gpt-oss-20bWon't runRuns greatRuns great
Spark-X2.5 4BRuns greatRuns greatRuns great
Llama 3.2 3BRuns greatRuns greatRuns great
Qwen3 30B-A3B (2507)Won't runRuns slowlyRuns great
Kanana 1.5 15.7B-A3BRuns slowlyRuns greatRuns great
Qwen3.5 4BRuns wellRuns wellRuns well
Gemma 4 E4BRuns wellRuns wellRuns well
Gemma 4 26B-A4BWon't runRuns slowlyRuns well
DeepSeek R1 Distill Llama 8BRuns wellRuns wellRuns well
Kanana 1.5 8BRuns wellRuns wellRuns well
Llama 3.1 8BRuns wellRuns wellRuns well
Nanbeige4.2 3BRuns wellRuns wellRuns well
Qwen3.5 9BRuns wellRuns wellRuns well
DeepSeek R1 0528 Qwen3 8BRuns wellRuns wellRuns well
Qwen3 8BRuns wellRuns wellRuns well
K2-Horizon 7BRuns wellRuns wellRuns well
Gemma 4 12BRuns wellRuns wellRuns well
Gemma 3 12BRuns wellRuns wellRuns well
Phi-4Runs slowlyRuns wellRuns well
Qwen3.6 35B-A3BWon't runWon't runRuns slowly
Qwen3.5 35B-A3BWon't runWon't runRuns slowly
Nemotron 3.5 Lightning 30B-A3BWon't runWon't runRuns slowly
K2-Horizon MoVA 36B-A4BWon't runWon't runRuns slowly
HyperCLOVA X SEED Think 14BRuns slowlyRuns slowlyRuns slowly
Qwen3 14BRuns slowlyRuns slowlyRuns slowly
DeepSeek R1 Distill Qwen 14BRuns slowlyRuns slowlyRuns slowly
Mistral Small 3.2 24BWon't runRuns slowlyRuns slowly
Gemma 3 27BWon't runRuns slowlyRuns slowly
Qwen3.6 27BWon't runRuns slowlyRuns slowly
Muse Glimmer 30BWon't runRuns slowlyRuns slowly
Qwen3.5 27BWon't runRuns slowlyRuns slowly
Qwen3.8 27BWon't runRuns slowlyRuns slowly
Gemma 4 31BWon't runRuns slowlyRuns slowly
Granite 4.2 30BWon't runRuns slowlyRuns slowly
EXAONE 4.0 32BWon't runRuns slowlyRuns slowly
EXAONE 4.5 33BWon't runWon't runRuns slowly
DeepSeek R1 Distill Qwen 32BWon't runWon't runWon't run
Qwen3 32BWon't runWon't runWon't run
Nanbeige4.3 33BWon't runWon't runWon't run
Llama 3.3 70BWon't runWon't runWon't run
DeepSeek V4 Flash 0731Won't runWon't runWon't run
GLM-5.3 FlashWon't runWon't runWon't run
gpt-oss-120bWon't runWon't runWon't run
Kolibri 1Won't runWon't runWon't run
Laguna S 2.1Won't runWon't runWon't run
Ling-3.0 FlashWon't runWon't runWon't run
Qwen3.5 122B-A10BWon't runWon't runWon't run
Solar Open 100BWon't runWon't runWon't run
Solar Open 2 250BWon't runWon't runWon't run

Measured results on the Apple M4

Public benchmarks we calibrate against. Their conditions (context, backend, flags) can differ from the estimates above.

Measured results on the Apple M4
ModelQuantBackendContextPrompt (tok/s)Generation (tok/s)FlagsSourceMeasured
llama-2-7bQ4_0llama.cpp512221.024.1Metal, b1550 (2023)github.com2024-11-10

Frequently asked questions

What is the largest model that runs entirely on the Apple M4?

Qwen3.5 35B-A3B at IQ4_XS (a 18.17 GB file) fits entirely in 32 GB of unified memory with 8k context, at est. 31.0 tok/s (24.8–37.2, calibrated estimate ±20%).

How many local LLMs run well on the Apple M4?

At Q4_K_M with 8k context, with 32 GB of memory, out of 59 tracked models: 15 run great, 14 run well, 17 run slowly and 13 won't run.

Can the Apple M4 run a 70B model like Llama 3.3 70B?

Runs slowly — CPU only, IQ2_M (heavy quality loss): est. 2.2 tok/s (1.6–2.9, theoretical estimate ±30%).

Speeds are estimates from memory bandwidth, calibrated against public benchmarks, and each one comes with an error band and a confidence label. Real results vary with drivers, backend, context length and thermals.

Related guides