CanItRun Logocanitrun.

Qwen 2.5 Coder 32B Instruct

Qwen 2.5 Coder 32B Instruct needs roughly 24.6 GB VRAM at Q4_K_M quantization (75.2 GB at FP16). 63 GPUs we track can run it fully in VRAM at 8k context.

63 GPUs run this natively · 27 with CPU offload

Alibaba32.5B params125k contextApache 2.0Commercial use ok

Qwen 2.5 Coder 32B Instruct is a 32.5B parameter dense model developed by Alibaba. November 2024 coding-specialized variant — best open-weight coding model at this size.

To run Qwen 2.5 Coder 32B Instruct locally: Same VRAM requirements as Qwen2.5-32B (~18-20GB Q4). The top choice for developers with 24GB GPUs.

HumanEval 92.7% is exceptional, rivaling much larger models. MMLU-Pro 50.4% shows strong general capabilities too.

VRAM at each quantization

Figures below assume 8k context; KV cache grows linearly as context length increases.

QuantWeightsKV cacheTotal
FP32130.0 GB2.15 GB148.0 GB
BF1665.0 GB2.15 GB75.2 GB
FP1665.0 GB2.15 GB75.2 GB
Q8_034.5 GB2.15 GB41.1 GB
Q6_K26.7 GB2.15 GB32.3 GB
Q5_K_M23.1 GB2.15 GB28.3 GB
Q4_K_Mrec19.8 GB2.15 GB24.6 GB
Q3_K_M15.6 GB2.15 GB19.9 GB
Q2_K12.4 GB2.15 GB16.3 GB
NVFP4cuda16.3 GB2.15 GB20.6 GB

Shown at 8k context with FP16 KV cache. NVFP4 needs a CUDA GPU to run. Toggle TurboQuant in the calculator to view compressed KV cache numbers.

Benchmarks

GPUs that run Qwen 2.5 Coder 32B Instruct natively (63)

Plus 27 GPUs that run it with CPU offload (slower)

Notes

Best open-weight coding model at this size.

Hugging Face ↗Ollama ↗Released 2024-11-12

Compare Qwen 2.5 Coder 32B Instruct with other models

How to run Qwen 2.5 Coder 32B Instruct locally

816244880160320

Q4_K_M needs 24.6 GBneeds a workstation or datacenter GPU (48–80 GB).

Ollama

ollama run qwen2.5-coder:32b

llama.cpp

./llama-cli -m qwen2.5-coder-32b-instruct.Q4_K_M.gguf -c 8192 -ngl 99

LM Studio: Search for 'Qwen 2.5 Coder 32B' in LM Studio. The Q4_K_M variant fits on a single 24 GB GPU, making it the top local coding model at this price point.

Why this quantization? At 32.5B dense parameters, Q4_K_M is the sweet spot for fitting on a single 24 GB consumer GPU (RTX 4090, RTX 3090). This model was specifically trained for code generation, so its performance is disproportionately strong for its size. Q4 keeps it within the 24 GB envelope while retaining enough precision for accurate code synthesis.

Who is Qwen 2.5 Coder 32B Instruct for?

Software developers who want the best local coding assistant that fits on a single high-end consumer GPU. Ideal for programmers who want to pair it with VS Code or a terminal-based workflow, and who value the Apache 2.0 license for integrating AI-assisted coding into commercial projects.

Best for

  • Code generation, completion, and refactoring across popular languages
  • Explaining and documenting existing codebases
  • Unit test generation and bug detection
  • Technical writing and API documentation
  • Pair programming with local privacy -- your code never leaves your machine

Not ideal for

  • General-purpose chat or creative writing -- this model is specialized for code
  • Users with less than 20 GB of VRAM -- consider Qwen 2.5 7B Coder or DeepSeek R1 Distill 8B
  • Tasks requiring strong multilingual natural-language understanding outside of code

Frequently asked questions

What are the VRAM requirements for Qwen 2.5 Coder 32B Instruct?
Qwen 2.5 Coder 32B Instruct requires approximately 24.6 GB of VRAM at Q4_K_M quantization, 41.1 GB at Q8, and 75.2 GB at FP16. These numbers assume 8k context window; VRAM scales linearly with context length due to the KV cache.
How many parameters does Qwen 2.5 Coder 32B Instruct have?
Qwen 2.5 Coder 32B Instruct has 32.5 billion parameters.
How capable is Qwen 2.5 Coder 32B Instruct?
With an MMLU-Pro score of 50.4, Qwen 2.5 Coder 32B Instruct delivers solid general-purpose performance suitable for most everyday tasks and professional use.
Can Qwen 2.5 Coder 32B Instruct run on a 16 GB GPU?
No. At Q4_K_M, Qwen 2.5 Coder 32B Instruct needs 24.6 GB of VRAM — more than 16 GB. You will need a 48 GB GPU like the RTX 6000 Ada or a dual-GPU setup.
Can Qwen 2.5 Coder 32B Instruct run on a 24 GB GPU?
No. Even at Q4_K_M, Qwen 2.5 Coder 32B Instruct needs 24.6 GB. Consider a 48 GB card like the RTX 6000 Ada or a dual RTX 4090 setup.
What is the smallest quantization for Qwen 2.5 Coder 32B Instruct that fits in 24 GB of VRAM?
At NVFP4, Qwen 2.5 Coder 32B Instruct needs 20.6 GB — the highest-quality quantization that fits in 24 GB of VRAM.
What GPU do I need to run Qwen 2.5 Coder 32B Instruct locally?
You need a 48 GB GPU or a dual-GPU setup. At Q4_K_M, Qwen 2.5 Coder 32B Instruct needs 24.6 GB VRAM. Options: RTX 6000 Ada (48 GB), A6000 (48 GB), or 2× RTX 4090.