CanRun

Which local LLMs can the Apple M5 Max (40-core GPU; MacBook Pro, Mac Studio) 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.

Specs

Memory options
48 GB · 64 GB · 128 GB
Memory bandwidth
614.0 GB/s
FP16 compute
16.6 TFLOPS
Launch year
2026
Macs with this chip
  • MacBook Pro: 48 GB · 64 GB · 128 GB
  • Mac Studio: 48 GB · 64 GB · 128 GB
Also written as
M5 Max, M5 Max 40

Verdicts at a glance

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

  • 48 GBRuns great38 modelsRuns well11 modelsRuns slowly0 modelsWon't run10 models4 more models run at a lower quant.
  • 64 GBRuns great38 modelsRuns well11 modelsRuns slowly2 modelsWon't run8 models2 more models run at a lower quant.
  • 128 GBRuns great44 modelsRuns well12 modelsRuns slowly0 modelsWon't run3 models2 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 M5 Max (40-core GPU)

Scroll sideways to see every column.

59 models sorted by verdict and speed, with 128 GB of memory
ModelVerdictSpeedQuantMemoryRuns asContextNotes
MiniCPM5 1B
Runs great
est. 523.5 tok/s418.8–628.2calibrated estimate ±20%
Q4_K_M1.5 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Llama 3.2 1B
Runs great
est. 432.7 tok/s346.2–519.2calibrated estimate ±20%
Q4_K_M1.7 / 89.6 GBUnified memoryup to 128k—
EXAONE 4.0 1.2B
Runs great
est. 355.3 tok/s284.3–426.4calibrated estimate ±20%
Q4_K_M1.9 / 89.6 GBUnified memoryup to 64k
  • thinking mode
Ling-3.0 Tiny
Runs great
est. 282.8 tok/s198.0–367.7theoretical estimate ±30%
Q4_K_M5.5 / 89.6 GBUnified memoryup to 128k
  • thinking mode
LFM2.5 2.6B
Runs great
est. 258.6 tok/s181.0–336.2theoretical estimate ±30%
Q4_K_M2.4 / 89.6 GBUnified memoryup to 128k
  • thinking mode
HyperCLOVA X SEED 1.5B
Runs great
est. 257.1 tok/s205.6–308.5calibrated estimate ±20%
Q4_K_M2.4 / 89.6 GBUnified memoryup to 16k—
MiniCPM5 2B
Runs great
est. 244.0 tok/s195.2–292.8calibrated estimate ±20%
Q4_K_M2.5 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Gemma 4 E2B
Runs great
est. 197.1 tok/s138.0–256.3theoretical estimate ±30%
Q4_K_M3.7 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Mellum2.1 12B-A2.5B Thinking
Runs great
est. 179.0 tok/s143.2–214.8calibrated estimate ±20%
Q4_K_M8.8 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Spark-X2.5 4B
Runs great
est. 160.8 tok/s128.6–193.0calibrated estimate ±20%
Q4_K_M3.5 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Llama 3.2 3B
Runs great
est. 157.7 tok/s126.1–189.2calibrated estimate ±20%
Q4_K_M3.5 / 89.6 GBUnified memoryup to 128k—
Qwen3.5 4B
Runs great
est. 150.6 tok/s120.5–180.7calibrated estimate ±20%
Q4_K_M3.7 / 89.6 GBUnified memoryup to 256k
  • thinking mode
gpt-oss-20b
Runs great
est. 145.2 tok/s116.2–174.3calibrated estimate ±20%
MXFP412.9 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Nemotron 3.5 Lightning 30B-A3B
Runs great
est. 137.2 tok/s96.0–178.3theoretical estimate ±30%
Q4_K_M26.1 / 89.6 GBUnified memoryup to 256k
  • thinking mode
MiniCPM-V 4.7 35B-A3B
Runs great
est. 129.2 tok/s103.4–155.1calibrated estimate ±20%
Q4_K_M21.9 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Qwen3.6 35B-A3B
Runs great
est. 121.8 tok/s97.5–146.2calibrated estimate ±20%
Q4_K_M23.0 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Gemma 4 E4B
Runs great
est. 116.9 tok/s81.8–152.0theoretical estimate ±30%
Q4_K_M5.7 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Kanana 1.5 15.7B-A3B
Runs great
est. 114.6 tok/s91.7–137.5calibrated estimate ±20%
Q4_K_M12.1 / 89.6 GBUnified memoryup to 32k—
Qwen3.5 35B-A3B
Runs great
est. 109.8 tok/s87.8–131.7calibrated estimate ±20%
Q4_K_M23.4 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Qwen3 30B-A3B (2507)
Runs great
est. 104.2 tok/s83.4–125.0calibrated estimate ±20%
Q4_K_M19.9 / 89.6 GBUnified memoryup to 128k—
gpt-oss-120b
Runs great
est. 102.4 tok/s81.9–122.8calibrated estimate ±20%
MXFP464.3 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Gemma 4 26B-A4B
Runs great
est. 98.4 tok/s78.7–118.1calibrated estimate ±20%
Q4_K_M17.7 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Kolibri 1
Runs great
est. 96.4 tok/s77.1–115.7calibrated estimate ±20%
Q4_K_M50.5 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Ling-3.0 Flash
Runs great
est. 96.3 tok/s67.4–125.2theoretical estimate ±30%
Q4_K_M77.7 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Qwen3.5 9B
Runs great
82.7 tok/s8k estimate 76.0 tok/s (60.8–91.2, calibrated estimate ±20%)measured (2 runs, 512 context)
Q4_K_M6.7 / 89.6 GBUnified memoryup to 256k
  • thinking mode
DeepSeek R1 Distill Llama 8B
Runs great
est. 77.9 tok/s62.3–93.4calibrated estimate ±20%
Q4_K_M6.6 / 89.6 GBUnified memoryup to 64k
  • thinking mode
Kanana 1.5 8B
Runs great
est. 77.9 tok/s62.3–93.4calibrated estimate ±20%
Q4_K_M6.6 / 89.6 GBUnified memoryup to 32k—
Llama 3.1 8B
Runs great
est. 77.9 tok/s62.3–93.4calibrated estimate ±20%
Q4_K_M6.6 / 89.6 GBUnified memoryup to 128k—
Nanbeige4.2 3B
Runs great
est. 76.2 tok/s53.3–99.0theoretical estimate ±30%
Q4_K_M4.7 / 89.6 GBUnified memoryup to 32k
  • thinking mode
DeepSeek R1 0528 Qwen3 8B
Runs great
est. 74.8 tok/s59.8–89.8calibrated estimate ±20%
Q4_K_M6.8 / 89.6 GBUnified memoryup to 64k
  • thinking mode
Qwen3 8B
Runs great
est. 74.8 tok/s59.8–89.8calibrated estimate ±20%
Q4_K_M6.8 / 89.6 GBUnified memoryup to 32k
  • thinking mode
K2-Horizon MoVA 36B-A4B
Runs great
est. 71.2 tok/s49.9–92.6theoretical estimate ±30%
Q4_K_M24.6 / 89.6 GBUnified memoryup to 32k
  • thinking mode
K2-Horizon 7B
Runs great
est. 68.6 tok/s54.9–82.4calibrated estimate ±20%
Q4_K_M7.4 / 89.6 GBUnified memoryup to 64k
  • thinking mode
Gemma 4 12B
Runs great
est. 64.3 tok/s51.5–77.2calibrated estimate ±20%
Q4_K_M7.8 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Gemma 3 12B
Runs great
est. 59.5 tok/s47.6–71.5calibrated estimate ±20%
Q4_K_M8.4 / 89.6 GBUnified memoryup to 128k—
Laguna S 2.1
Runs great
est. 53.6 tok/s42.9–64.3calibrated estimate ±20%
Q4_K_M68.6 / 89.6 GBUnified memoryup to 128k
  • thinking mode
Qwen3.5 122B-A10B
Runs great
est. 47.4 tok/s37.9–56.8calibrated estimate ±20%
Q4_K_M79.0 / 89.6 GBUnified memoryup to 128k
  • thinking mode
HyperCLOVA X SEED Think 14B
Runs great
est. 45.8 tok/s32.0–59.5theoretical estimate ±30%
Q4_K_M10.8 / 89.6 GBUnified memoryup to 32k
  • thinking mode
Solar Open 100B
Runs great
est. 45.3 tok/s36.2–54.3calibrated estimate ±20%
Q4_K_M64.4 / 89.6 GBUnified memoryup to 32k
  • thinking mode
Qwen3 14B
Runs great
est. 45.1 tok/s36.1–54.1calibrated estimate ±20%
Q4_K_M10.9 / 89.6 GBUnified memoryup to 32k
  • thinking mode
DeepSeek R1 Distill Qwen 14B
Runs great
est. 44.0 tok/s35.2–52.8calibrated estimate ±20%
Q4_K_M11.2 / 89.6 GBUnified memoryup to 32k
  • thinking mode
Phi-4
Runs great
est. 43.5 tok/s34.8–52.2calibrated estimate ±20%
Q4_K_M11.3 / 89.6 GBUnified memoryup to 16k—
Mistral Small 3.2 24B
Runs great
est. 29.8 tok/s23.8–35.7calibrated estimate ±20%
Q4_K_M16.2 / 89.6 GBUnified memoryup to 32k—
Gemma 3 27B
Runs great
est. 27.1 tok/s21.7–32.5calibrated estimate ±20%
Q4_K_M17.8 / 89.6 GBUnified memoryup to 64k—
Qwen3.5 27B
Runs well
29.2 tok/s8k estimate 26.4 tok/s (21.2–31.7, calibrated estimate ±20%)measured (1 run, 512 context)
Q4_K_M18.2 / 89.6 GBUnified memoryup to 256k
  • UD-Q2_K_XL (heavy quality loss): Runs great
  • thinking mode
Qwen3.6 27B
Runs well
est. 26.9 tok/s21.5–32.3calibrated estimate ±20%
Q4_K_M17.9 / 89.6 GBUnified memoryup to 256k
  • UD-Q2_K_XL (heavy quality loss): Runs great
  • thinking mode
Muse Glimmer 30B
Runs well
est. 26.8 tok/s21.4–32.1calibrated estimate ±20%
Q4_K_M18.0 / 89.6 GBUnified memoryup to 128k
  • Try IQ4_XS: Runs great
  • thinking mode
Qwen3.8 27B
Runs well
est. 26.0 tok/s20.8–31.1calibrated estimate ±20%
Q4_K_M18.6 / 89.6 GBUnified memoryup to 256k
  • Q2_K (heavy quality loss): Runs great
  • thinking mode
Gemma 4 31B
Runs well
est. 24.6 tok/s19.7–29.5calibrated estimate ±20%
Q4_K_M19.6 / 89.6 GBUnified memoryup to 128k
  • UD-Q2_K_XL (heavy quality loss): Runs great
  • thinking mode
Granite 4.2 30B
Runs well
est. 23.5 tok/s18.8–28.2calibrated estimate ±20%
Q4_K_M20.4 / 89.6 GBUnified memoryup to 64k
  • Q2_K (heavy quality loss): Runs great
  • thinking mode
EXAONE 4.0 32B
Runs well
est. 23.5 tok/s18.8–28.2calibrated estimate ±20%
Q4_K_M20.5 / 89.6 GBUnified memoryup to 128k
  • thinking mode
EXAONE 4.5 33B
Runs well
est. 22.7 tok/s18.1–27.2calibrated estimate ±20%
Q4_K_M21.2 / 89.6 GBUnified memoryup to 256k
  • thinking mode
Qwen3 32B
Runs well
est. 21.3 tok/s17.0–25.6calibrated estimate ±20%
Q4_K_M22.5 / 89.6 GBUnified memoryup to 32k
  • Q2_K (heavy quality loss): Runs great
  • thinking mode
DeepSeek R1 Distill Qwen 32B
Runs well
est. 21.2 tok/s17.0–25.5calibrated estimate ±20%
Q4_K_M22.6 / 89.6 GBUnified memoryup to 64k
  • Q2_K (heavy quality loss): Runs great
  • thinking mode
Nanbeige4.3 33B
Runs well
est. 20.7 tok/s16.6–24.8calibrated estimate ±20%
Q4_K_M23.1 / 89.6 GBUnified memoryup to 64k
  • Q2_K (heavy quality loss): Runs great
  • thinking mode
Llama 3.3 70B
Runs well
est. 10.3 tok/s8.3–12.4calibrated estimate ±20%
Q4_K_M45.8 / 89.6 GBUnified memoryup to 32k—
Solar Open 2 250B
Won't runTry Q2_K (heavy quality loss): Runs slowly
est. 43.1 tok/s30.2–56.1theoretical estimate ±30%
Q2_K95.8 GB RAMCPU onlyup to 256k
  • CPU inference — capped at Runs slowly
  • thinking mode
DeepSeek V4 Flash 0731
Won't runTry Q2_K (heavy quality loss): Runs slowly
est. 42.7 tok/s29.9–55.5theoretical estimate ±30%
Q2_K117.4 GB RAMCPU onlyup to 256k
  • CPU inference — capped at Runs slowly
  • thinking mode
GLM-5.3 Flash
Won't run
—Q4_K_Mneeds 182.1 GB——
  • Needs about 182.1 GB; 124.0 GB of memory is free (89.6 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
Model48 GB64 GB128 GB
MiniCPM5 1BRuns greatRuns greatRuns great
Llama 3.2 1BRuns greatRuns greatRuns great
EXAONE 4.0 1.2BRuns greatRuns greatRuns great
Ling-3.0 TinyRuns greatRuns greatRuns great
LFM2.5 2.6BRuns greatRuns greatRuns great
HyperCLOVA X SEED 1.5BRuns greatRuns greatRuns great
MiniCPM5 2BRuns greatRuns greatRuns great
Gemma 4 E2BRuns greatRuns greatRuns great
Mellum2.1 12B-A2.5B ThinkingRuns greatRuns greatRuns great
Spark-X2.5 4BRuns greatRuns greatRuns great
Llama 3.2 3BRuns greatRuns greatRuns great
Qwen3.5 4BRuns greatRuns greatRuns great
gpt-oss-20bRuns greatRuns greatRuns great
Nemotron 3.5 Lightning 30B-A3BRuns greatRuns greatRuns great
MiniCPM-V 4.7 35B-A3BRuns greatRuns greatRuns great
Qwen3.6 35B-A3BRuns greatRuns greatRuns great
Gemma 4 E4BRuns greatRuns greatRuns great
Kanana 1.5 15.7B-A3BRuns greatRuns greatRuns great
Qwen3.5 35B-A3BRuns greatRuns greatRuns great
Qwen3 30B-A3B (2507)Runs greatRuns greatRuns great
gpt-oss-120bWon't runWon't runRuns great
Gemma 4 26B-A4BRuns greatRuns greatRuns great
Kolibri 1Won't runRuns slowlyRuns great
Ling-3.0 FlashWon't runWon't runRuns great
Qwen3.5 9BRuns greatRuns greatRuns great
DeepSeek R1 Distill Llama 8BRuns greatRuns greatRuns great
Kanana 1.5 8BRuns greatRuns greatRuns great
Llama 3.1 8BRuns greatRuns greatRuns great
Nanbeige4.2 3BRuns greatRuns greatRuns great
DeepSeek R1 0528 Qwen3 8BRuns greatRuns greatRuns great
Qwen3 8BRuns greatRuns greatRuns great
K2-Horizon MoVA 36B-A4BRuns greatRuns greatRuns great
K2-Horizon 7BRuns greatRuns greatRuns great
Gemma 4 12BRuns greatRuns greatRuns great
Gemma 3 12BRuns greatRuns greatRuns great
Laguna S 2.1Won't runWon't runRuns great
Qwen3.5 122B-A10BWon't runWon't runRuns great
HyperCLOVA X SEED Think 14BRuns greatRuns greatRuns great
Solar Open 100BWon't runWon't runRuns great
Qwen3 14BRuns greatRuns greatRuns great
DeepSeek R1 Distill Qwen 14BRuns greatRuns greatRuns great
Phi-4Runs greatRuns greatRuns great
Mistral Small 3.2 24BRuns greatRuns greatRuns great
Gemma 3 27BRuns greatRuns greatRuns great
Qwen3.5 27BRuns wellRuns wellRuns well
Qwen3.6 27BRuns wellRuns wellRuns well
Muse Glimmer 30BRuns wellRuns wellRuns well
Qwen3.8 27BRuns wellRuns wellRuns well
Gemma 4 31BRuns wellRuns wellRuns well
Granite 4.2 30BRuns wellRuns wellRuns well
EXAONE 4.0 32BRuns wellRuns wellRuns well
EXAONE 4.5 33BRuns wellRuns wellRuns well
Qwen3 32BRuns wellRuns wellRuns well
DeepSeek R1 Distill Qwen 32BRuns wellRuns wellRuns well
Nanbeige4.3 33BRuns wellRuns wellRuns well
Llama 3.3 70BWon't runRuns slowlyRuns well
Solar Open 2 250BWon'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

Measured results on the Apple M5 Max (40-core GPU)

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

Measured results on the Apple M5 Max (40-core GPU)
ModelQuantBackendContextPrompt (tok/s)Generation (tok/s)FlagsSourceMeasured
llama-2-7bQ4_0llama.cpp5123,220.0119.9Metal, FAgithub.com2026-08-25
Gemma 4 26B-A4BQ8_0llama.cpp5123,582.095.4Metalgithub.com2026-09-15
Qwen3.5 27BQ4_K_Mllama.cpp512731.029.2—github.com2026-09-27
Qwen3.5 9BQ4_K_Mllama.cpp5122,369.086.5—github.com2026-09-27
Qwen3.5 9BQ4_K_Mllama.cpp5122,338.078.8—localmaxxing.com2026-06-19

Frequently asked questions

What is the largest model that runs entirely on the Apple M5 Max (40-core GPU)?

Ling-3.0 Flash at Q4_K_M (a 77.01 GB file) fits entirely in 128 GB of unified memory with 8k context, at est. 96.3 tok/s (67.4–125.2, theoretical estimate ±30%).

How many local LLMs run well on the Apple M5 Max (40-core GPU)?

At Q4_K_M with 8k context, with 128 GB of memory, out of 59 tracked models: 44 run great, 12 run well, 0 run slowly and 3 won't run.

Can the Apple M5 Max (40-core GPU) run a 70B model like Llama 3.3 70B?

Runs well — Unified memory, Q4_K_M: est. 10.3 tok/s (8.3–12.4, calibrated estimate ±20%).

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

Compare the Apple M5 Max (40-core GPU) with