Overview

Qwen2.5-Coder-32B-Instruct is the largest and most capable model in Alibaba’s Qwen2.5-Coder series, a family of code-specialized models built on Qwen2.5. The Qwen team released it on November 12, 2024, alongside new 0.5B, 3B, 14B and 32B sizes that joined the 1.5B and 7B models published earlier. Each size comes as a base model, meant for further fine-tuning, and an instruction-tuned model for chat and coding assistants. At launch the team said the 32B Instruct model matched GPT-4o on coding, and it became a popular choice for local coding assistants.

How it works

According to the Hugging Face model card, it is a dense causal Transformer with 32.5 billion parameters (31.0 billion excluding embeddings), 64 layers, and grouped-query attention with 40 query heads and 8 key-value heads. It uses RoPE positions, SwiGLU, RMSNorm and attention QKV bias. The series was trained on about 5.5 trillion tokens of source code, text-code grounding data and synthetic data, and the Qwen blog says it covers more than 40 programming languages.

The full context window is 131,072 tokens, but the default configuration covers 32,768 tokens. Longer inputs need a YaRN rope_scaling setting in config.json; the model card notes that vLLM only supports static YaRN, which can hurt quality on short texts, so it advises enabling it only when needed. The default Ollama tags also run with a 32K context.

Reported results

The Qwen team reported 73.7 on the Aider code-repair benchmark, which it called comparable to GPT-4o, 65.9 on the McEval multi-language benchmark and 75.2 on MdEval, the best open-source score at the time. It also claimed the best open-source results on EvalPlus, LiveCodeBench and BigCodeBench, and state-of-the-art results on five code-completion benchmarks. These are the developer’s own figures from late 2024.

Licence and running it locally

The 32B model is released under Apache 2.0, which allows commercial use; within the family only the 3B model uses the more restrictive Qwen Research licence. It runs with Hugging Face Transformers 4.37.0 or later, vLLM and SGLang, and quantized builds are available for llama.cpp, Ollama and LM Studio. The 4-bit qwen2.5-coder:32b Ollama download is 20GB.

Strengths and limits

It remains a capable, permissively licensed coding model that fits on a single high-memory GPU or a well-equipped workstation. It is two years old, though, and its own developer has since released newer coding models, so check current alternatives before adopting it for agentic work.

Alternatives

Its direct successor is Qwen3-Coder, whose 30B-A3B version also runs locally. Other open options include Devstral Small 2, DeepSeek-Coder-V2 Lite and gpt-oss-20b. For Alibaba’s current hosted flagship, see our story on Qwen4-Max.

Specifications are taken from the provider’s official announcement, documentation or model card. Benchmark results depend on evaluation settings; see how AI benchmarks work.