Best Qwen Model for Coding?
By Hans Kuepper · Founder of PromptQuorum · Discovery engine for open-weight & open-source AI
Key Takeaways
- ✓Qwen3.8-27B (18 GB, Apache 2.0, 256K context) is the newest Qwen pick for 24 GB cards; Qwen reports 61.7 on SWE-bench Pro, up from 53.5 for Qwen3.6 27B
- ✓Qwen3-Coder starts at 30B-A3B (19 GB), then 80B-A3B Coder-Next (52 GB) and 480B-A35B (290 GB): there is no Qwen3-Coder 7B, 14B or 32B
- ✓Qwen2.5-Coder 14B (9.0 GB) and 7B (4.7 GB) remain the dedicated Qwen coders for 12 GB and 8 GB GPUs
- ✓HumanEval is nearly flat across sizes: 88.4 (7B), 89.6 (14B), 92.7 (32B) for Qwen2.5-Coder instruct
- ✓Install: `ollama pull qwen3.8:27b`, `qwen3-coder:30b`, `qwen2.5-coder:14b` or `qwen2.5-coder:7b`

Quick Answer
Qwen3.8-27B is the best Qwen model for coding on a 24 GB GPU or a 32 GB Mac (18 GB download, Apache 2.0, 256K context). On 12 GB, Qwen2.5-Coder 14B (9.0 GB) is the dedicated Qwen coder that fits; on 8 GB, Qwen2.5-Coder 7B (4.7 GB). There is no Qwen3-Coder 14B: Qwen3-Coder starts at a 30B mixture-of-experts model (19 GB). This ranking rests on Qwen's own reported benchmarks, which we did not reproduce.
- ▸24 GB: Qwen3.8-27B (18 GB), or Qwen3-Coder-30B-A3B (19 GB, 3.3B active) for a coder-tuned model
- ▸12 GB: Qwen2.5-Coder 14B (9.0 GB, 89.6 HumanEval)
- ▸8 GB: Qwen2.5-Coder 7B (4.7 GB, 88.4 HumanEval)
- ▸Qwen3-Coder has no 7B, 14B or 32B size: those belong to Qwen2.5-Coder
Which Qwen Models Fit Which GPU
Qwen3.8-27B, Qwen3-Coder-30B-A3B and Qwen2.5-Coder 14B are the three Qwen models most readers should compare. Download sizes below come from the Ollama library (Qwen3.8, Qwen3-Coder, Qwen2.5-Coder); add a few GB for the KV cache at long context.
Qwen3-Coder is a different class from the 7B/14B/32B models many guides list: on Ollama it is a 30B mixture-of-experts model (30.5B total, 3.3B active, per its model card) plus Qwen3-Coder-Next (80B, 3B active, 52 GB) and a 480B flagship, with nothing smaller than 30B.
Newer general Qwen releases now cover coding too: Qwen3.6 35B-A3B (3B active) and Qwen3.8-27B (dense, text and image input), both Apache 2.0. The Qwen3.8 repository lists no Qwen3.8 model at or below 14B; the newest small Qwen models are the Qwen3.5 sizes from 0.8B to 9B (Ollama).
| Model | Ollama download | Context | Best for |
|---|---|---|---|
| Qwen3.8-27B | 18 GB | 256K | 24 GB GPU or 32 GB Mac: newest, general |
| Qwen3.6 35B-A3B | 23–24 GB | 256K | 32 GB memory: MoE, 3B active |
| Qwen3-Coder-30B-A3B | 19 GB | 256K | 24 GB GPU: coder-tuned MoE |
| Qwen2.5-Coder 14B | 9.0 GB | 32K | 12 GB GPU (RTX 3060 / 4070) |
| Qwen2.5-Coder 7B | 4.7 GB | 32K | 8 GB GPU: autocomplete |
| Qwen3.5 9B | 6.6–7.6 GB | 256K | 8 GB GPU: general + vision |
Pick a Qwen Coding Model by VRAM Tier
24 GB (RTX 3090, RTX 4090) or a Mac with 32 GB or more (macOS reserves about 8 GB): Qwen3.8-27B (qwen3.8:27b, 18 GB). Unsloth lists 16–19 GB of memory for 4-bit, so leave room for context. Choose Qwen3-Coder-30B-A3B (19 GB) if you want a coder-tuned model: only 3.3B parameters are active per token, and its model card documents a tool-calling format for coding agents.
12–16 GB (RTX 3060 12 GB, RTX 4070): Qwen2.5-Coder 14B (9.0 GB). It is a November 2024 model with a 32K context window on Ollama, but it is still the newest dedicated Qwen coder at this size.
8 GB (RTX 3060 8 GB, RTX 4060): Qwen2.5-Coder 7B (4.7 GB) for autocomplete and short functions. Qwen3.5 9B (6.6–7.6 GB) is the alternative if you also want chat and image input.
No GPU: a 7B or smaller model in system RAM works for occasional generation. Speed depends on memory bandwidth, so test it before you rely on it for live autocomplete.
More Parameters Add Little on HumanEval
For Qwen2.5-Coder, moving from 7B to 14B adds 1.2 HumanEval points and from 14B to 32B adds 3.1. The Qwen2.5-Coder technical report (Table 16, instruct models) lists 88.4, 89.6 and 92.7. HumanEval tests short functions and top models nearly saturate it, so it says little about multi-file work.
Newer Qwen releases report agentic benchmarks instead. The Qwen3.8-27B model card lists 61.7 on SWE-bench Pro, 73.0 on Terminal Bench 2.1 and 90.3 on LiveCodeBench v6, against 53.5, 63.4 and 83.9 for Qwen3.6 27B. These are vendor-reported figures, we did not reproduce them, and they are not comparable with the HumanEval numbers above.
No Qwen coder model has a 70B size: Qwen2.5-Coder stops at 32B, and Qwen3-Coder goes from 30B to 80B (52 GB) and 480B (290 GB).
Related Reading
Quick Answers About Qwen Coding Models
Is there a Qwen3-Coder 14B?▾
qwen3-coder:30b (19 GB).Best Qwen model for coding at 8 GB VRAM?▾
ollama pull qwen2.5-coder:7b. Qwen3.5 9B (6.6–7.6 GB) is a general model with image input if you want one model for chat and code.Best Qwen coding model at 12–16 GB VRAM?▾
ollama pull qwen2.5-coder:14b. We found no newer dedicated Qwen coder at this size.Best Qwen model for coding at 24 GB VRAM?▾
qwen3.8:27b) is the newest option; Qwen3-Coder-30B-A3B (19 GB, qwen3-coder:30b) is the coder-tuned alternative with only 3.3B active parameters. Try both on your own repository.Is Qwen2.5-Coder 32B still worth running?▾
What quantization level should I use?▾
Can I use these models with Continue.dev or Cline?▾
qwen3-coder:30b, qwen2.5-coder:14b or the size you chose in the Continue.dev config or Cline settings.Qwen Coder or DeepSeek Coder?▾
Want the full breakdown?
Read the complete guide →