How much VRAM Qwen3-Coder 30B-A3B (MoE) needs, and what it costs to run
Some links on this page are referral links: we may earn a commission, at no cost to you.
Trying to decide what to buy? The best GPU for Qwen3-Coder 30B-A3B (MoE) ↓ · Got a card already? See what your PC can run →
Cheapest way to rent it right now
$0.05/hr
NVIDIA RTX A4000 · Q2_K · spot · ≈ $13/mo at 8h/day
Live price captured Thu, 12 Nov 2026 22:20:09 GMT.It never changes which card is cheapest.
Memory needed, by quantisation
At 16k context. Weights + KV cache + ~0.8 GB overhead. Memory is in binary GB (1,024³ bytes), the unit GPU memory is sold in; Hugging Face and Ollama list downloads in decimal GB, about 7% more.
| Quant | Weights | KV cache | Total | Quality |
|---|---|---|---|---|
| F16 | 56.9 GB | 1.5 GB | 59.2 GB | Full precision. Reference quality, twice the size of Q8 for no practical gain in most chat use. |
| Q8_0 | 30.2 GB | 1.5 GB | 32.5 GB | Effectively lossless. Use when VRAM is not the constraint. |
| Q6_K | 23.3 GB | 1.5 GB | 25.6 GB | Very close to Q8 at meaningfully less memory. A safe high-quality pick. |
| Q5_K_M | 20.2 GB | 1.5 GB | 22.5 GB | Small, hard-to-notice quality loss. Good balance. |
| Q5_0 | 19.7 GB | 1.5 GB | 22.0 GB | Older-style 5-bit. Q5_K_M is usually the better pick at the same size. |
| Q4_K_M | 17.2 GB | 1.5 GB | 19.5 GB | The community default. Best quality-per-gigabyte for most people. |
| Q4_0 | 16.2 GB | 1.5 GB | 18.5 GB | Older-style 4-bit, measurably worse than Q4_K_M at a similar size. Avoid unless required. |
| IQ4_XS | 15.1 GB | 1.5 GB | 17.4 GB | Newer 4-bit, smaller than Q4_K_M with comparable quality. Needs a recent llama.cpp. |
| Q3_K_M | 13.9 GB | 1.5 GB | 16.2 GB | Noticeable degradation. Use to fit a larger model that would otherwise not run. |
| Q2_K | 11.9 GB | 1.5 GB | 14.2 GB | Heavy degradation. Almost always better to run a smaller model at Q4_K_M instead. |
| IQ3_XS | 11.7 GB | 1.5 GB | 14.0 GB | Aggressive. Usually better than a smaller model at Q4, but test before trusting it. |
Cards that can run it
Best quantisation each card fits at 16k context, with live rental price where we track one.
The best GPU for Qwen3-Coder 30B-A3B (MoE)
Ranked from live rental prices and computed VRAM fit, not opinion. Every card is judged at Q4_K_M with a 8K context, so the comparison is fair; a card that could only run a crushed version isn't listed.
Best value
NVIDIA GeForce RTX 3090
Best throughput per dollar among cards that fit.
Cheapest that runs it
NVIDIA GeForce RTX 3090
Lowest hourly rental that fits it — $0.080/hr, Q4_K_M.
No compromise
—
Most headroom and highest throughput.
Every card that runs it, ranked
Sorted by tokens/sec per rental dollar. Throughput is a bandwidth-derived estimate.
| GPU | VRAM | VRAM used | ~tok/s | Cheapest rental | tok/s per $ |
|---|---|---|---|---|---|
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | 96 GB | 19 GB20% | — | $0.533 | — |
| NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition | 96 GB | 19 GB20% | — | $0.333 | — |
| NVIDIA RTX 6000 Ada Generation | 48 GB | 19 GB39% | — | $0.200 | — |
| NVIDIA RTX PRO 5000 Blackwell | 48 GB | 19 GB39% | — | $0.160 | — |
| NVIDIA RTX A6000 | 48 GB | 19 GB39% | — | $0.301 | — |
| AMD Radeon PRO W7900 | 48 GB | 19 GB39% | — | — | — |
| NVIDIA RTX PRO 4500 Blackwell | 32 GB | 19 GB59% | — | $0.267 | — |
| NVIDIA GeForce RTX 5090 | 32 GB | 19 GB59% | — | $0.200 | — |
| NVIDIA RTX 5000 Ada Generation | 32 GB | 19 GB59% | — | $0.265 | — |
| NVIDIA GeForce RTX 3090 Ti | 24 GB | 19 GB78% | — | $0.133 | — |
| AMD Radeon RX 7900 XTX | 24 GB | 19 GB78% | — | — | — |
| NVIDIA RTX PRO 4000 Blackwell | 24 GB | 19 GB78% | — | $0.133 | — |
The value column ranks renting, because that's what we can price precisely (prices captured Thu, 12 Nov 2026 22:20:09 UTC). Buying a card? The fit and throughput columns are what you need; we don't publish a purchase-price ranking because we don't hold verified street prices. Tokens/sec is an estimate, not a benchmark. This mixture-of-experts model has no known active-parameter count, so throughput is left out rather than guessed. Got a card already? See everything your PC can run.
qwen3-coder-30b-a3bHow these numbers are produced
- Model shape comes from the model's own config.json — 48 layers, 32 attention heads, 4 KV heads.
- Weight size is parameters × effective bits-per-weight. Those constants are checked against real published quantised file sizes — median error 0.7% across 40 measurements.
- KV cache is 2 × layers × KV-heads × head-dim × context × 2 bytes. Using KV-heads rather than attention heads is what makes this correct for grouped-query attention; treating a GQA model as multi-head overstates the cache by up to 8×.
- Tokens/sec is an estimate, not a benchmark. Generation is memory-bandwidth-bound, so this is bandwidth ÷ weight-bytes derated to 75%. Real throughput depends on your runtime, batch size and kernels. We don't run our own hardware tests — see our editorial policy.
- This is a mixture-of-experts model. Generation reads only the experts active for each token (8 of 128), so throughput is scored on active parameters, not the full 31B. Memory is the opposite: every expert must still be resident in VRAM, so the figures above use the full weight set.Derived from architecture (config.json); MoE routes ~3.3B active params per token.
- Some memory-bandwidth figures are not yet independently verified.Where that's the case we show no tokens/sec at all rather than a number we can't stand behind.
- Rental prices are pulled hourly from provider APIs (last updated Thu, 12 Nov 2026 22:20:09 GMT). Spot/interruptible pricing can change or vanish without notice.
Try it interactively
Drag the context slider and watch the KV cache fill the card
Running Qwen3-Coder 30B-A3B (MoE): common questions
How much VRAM do you need to run Qwen3-Coder 30B-A3B (MoE)?
Can an RTX 4090 run Qwen3-Coder 30B-A3B (MoE)?
Can an RTX 3090 run Qwen3-Coder 30B-A3B (MoE)?
Can an RTX 4060 Ti 16GB run Qwen3-Coder 30B-A3B (MoE)?
What's the cheapest way to run Qwen3-Coder 30B-A3B (MoE)?
Worth reading before you buy
Can free Qwen3-Coder replace GitHub Copilot? Mostly, with one catch
A local Qwen3-Coder can take over Copilot's chat and agent work for $0 a month and keep your code on your machine. Tab autocomplete is the catch. What Copilot costs since its June 2026 billing change, what GPU the local route needs, and who should keep paying.
How much VRAM do you need to run Qwen3-Coder? 24 GB for the 30B, 48 GB for Next, a server for the 480B
Qwen3-Coder comes in three sizes, not five. The 30B-A3B is a 19 GB download and fits a 24 GB card, Qwen3-Coder-Next (80B) needs about 48 GB, and the 480B flagship is a 290 GB server model. Exact sizes from Ollama and Hugging Face, how much context adds, and what to do on 8 to 16 GB.
Cheapest RTX 4090 rental
Live per-hour 4090 prices on Vast and Runpod, the spot-vs-on-demand lever, and what a 24 GB card actually runs — the rent-a-card answer for everything in the 14B–32B class.
How much VRAM do you need?
About 0.57 GB per billion parameters at 4-bit, plus room for context: the rule behind the numbers on this page, with worked examples.