Qwen2.5 Coder 32B Instruct
Qwen (Alibaba) (China) · Language (text)
Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). As of now, Qwen2.5-Coder has covered six mainstream model sizes, 0.5, 1.5, 3, 7, 14, 32 billion parameters, to meet the needs of different developers. Qwen2.5-Coder brings the following improvements upon CodeQwen1.5:
Which way is for me?
🌐 Online, right now
- Open the model's page on OpenRouter: openrouter.ai/qwen/qwen-2.5-coder-32b-instruct
- Sign in (with Google or email) and press Chat; you can talk to the model right there.
- Cost: a short exchange (about a page in and a page out) costs about $0.00083, so $1 buys about 1,204 messages.
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
Qwen/Qwen2.5-Coder-32B-Instruct-GGUF - From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
- Press Download, then Load, and start talking in Chat.
Or, if you use Ollama, this one command is enough:
ollama run hf.co/Qwen/Qwen2.5-Coder-32B-Instruct-GGUF🧑💻 For developers
vLLM
vllm serve Qwen/Qwen2.5-Coder-32B-InstructTransformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="Qwen/Qwen2.5-Coder-32B-Instruct")llama.cpp
llama-server -hf Qwen/Qwen2.5-Coder-32B-Instruct-GGUFWords used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). As of now, Qwen2.5-Coder has covered six mainstream model sizes, 0.5, 1.5, 3, 7, 14, 32 billion parameters, to meet the needs of different developers. Qwen2.5-Coder brings the following improvements upon CodeQwen1.5:
Source: Hugging Face · Qwen/Qwen2.5-Coder-32B-Instruct · License: apache-2.0
Hardware and running it
Cloud and local Available through an API, and its weights are published to run on your own hardware.
- Minimum Q4
- 22 GB
- Recommended Q8
- 39.3 GB
- Full quality FP16
- 78.6 GB
On common hardware
| RTX 4060 · 8 GB | Won't run | |
|---|---|---|
| RTX 4090 · 24 GB | Usable | Q4 · ≈ 20–33 tokens/s |
| RTX 5090 · 32 GB | Usable | Q4 · ≈ 35–59 tokens/s |
| Mac M4 Max · 128 GB | Slow | FP16 · ≈ 3–5 tokens/s |
| H100 · 80 GB | Barely fits | FP16 · ≈ 18–31 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 150–250 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: