Qwen3-Coder vs Devstral Small 2
Qwen3-Coder and Devstral Small 2 side by side: model sizes, the VRAM you need, context window, abilities, licence and which one to pick.
Side by side
| Qwen3-Coder | Devstral Small 2 | |
|---|---|---|
| Type | Model in the Qwen Coder family | Model in the Devstral family |
| Developer | Alibaba Cloud (Qwen team) | Mistral AI |
| Released | Jul 2025 | Dec 2025 |
| Parameters | 30B (3B active), 480B (35B active) | 24B |
| Sizes | 30B · 480B | 24B |
| Smallest VRAM (4-bit) | ~21.5 GB | ~17 GB |
| Context window | 256K tokens | 384K tokens |
| Abilities | Tool calling | Tool callingImage input |
| Licence | Apache 2.0 | Apache 2.0 |
| Run it | ollama run qwen3-coder:30b | ollama run devstral-small-2:24b |
Which one should you pick?
- Devstral Small 2 runs on smaller hardware: from ~17 GB of GPU memory, against ~21.5 GB.
- Devstral Small 2 reads longer inputs: a 384K-token context window.
- Only Devstral Small 2 has image input.
Pick Qwen3-Coder if…
- your tools or fine-tunes already target it (released Jul 2025, so support is mature)
Best for: Fast MoE coder that fits a 24 GB GPU
Pick Devstral Small 2 if…
- you have less GPU memory (it starts at 17 GB)
- you need longer inputs (384K tokens)
- you need image input
- you want the newer model (Dec 2025)
Best for: Coding agent on one GPU, image input, 384K context
VRAM and download size
Ollama's default 4-bit builds with an 8K context. Read GB as system RAM on a CPU-only machine or a Mac.
Qwen3-Coder
| Model | Download | VRAM |
|---|---|---|
| 30B | 19 GB | ~21.5 GB |
| 480B | 290 GB | ~319.5 GB |
Devstral Small 2
| Model | Download | VRAM |
|---|---|---|
| 24B | 15 GB | ~17 GB |
Frequently asked questions
Is Qwen3-Coder better than Devstral Small 2?
It depends on the job and your hardware. Devstral Small 2 runs on smaller hardware: from ~17 GB of GPU memory, against ~21.5 GB. Devstral Small 2 reads longer inputs: a 384K-token context window. Only Devstral Small 2 has image input. For quality, test both on your own prompts: benchmark rankings change with every release.
Which needs less VRAM, Qwen3-Coder or Devstral Small 2?
Qwen3-Coder starts at ~21.5 GB (19 GB download). Devstral Small 2 starts at ~17 GB (15 GB download).
Can I use Qwen3-Coder and Devstral Small 2 commercially?
Qwen3-Coder: Apache 2.0. Devstral Small 2: Apache 2.0. Check the exact licence of the model you deploy; custom licences can limit very large companies or certain uses.
More comparisons
- Qwen vs Llama
- DeepSeek vs Qwen
- Gemma vs Llama
- gpt-oss vs Qwen
- Kimi vs DeepSeek
- GLM vs Qwen
- Mistral vs Llama
- Qwen Coder vs Devstral
- Claude vs GPT
- Claude vs Gemini
- Gemini vs GPT
- Phi vs Gemma
- Nemotron vs Qwen
- Llama 3.1 vs Llama 4
- Gemma 3 vs Gemma 4
- Qwen3 vs Qwen3.5
- Qwen3.6 vs Qwen3.8
- Gemma 4 vs Qwen3.5
- DeepSeek-R1 vs Qwen3
- gpt-oss vs Qwen3.8
- Muse Glimmer vs Qwen3.8
