Run Qwen3-Coder Locally: 30B-A3B, 80B and the 480B Question
Qwen3-Coder has no small size. The 30B-A3B fits a 24 GB card (`ollama run qwen3-coder:30b`). The 80B-A3B (Qwen3-Coder-Next), the best coder most people can self-host, wants two 24 GB cards or a 96 GB+ Mac, or one 24 GB card plus 64 GB of RAM via llama.cpp expert offload. The 480B-A35B is for an API. All are Apache 2.0.
Written by Jakub Rusinowski · Last updated August 4, 2026 · Hardware figures computed by our VRAM engine
Qwen3-Coder is the family this hub recommends more than any other, for one reason: it's the strongest dedicated open coding line you can actually download — the 480B flagship set the open state of the art on SWE-bench Verified (69.6%), and the smaller sizes inherit its training. Apache 2.0 across the board and fill-in-the-middle support for autocomplete.
There is no 8B: the smallest is the 30B-A3B, so on an 8–16 GB card see the picks by memory tier. From 24 GB up, "can I run it?" has three answers:
The three sizes, honestly
Q4_K_M figures from our compute engine. The 80B-A3B row shows the all-in-VRAM (fastest) case — see the offload section below.
| Model | VRAM (Q4) | Runs on | Context | License |
|---|---|---|---|---|
| Qwen3-Coder 30B-A3B (MoE) The one a 24 GB card runs 3.3B active per token, so far faster than a dense model its size; FIM-tuned for autocomplete too. ollama pull qwen3-coder:30b | 19.2 GB | 24 GB GPU (RTX 3090/4090) Mac: 32 GB unified | 256K | Apache-2.0 |
| Qwen3-Coder-Next (80B-A3B MoE) The self-hosting prize Qwen3-Coder-Next: still 3B active, so fast once it fits. | 49.1 GB | 2×48 GB GPUs / big unified memory Mac: 96 GB unified | 256K | Apache-2.0 |
| Qwen3-Coder 480B-A35B (MoE) The API model Open SoTA at release; datacenter hardware or a hosted endpoint. ollama pull qwen3-coder:480b | 290.6 GB | Multi-GPU server — or use an API Mac: 512 GB unified | 256K | Apache-2.0 |
Getting started in two commands
With Ollama installed:
ollama pull qwen3-coder:30b
ollama run qwen3-coder:30b "refactor this to use a context manager: ..."
For the 80B-A3B there is no Ollama tag we could verify; serve Qwen's GGUF with llama.cpp:
llama-server -hf Qwen/Qwen3-Coder-Next-GGUF:Q4_K_M --jinja --ctx-size 32768 --port 8080
Then wire it into VS Code with Continue or Cline — the end-to-end setup guide covers the config. For agent work, raise the context window (16K minimum) as described there; Qwen3-Coder supports long contexts, but your KV-cache VRAM is the real ceiling — model your exact card + context in the checker.
The expert-offload trick: 80B-A3B on one GPU
Only ~3B parameters activate per token, so llama.cpp can keep everything but the expert weights in VRAM: add -ngl 99 --cpu-moe to the command above. VRAM plus RAM must still hold every weight, so a 24 GB card with 64 GB of system RAM is the floor. Slower than all-in-VRAM, far better than anything else that card holds. When it's worth it: delegated tasks where you fire an Aider/Cline job and review the result. When it isn't: interactive autocomplete — keep the 30B-A3B or a small dedicated model for that. It's why we list system RAM as a real spec, not an afterthought.
Which size should you run?
- 8–16 GB card / 16 GB Mac → no Qwen3-Coder fits; use the memory-tier picks above.
- 24 GB card / 32 GB+ Mac → the 30B-A3B, and honestly consider Qwen 3.6 27B or Devstral Small 2 24B for chat/agent work.
- 24 GB card + 64 GB RAM → try the 80B-A3B with expert offload for delegated tasks. It costs nothing but disk space to test.
- 2×24 GB / 96 GB+ Mac → 80B-A3B all-in-VRAM. This is the best local coding experience currently attainable without a server room.
- Need the 480B → hosted endpoints (see the cloud directory) — same weights, same Apache 2.0, someone else's data centre.
Hardware that fits the family
A 24 GB card is the entry ticket; the 80B-A3B all-in-VRAM is why they get bought in pairs. If you’re specifying a machine around this line:
No hardware? Rent the GPU first
Want to feel the 80B-A3B before committing to hardware? Rent a 48 GB+ instance for an hour and run it all-in-VRAM.
- RunPod — RTX 4090 ≈ $0.3–0.7/hr, A100/H100 by the hour; serverless per-second billing available
- Vast.ai — Marketplace of hosted GPUs — often the cheapest per hour (interruptible options)
- Lambda — On-demand A100/H100/B200 instances and clusters, per-hour billing
Affiliate links — we may earn a commission if you sign up, at no extra cost to you.
Full list on the cloud AI directory.
Frequently asked questions
What hardware do I need to run Qwen3-Coder?
At least a 24 GB GPU or a 32 GB Mac for the 30B-A3B. The 80B-A3B: two 24 GB GPUs or a 96 GB+ Mac, or one 24 GB card plus 64 GB of RAM with expert offload. The 480B-A35B: multi-GPU servers or an API. The table gives each size’s memory.
Is there a Qwen3-Coder 8B?
No. Qwen3-Coder ships at 30B-A3B and 480B-A35B, Qwen3-Coder-Next at 80B-A3B; an "8B" download is a different model.
Can Qwen3-Coder be used commercially?
Yes — the whole family ships under Apache 2.0, with no non-production restrictions (unlike Codestral’s MNPL). You can run it for client work, inside a company, or embedded in a product.
Does Qwen3-Coder work for autocomplete (FIM)?
Yes — the family is FIM-trained, and with 3.3B active the 30B-A3B is fast enough on a 24 GB card for autocomplete in Continue. On smaller cards, use StarCoder2 3B.