qwen3-coder
SupportedA 30B mixture-of-experts coder that only fires 3.3B parameters per token. Native tool calling, 256K of context, Apache 2.0. It's the best local model we've found for writing SQL against a real schema.
ollama pull qwen3-coder- Full name
- Qwen3-Coder-30B-A3B-Instruct
- Ollama tag
- qwen3-coder (same as :30b)
- Architecture
- Mixture of Experts
- Parameters
- 30.5B total, 3.3B active per token
- Experts
- 128, with 8 active per token
- Layers
- 48
- Context window
- 262,144 tokens
- Quantization
- Q4_K_M
- Download size
- ~19 GB (17.3 GiB)
- Tool calling
- Native, parsed by Ollama
- Thinking mode
- None. Instruct only
- License
- Apache 2.0
- Released
- July 2025
Where it falls short
In our testing the model doesn't cope well with a dead end. When it can't find the right answer it keeps going, and starts making things up rather than stopping. You'll see it most with Auto Run on and AI Read Access off. The query runs, but the model never gets the results back, so it has no way of knowing whether anything worked. Instead of stopping to ask you, it writes another query. Then another. We're working on it.