FR
← All models
Qwen · Dense model · 2024-11

Qwen2.5 Coder 32B: how much VRAM?

In Q4_K_M with 8k tokens of context, Qwen2.5 Coder 32B needs about 23 GB of memory. The cheapest option: 2 × RTX 3060 12 GB (€1,460 for the complete machine).

Model sheet

Parameters33 B
Active / token33 B
Cache / 1k tok.256 MB
ollama run qwen2.5-coder:32b

Weights on Hugging Face: Qwen/Qwen2.5-Coder-32B-Instruct

VRAM by precision and context

Precision4k8k32k128k
FP1670 GB71 GB77 GB101 GB
FP836 GB37 GB43 GB67 GB
Q8_038 GB39 GB45 GB69 GB
Q6_K30 GB31 GB37 GB61 GB
Q4_K_M22 GB23 GB29 GB53 GB
Q3_K_M18 GB19 GB25 GB49 GB

One user. Each simultaneous user adds their own context cache.

Frequently asked questions

How much VRAM does Qwen2.5 Coder 32B need?

With an 8k-token context and one user, Qwen2.5 Coder 32B needs about 23 GB in Q4, 39 GB in Q8 and 71 GB in FP16.

What is the cheapest hardware to run Qwen2.5 Coder 32B?

In Q4, the cheapest option in our catalogue to run Qwen2.5 Coder 32B is 2 × RTX 3060 12 GB, about €1,460 for the complete machine.

How fast does Qwen2.5 Coder 32B run?

Expect around 15 tokens per second for one user on 2 × RTX 3060 12 GB in Q4 (estimate based on memory bandwidth).

On which hardware?

HardwareCardsSpeedMachine
RTX 3060 12 GB2 cards~15 tok/s€1,460
RTX 3090 24 GB (used)1 is enough~26 tok/s€1,650
RTX 4060 Ti 16 GB2 cards~12 tok/s€1,800
Radeon RX 7900 XTX 24 GB1 is enough~27 tok/s€1,850
Radeon RX 7800 XT 16 GB2 cards~26 tok/s€1,900
RTX 4070 12 GB2 cards~21 tok/s€2,000
Mini-PC Ryzen AI Max+ 395 128 GB1 is enough~7.1 tok/s€2,300
RTX 4070 Ti SUPER 16 GB2 cards~28 tok/s€2,600
RTX 4090 24 GB1 is enough~28 tok/s€2,900
RTX 4080 SUPER 16 GB2 cards~31 tok/s€3,000
RTX 5080 16 GB2 cards~40 tok/s€3,300
RTX 5090 32 GB1 is enough~50 tok/s€3,500
NVIDIA DGX Spark 128 GB1 is enough~7.6 tok/s€4,000
Mac Studio M4 Max 128 GB1 is enough~15 tok/s€4,400
RTX 6000 Ada 48 GB1 is enough~27 tok/s€7,900
RTX PRO 6000 Blackwell 96 GB1 is enough~50 tok/s€9,900
Mac Studio M3 Ultra 512 GB1 is enough~23 tok/s€11,500
L40S 48 GB1 is enough~24 tok/s€13,500
A100 80 GB1 is enough~57 tok/s€17,000
H100 80 GB1 is enough~93 tok/s€34,000
H200 141 GB1 is enough~133 tok/s€39,000
B200 192 GB1 is enough~222 tok/s€48,000

Estimated complete machine: cards + host PC (€900 for 1–2 consumer cards, €2,800 beyond, a €6,000 server for datacenter cards). Macs and mini-PCs are sold complete.

Similar models