Qwen3-Coder-30B-A3B-Instruct
Qwen3-Coder-30B-A3B-Instruct by Alibaba Qwen (30.5B parameters, MoE with 3.3B active per token). At Q4_K_M with an 8K context it needs about 19.3 GiB of memory. The coding version of Qwen3-30B-A3B (3.3B active): a fast local coding assistant on a 20–24 GB card, with a 256K context and fill-in-the-middle completion.
Last updated: 2026-10-13
Model facts
Run it
ollama run qwen3-coder:30b
Memory needed
Weights + KV cache + runtime overhead, in GiB. Lower quantization = less memory, slightly lower quality.
| Quantization | 4K context | 8K context | 32K context |
|---|---|---|---|
| Q4_K_M | 19.0 GiB | 19.3 GiB | 21.6 GiB |
| Q5_K_M | 22.1 GiB | 22.5 GiB | 24.7 GiB |
| Q6_K | 25.4 GiB | 25.8 GiB | 28.1 GiB |
| Q8_0 | 32.6 GiB | 32.9 GiB | 35.2 GiB |
| FP16 | 60.5 GiB | 60.9 GiB | 63.2 GiB |
Which hardware runs it
Best quantization that fits each device with a 8K context. Estimates, not benchmarks. See the methodology.
Frequently asked questions
How much VRAM does Qwen3-Coder-30B-A3B-Instruct need?
With an 8K context, about 19.3 GiB at Q4_K_M and 32.9 GiB at Q8_0 (weights + KV cache + runtime overhead). Longer contexts need more memory for the KV cache.
Can Qwen3-Coder-30B-A3B-Instruct run on an GeForce RTX 4090?
Yes. Qwen3-Coder-30B-A3B-Instruct fits on the GeForce RTX 4090 (24 GB) at Q5_K_M with an 8K context, using about 22.5 GiB, at an estimated 301 tokens/s.
Can I run Qwen3-Coder-30B-A3B-Instruct on a Mac?
Yes. Qwen3-Coder-30B-A3B-Instruct fits on the M3 Ultra (96 GB) at FP16 with an 8K context, using about 60.9 GiB, at an estimated 81 tokens/s.
Can Qwen3-Coder-30B-A3B-Instruct be used commercially?
Qwen3-Coder-30B-A3B-Instruct is released under Apache-2.0. The licence allows commercial use (read its conditions).
Sources
- https://simonwillison.net/2025/Jul/31/qwen3-coder-flash/
- https://huggingface.co/Qwen/Qwen3-Coder-30B-A3B-Instruct/blob/main/LICENSE
- https://huggingface.co/Qwen/Qwen3-Coder-30B-A3B-Instruct
- https://huggingface.co/Qwen/Qwen3-Coder-30B-A3B-Instruct/resolve/main/config.json
- https://huggingface.co/api/models/Qwen/Qwen3-Coder-30B-A3B-Instruct?expand[]=safetensors
- https://ollama.com/library/qwen3-coder/tags