Qwen Open Source AI Model Guide 2026: Qwen 2.5 vs 3 vs 3.1
Qwen naming is confusing: Qwen2.5, Qwen3, Qwen2.5-Coder, Qwen2.5-VL and Qwen3-Coder are separate branches, not versions. This guide covers what each line is for, how much VRAM it needs, three deployment paths, and how to choose.
📜 Table of Contents
📖 Keep reading
Qwen Open Source Model Guide 2026: Choosing Among Four Product Lines
Qwen, from Alibaba's Tongyi team, is one of the strongest open model families for Chinese. The hard part is naming: Qwen2.5, Qwen3, Qwen2.5-Coder, Qwen2.5-VL and Qwen3-Coder are four branches serving different jobs, not one version line.
The family
Qwen2.5 covers general text and tool calling from 0.5B to 72B. Qwen3 adds a switchable thinking mode, with dense models from 0.6B to 32B plus 30B-A3B and 235B-A22B MoE variants. Qwen2.5-Coder targets code from 0.5B to 32B. Qwen2.5-VL handles images, documents and video. Qwen3-Coder targets repository-level agent work at 30B-A3B and 480B-A35B. Most are Apache 2.0, but check each model card - some sizes carry research licenses.
What Qwen3 adds
Hybrid reasoning: one model can answer directly or think first. Thinking helps math, code and multi-step reasoning, at several times the output tokens. MoE means 30B total with about 3B active per token, so you get quality well above a 3B dense model at near-3B inference cost. Native context is 32K, extendable with YaRN, but long context costs KV cache memory.
VRAM at Q4
4B needs roughly 2.5GB of weights and 6GB of VRAM; 8B about 5GB and 8GB; 14B about 9GB and 12GB; 32B about 19GB and 24GB; 30B-A3B about 18GB and 24GB. These are estimates - quantization scheme, context length and concurrency all move the number.
Three ways to run it
Ollama is fastest to try: ollama run qwen3:8b. vLLM is for throughput: vllm serve Qwen/Qwen3-8B --max-model-len 32768. llama.cpp with GGUF weights runs on CPU and older GPUs. All three expose an OpenAI-compatible endpoint, so client code is identical.
Choosing
8GB VRAM means 8B or 4B. For code, use Qwen2.5-Coder 7B/14B, or Qwen3-Coder 30B-A3B if you have the memory. For screenshots and scanned PDFs, use Qwen2.5-VL. For serving traffic, 30B-A3B on vLLM.
FAQ
New projects should start on Qwen3; stable Qwen2.5 pipelines do not need to upgrade without an A/B test. Commercial use is allowed for Apache 2.0 sizes only. Ollama's short names and Hugging Face's repo names are the same weights in different packaging. Benchmark your own 50 samples rather than trusting leaderboards.
Model sizes, VRAM use and licenses change; check the Hugging Face model cards and official docs.
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.