Can I Run Qwen3-Coder on MacBook Pro 16" (M5 Max, 128 GB)?

Written by Jakub Rusinowski · Last updated July 8, 2026

Yes, but it is tight

Yes, but it is tight — Qwen3-Coder 80B-A3B (MoE) at Q8_0 needs about 88.3 GB of the 96 GB usable on MacBook Pro 16" (M5 Max, 128 GB), leaving only ~7.7 GB before the runtime starts swapping. Expect ~61.9 tok/s (estimated), with room for about 32,768 tokens of context.

Confidence: low · Recommended quantization: Q8_0 · Estimated speed: ~61.9 tok/s

MacBook Pro 16" (M5 Max, 128 GB) — what it gives a model

Usable memory for models96 GB
Memory bandwidth614 GB/s
Form factorLaptop
Operating systemmacOS
Memory upgradeableNo — soldered

Qwen3-Coder on MacBook Pro 16" (M5 Max, 128 GB): memory by quantization

QuantMemory neededFits 96 GB?Max contextEst. speedDownload
F16163.3 GB✗ No160 GB
Q8_088.3 GB✓ Yes32K~61.9 tok/s85 GB
Q6_K68.9 GB✓ Yes64K~71.4 tok/s65.6 GB
Q5_K_M60 GB✓ Yes64K~76.9 tok/s56.7 GB
Q4_K_M51.6 GB✓ Yes64K~82.8 tok/s48.3 GB
Q3_K_M37.4 GB✓ Yes64K~95.3 tok/s34.1 GB
Q2_K29.6 GB✓ Yes64K~104 tok/s26.3 GB

Which Qwen3-Coder sizes fit

VariantNeeds at Q4_K_MFits?Est. speed
Qwen3-Coder 480B-A35B (MoE)291.6 GB✗ Too large
Qwen3-Coder 80B-A3B (MoE)51.6 GB✓ Fits~82.8 tok/s
Qwen3-Coder 8B6.8 GB✓ Fits~52.5 tok/s

What to watch out for

MacBook Pro M5 Max 128 GB limitations

Recommended setup

Ollama or LM Studio (Metal) — MLX for the fastest Apple-native throughput

How these numbers are calculated

FAQ

Can I run Qwen3-Coder on MacBook Pro 16" (M5 Max, 128 GB)?

Yes, but it is tight — Qwen3-Coder 80B-A3B (MoE) at Q8_0 needs about 88.3 GB of the 96 GB usable on MacBook Pro 16" (M5 Max, 128 GB), leaving only ~7.7 GB before the runtime starts swapping. Expect ~61.9 tok/s (estimated), with room for about 32,768 tokens of context.

Which quantization of Qwen3-Coder should I use on MacBook Pro 16" (M5 Max, 128 GB)?

Q8_0 — it needs about 88.3 GB of the 96 GB available, downloads as roughly 85 GB, and runs at an estimated 61.9 tokens/sec with up to 32K of context.

What limits Qwen3-Coder on MacBook Pro 16" (M5 Max, 128 GB)?

Nothing binding — the model fits with headroom and generates at a usable speed on this hardware.

Which runtime should I use?

Ollama or LM Studio (Metal) — MLX for the fastest Apple-native throughput

Other Computers

Other Models on MacBook Pro 16" (M5 Max, 128 GB)

Qwen3-Coder on GPUs

What This Model Is Good At

Model & Tools

← Can I Run It? | Qwen3-Coder model page | Check your hardware