Skip to main content
PromptQuorumBuilt for humans. Structured for AI.

Best Qwen Model for Coding?

By · 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`
Best Qwen Model for Coding?

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
Model ComparisonsIntermediate

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).

ModelOllama downloadContextBest for
Qwen3.8-27B18 GB256K24 GB GPU or 32 GB Mac: newest, general
Qwen3.6 35B-A3B23–24 GB256K32 GB memory: MoE, 3B active
Qwen3-Coder-30B-A3B19 GB256K24 GB GPU: coder-tuned MoE
Qwen2.5-Coder 14B9.0 GB32K12 GB GPU (RTX 3060 / 4070)
Qwen2.5-Coder 7B4.7 GB32K8 GB GPU: autocomplete
Qwen3.5 9B6.6–7.6 GB256K8 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?▾
No. Qwen3-Coder is published as a 30B-A3B mixture-of-experts model (30.5B total, 3.3B active) an 80B-A3B Coder-Next model (52 GB) and a 480B-A35B flagship. The 7B, 14B and 32B Coder sizes belong to Qwen2.5-Coder. The Ollama tag for the 30B model is qwen3-coder:30b (19 GB).
Best Qwen model for coding at 8 GB VRAM?▾
Qwen2.5-Coder 7B: a 4.7 GB download with 88.4 HumanEval in the technical report. 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?▾
Qwen2.5-Coder 14B: a 9.0 GB download with 89.6 HumanEval. 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 (18 GB, 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?▾
It is a 20 GB download with a 32K context window on Ollama and 92.7 HumanEval. On a 24 GB card, Qwen3.8-27B (18 GB, 256K context) is newer, but Qwen has not benchmarked the two head to head. Test both, and keep the 32B if your tooling is already tuned to it.
What quantization level should I use?▾
Q4_K_M is a common default: about a third of the FP16 file size with a modest quality loss. Use Q8_0 only if you have spare VRAM and want maximum accuracy.
Can I use these models with Continue.dev or Cline?▾
Yes. Both support Ollama backends. Set the model to 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?▾
Qwen has the newer local coding models. For the like-for-like comparison on a 12 GB GPU, read Qwen Coder vs DeepSeek Coder.
MCP