How to run Qwen2.5-Coder 32B locally
Qwen2.5-Coder 32B is a 32B Qwen model with a 128K context and Apache-2.0 license. Here's the VRAM it needs, which GPUs run it, and how fast.
At a glance
Memory needed per quantization
| Quant | Quality | Weights | Min VRAM |
|---|---|---|---|
| IQ3_M | 90.0% | 15 GB | ~18 GB |
| Q4_K_M | 97.5% | 19 GB | ~22 GB |
| Q5_K_M | 99.0% | 23 GB | ~26 GB |
| Q6_K | 99.7% | 26 GB | ~29 GB |
| Q8_0 | 99.9% | 34 GB | ~37 GB |
| FP16 / BF16 | 100.0% | 64 GB | ~67 GB |
Which GPUs run Qwen2.5-Coder 32B
| GPU | Fit | Quant | Speed |
|---|---|---|---|
| GeForce RTX 4060 8GB · 272 GB/s | Heavy | Q6_K | 1.4 tok/s |
| GeForce RTX 3060 12GB 12GB · 360 GB/s | Recommended | IQ2_XXS | 30.9 tok/s |
| GeForce RTX 4070 12GB · 504 GB/s | Perfect | IQ2_XXS | 43.3 tok/s |
| Intel Arc B580 12GB · 456 GB/s | Recommended | IQ2_XXS | 39.2 tok/s |
| GeForce RTX 4070 Ti SUPER 16GB · 672 GB/s | Perfect | Q2_K | 46.6 tok/s |
| GeForce RTX 5070 12GB · 672 GB/s | Perfect | IQ2_XXS | 57.7 tok/s |
| GeForce RTX 4080 SUPER 16GB · 736 GB/s | Perfect | Q2_K | 51 tok/s |
| Radeon RX 7900 XTX 24GB · 960 GB/s | Perfect | IQ4_XS | 43 tok/s |
| GeForce RTX 3090 24GB · 936 GB/s | Perfect | IQ4_XS | 41.9 tok/s |
| GeForce RTX 4090 24GB · 1008 GB/s | Perfect | Q4_K_M | 40.1 tok/s |
| GeForce RTX 5090 32GB · 1792 GB/s | Perfect | Q6_K | 53.3 tok/s |
| Apple M4 16GB · 120 GB/s | Works | Q2_K | 8.3 tok/s |
| Apple M4 Pro 24GB · 273 GB/s | Recommended | Q2_K | 18.9 tok/s |
| Apple M3 Max (16c) 48GB · 400 GB/s | Recommended | IQ3_M | 20.6 tok/s |
| Apple M2 Ultra 64GB · 800 GB/s | Perfect | IQ3_M | 41.1 tok/s |
Frequently asked
How much VRAM does Qwen2.5-Coder 32B need?
At the recommended Q4_K_M quantization, Qwen2.5-Coder 32B needs about 19.3GB for weights plus KV cache and overhead — roughly 22GB of VRAM total for a usable context. Drop to a 3-bit quant to squeeze it smaller, or go FP16 (64GB) for full quality.
What GPU do I need to run Qwen2.5-Coder 32B?
The most affordable GPU that runs it well is the Intel Arc B580 (12GB) at IQ2_XXS, delivering about 39.2 tokens/sec. Anything with 22GB+ of VRAM will run it comfortably.
Which quantization should I use for Qwen2.5-Coder 32B?
Q4_K_M is the default sweet spot (~97.5% of full quality). If it fits, Q5_K_M or Q6_K give near-lossless output; only drop below Q4 when you must fit it into limited VRAM.
Is Qwen2.5-Coder 32B good for coding?
Yes — Qwen2.5-Coder 32B scores 92/100 for coding, one of its strongest areas. License: Apache-2.0.