# Can I run Qwen2.5 Coder 32B on Apple M5 (32GB)?

> **Yes, but tight.** Fits at Q4_K_M (~20.7 GB of ~21 GB usable) but with little headroom, close other apps.

Last validated: 2026-06-15.

## Memory math
- Qwen2.5 Coder 32B: 32B; Q4_K_M weighs 18.49 GB on disk.
- At Q4_K_M with a 4k context it needs ~20.7 GB (weights + KV cache + ~0.8 GB runtime overhead, ±15% with context length).
- Apple M5 (32GB): 32 GB unified, ~21 GB usable for model weights.
- Headroom: ~0.3 GB.

## How to run
Recommended quant: Q4_K_M. Best tool on macOS: LM Studio.

```sh
ollama run qwen2.5-coder:32b
```

## Run Qwen2.5 Coder 32B on other devices
- [Nvidia GeForce RTX 4090 (24GB)](https://localmodel.run/can-i-run/qwen2.5-coder-32b/nvidia-rtx-4090-24gb)
- [Nvidia GeForce RTX 3090 (24GB)](https://localmodel.run/can-i-run/qwen2.5-coder-32b/nvidia-rtx-3090-24gb)
- [AMD Radeon RX 7900 XTX (24GB)](https://localmodel.run/can-i-run/qwen2.5-coder-32b/amd-rx-7900-xtx-24gb)
- [Nvidia GeForce RTX 5090 (32GB)](https://localmodel.run/can-i-run/qwen2.5-coder-32b/nvidia-rtx-5090-32gb)
- [32GB RAM Laptop (CPU/iGPU only)](https://localmodel.run/can-i-run/qwen2.5-coder-32b/laptop-32gb)
- [Apple M4 Pro (48GB)](https://localmodel.run/can-i-run/qwen2.5-coder-32b/apple-m4-pro-48gb)

## Other models that run on Apple M5 (32GB)
- [Granite 4.0 H Small (32B)](https://localmodel.run/can-i-run/granite-4.0-h-small/apple-m5-32gb)
- [Qwen3 30B-A3B (30.5B)](https://localmodel.run/can-i-run/qwen3-30b-a3b/apple-m5-32gb)
- [Gemma 2 27B (27B)](https://localmodel.run/can-i-run/gemma-2-27b/apple-m5-32gb)
- [Gemma 3 27B (27B)](https://localmodel.run/can-i-run/gemma-3-27b/apple-m5-32gb)
- [Mistral Small 3 24B (24B)](https://localmodel.run/can-i-run/mistral-small-3-24b/apple-m5-32gb)
- [Sarvam-M 24B (24B)](https://localmodel.run/can-i-run/sarvam-m-24b/apple-m5-32gb)

Estimate, not a guarantee. Sources: https://ollama.com/library/qwen2.5-coder, https://ollama.com/library/qwen2.5-coder/tags, https://huggingface.co/bartowski/Qwen2.5-Coder-32B-Instruct-GGUF, https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct.
More: https://localmodel.run/can-i-run/qwen2.5-coder-32b/apple-m5-32gb