Alibaba·Qwen 2.5·Qwen2ForCausalLM

Qwen2.5 Coder 32B — Hardware Requirements & GPU Compatibility

ChatCode

Qwen2.5 Coder 32B is a 32.8B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. At Q4_K_M it needs about 20.50 GB of VRAM — see which GPUs and Macs can run it below.

8.9K downloads 155 likes33K context
Based on Qwen2.5 32B

Specifications

Publisher
Alibaba
Family
Qwen 2.5
Parameters
32.8B
Architecture
Qwen2ForCausalLM
Context Length
32,768 tokens
Vocabulary Size
152,064
License
Apache 2.0

Get Started

How Much VRAM Does Qwen2.5 Coder 32B Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_K3.4014.8 GB
Q3_K_S3.5015.2 GB
Q3_K_M3.9016.8 GB
Q4_04.0017.2 GB
Q4_K_M4.8020.5 GB
Q5_K_M5.7024.2 GB
Q6_K6.6027.9 GB
Q8_08.0033.6 GB

Which GPUs Can Run Qwen2.5 Coder 32B?

Q4_K_M · 20.5 GB

Qwen2.5 Coder 32B (Q4_K_M) requires 20.5 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 27+ GB is recommended. Using the full 33K context window can add up to 8.1 GB, bringing total usage to 28.6 GB. 5 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti.

Which Devices Can Run Qwen2.5 Coder 32B?

Q4_K_M · 20.5 GB

21 devices with unified memory can run Qwen2.5 Coder 32B, including NVIDIA DGX H100, NVIDIA DGX A100 640GB, Mac Mini M4 Pro (24 GB).

Benchmarks

View all 3

Related Models

Frequently Asked Questions

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

Qwen2.5 Coder 32B requires 20.5 GB of VRAM at Q4_K_M, or 33.6 GB at Q8_0. Full 33K context adds up to 8.1 GB (28.6 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 32.8B × 4.8 bits ÷ 8 = 19.7 GB

KV Cache + Overhead 0.8 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead 8.9 GB (at full 33K context)

VRAM usage by quantization

20.5 GB
28.6 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 4090 run Qwen2.5 Coder 32B?

Yes, at Q5_K_S (23.4 GB) or lower. Higher quantizations like Q5_K_M (24.2 GB) exceed the NVIDIA GeForce RTX 4090's 24 GB.

What's the best quantization for Qwen2.5 Coder 32B?

For Qwen2.5 Coder 32B, Q4_K_M (20.5 GB) offers the best balance of quality and VRAM usage. Q4_K_L (20.9 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 9.8 GB.

VRAM requirement by quantization

IQ2_XXS
9.8 GB
IQ3_XS
14.3 GB
Q3_K_L
17.6 GB
Q4_K_M
20.5 GB
Q4_K_L
20.9 GB
Q8_0
33.6 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Qwen2.5 Coder 32B on a Mac?

Qwen2.5 Coder 32B requires at least 9.8 GB at IQ2_XXS, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.

Can I run Qwen2.5 Coder 32B locally?

Yes — Qwen2.5 Coder 32B can run locally on consumer hardware. At Q4_K_M quantization it needs 20.5 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Qwen2.5 Coder 32B?

At Q4_K_M, Qwen2.5 Coder 32B can reach ~142 tok/s on AMD Instinct MI300X. On NVIDIA GeForce RTX 4090: ~32 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: AMD Instinct MI300X5300 ÷ 20.5 × 0.55 = ~142 tok/s

Estimated speed at Q4_K_M (20.5 GB)

~142 tok/s
~32 tok/s
~106 tok/s
~88 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Qwen2.5 Coder 32B?

At Q4_K_M, the download is about 19.66 GB. The full-precision Q8_0 version is 32.76 GB. The smallest option (IQ2_XXS) is 9.01 GB.

Which GPUs can run Qwen2.5 Coder 32B?

5 consumer GPUs can run Qwen2.5 Coder 32B at Q4_K_M (20.5 GB). Top options include NVIDIA GeForce RTX 5090, AMD Radeon RX 7900 XTX, NVIDIA GeForce RTX 3090. 1 GPU have plenty of headroom for comfortable inference.

Which devices can run Qwen2.5 Coder 32B?

21 devices with unified memory can run Qwen2.5 Coder 32B at Q4_K_M (20.5 GB), including Mac Mini M4 (32 GB), Mac Mini M4 Pro (24 GB), Mac Mini M4 Pro (48 GB), Mac Pro M2 Ultra (192 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.