What it costs to run Qwen3 30B-A3B (MoE)
30.5B paramsMoE · 128 experts, 8 active40k max contextapache-2.0
Memory needed, by quantisation
At 16k context. Weights + KV cache + ~0.8 GB overhead.
| Quant | Weights | KV cache | Total | Quality |
|---|---|---|---|---|
| F16 | 56.9 GB | 0.8 GB | 58.4 GB | Full precision. Reference quality, twice the size of Q8 for no practical gain in most chat use. |
| Q8_0 | 30.2 GB | 0.8 GB | 31.7 GB | Effectively lossless. Use when VRAM is not the constraint. |
| Q6_K | 23.3 GB | 0.8 GB | 24.8 GB | Very close to Q8 at meaningfully less memory. A safe high-quality pick. |
| Q5_K_M | 20.2 GB | 0.8 GB | 21.7 GB | Small, hard-to-notice quality loss. Good balance. |
| Q5_0 | 19.7 GB | 0.8 GB | 21.2 GB | Older-style 5-bit. Q5_K_M is usually the better pick at the same size. |
| Q4_K_M | 17.2 GB | 0.8 GB | 18.8 GB | The community default. Best quality-per-gigabyte for most people. |
| Q4_0 | 16.2 GB | 0.8 GB | 17.7 GB | Older-style 4-bit, measurably worse than Q4_K_M at a similar size. Avoid unless required. |
| IQ4_XS | 15.1 GB | 0.8 GB | 16.6 GB | Newer 4-bit, smaller than Q4_K_M with comparable quality. Needs a recent llama.cpp. |
| Q3_K_M | 13.9 GB | 0.8 GB | 15.4 GB | Noticeable degradation. Use to fit a larger model that would otherwise not run. |
| Q2_K | 11.9 GB | 0.8 GB | 13.4 GB | Heavy degradation. Almost always better to run a smaller model at Q4_K_M instead. |
| IQ3_XS | 11.7 GB | 0.8 GB | 13.3 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.
| GPU | VRAM | Best fit | Uses | ~tok/s | Rent from |
|---|---|---|---|---|---|
| Apple M3 Ultra | 512 GB | F16 | 58 GB | ~92 | — |
| Apple M2 Ultra | 192 GB | F16 | 58 GB | ~92 | — |
| Apple M4 Max (16-core CPU / 40-core GPU) | 128 GB | F16 | 58 GB | ~61 | — |
| AMD Ryzen AI Max+ 395 (Strix Halo, 128 GB) | 128 GB | F16 | 58 GB | ~29 | — |
| NVIDIA DGX Spark (GB10 Grace Blackwell) | 128 GB | F16 | 58 GB | ~31 | — |
| NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition | 96 GB | F16 | 58 GB | ~201 | $1.690/hr |
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | 96 GB | F16 | 58 GB | ~201 | — |
| Apple M2 Max | 96 GB | F16 | 58 GB | ~45 | — |
| Apple M4 Pro | 64 GB | F16tight | 58 GB | ~31 | — |
| NVIDIA RTX 6000 Ada Generation | 48 GB | Q8_0 | 32 GB | ~203 | $0.428/hr |
| NVIDIA RTX A6000 | 48 GB | Q8_0 | 32 GB | ~162 | $0.330/hr |
| AMD Radeon PRO W7900 | 48 GB | Q8_0 | 32 GB | ~183 | — |
| Apple M4 Max (14-core CPU / 32-core GPU) | 36 GB | Q8_0 | 32 GB | ~87 | — |
| NVIDIA RTX 5000 Ada Generation | 32 GB | Q8_0tight | 32 GB | ~122 | $0.490/hr |
| NVIDIA GeForce RTX 5090 | 32 GB | Q8_0tight | 32 GB | ~379 | $0.058/hr |
| NVIDIA RTX A5000 | 24 GB | Q5_K_Mtight | 22 GB | ~243 | $0.160/hr |
| NVIDIA GeForce RTX 4090 | 24 GB | Q5_K_Mtight | 22 GB | ~319 | $0.136/hr |
| NVIDIA GeForce RTX 3090 Ti | 24 GB | Q5_K_Mtight | 22 GB | ~319 | $0.116/hr |
| AMD Radeon RX 7900 XTX | 24 GB | Q5_K_Mtight | 22 GB | ~304 | — |
| NVIDIA GeForce RTX 3090 | 24 GB | Q5_K_Mtight | 22 GB | ~296 | — |
| AMD Radeon RX 7900 XT | 20 GB | Q4_K_Mtight | 19 GB | ~296 | — |
| NVIDIA GeForce RTX 5080 | 16 GB | Q3_K_Mtight | 15 GB | ~441 | $0.190/hr |
| NVIDIA RTX A4000 | 16 GB | Q3_K_Mtight | 15 GB | ~206 | $0.170/hr |
| NVIDIA GeForce RTX 5060 Ti 16GB | 16 GB | Q3_K_Mtight | 15 GB | ~206 | $0.083/hr |
| NVIDIA GeForce RTX 5070 Ti | 16 GB | Q3_K_Mtight | 15 GB | ~412 | $0.096/hr |
| NVIDIA GeForce RTX 4080 SUPER | 16 GB | Q3_K_Mtight | 15 GB | ~338 | $0.134/hr |
| NVIDIA GeForce RTX 4080 | 16 GB | Q3_K_Mtight | 15 GB | ~329 | — |
| NVIDIA GeForce RTX 4070 Ti SUPER | 16 GB | Q3_K_Mtight | 15 GB | ~309 | $0.190/hr |
| NVIDIA GeForce RTX 4060 Ti 16GB | 16 GB | Q3_K_Mtight | 15 GB | ~132 | — |
How 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 ~3.3B 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; matches the vendor-published active count within 1%.
- Rental prices are pulled hourly from provider APIs (last updated Tue, 21 Jul 2026 15:20:05 GMT). Spot/interruptible pricing can change or vanish without notice.