Advisor / Models / Qwen3-Coder 30B-A3B

Qwen3-Coder 30B-A3B: VRAM requirements & speed

Qwen3-Coder 30B-A3B (30.53B MoE, 3.3B active, apache-2.0). Native context 256k, 1M with YaRN. Smallest GGUF: 18.56 GB.

18.56 GBsmallest quant file
22hardware pages that fit it fully
8run with offload
7measured data points

Memory needed by quantization and context

GGUF file size plus f16 KV cache (and fixed overhead of ~1 GB per GPU not shown). Source: unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF.

QuantFile+8k ctx+32k ctx+128k ctx+256k ctx+1M ctx
Q4_K_M18.56 GB19.4 GB21.8 GB31.4 GB44.3 GB116.9 GB
Q5_K_M21.73 GB22.5 GB25.0 GB34.6 GB47.5 GB120.0 GB
Q6_K25.09 GB25.9 GB28.3 GB38.0 GB50.9 GB123.4 GB
Q8_032.48 GB33.3 GB35.7 GB45.4 GB58.2 GB130.8 GB

KV cache size by context length

Computed from the model's attention layout.

Contextf16q8_0q4_0
8k0.81 GB0.43 GB0.23 GB
32k3.22 GB1.71 GB0.91 GB
128k12.88 GB6.85 GB3.62 GB
256k25.77 GB13.69 GB7.25 GB
1M YaRN98.30 GB52.22 GB27.65 GB

Which hardware runs Qwen3-Coder 30B-A3B? · 16k context

HardwareQuantFitMemoryTok/sSpeed source
RTX PRO 6000 96GB AmazonQ8_0fits fully34.1 GB276measured
RTX 4090 24GB AmazonQ4_K_Mfits fully20.2 GB266measured
RTX 5090 32GB AmazonQ6_Kfits fully26.7 GB256scaled from measured
AMD RX 7900 XTX 24GB AmazonQ4_K_Mfits fully20.2 GB219estimated
RTX 3090 24GB AmazonQ4_K_Mfits fully20.2 GB206measured
2x RTX 3090 (48GB total) AmazonQ8_0fits fully34.1 GB138estimated
Mac Studio M5 Ultra 256GBQ8_0fits fully34.1 GB125scaled from measured
Mac Studio M5 Ultra 512GB (orderable since Oct 28 2026)Q8_0fits fully34.1 GB125scaled from measured
RTX 5080 16GBQ4_K_MMoE offload to CPU20.2 GB81estimated
RTX 5070 Ti 16GBQ4_K_MMoE offload to CPU20.2 GB80estimated
RTX 5060 Ti 16GBQ4_K_MMoE offload to CPU20.2 GB71estimated
Mac Studio (2025) M3 Ultra 96GB AmazonQ8_0fits fully34.1 GB70estimated
Mac Studio M5 Max 128GB AmazonQ8_0fits fully34.1 GB65scaled from measured
MacBook Pro 14/16 M5 Max 128GB AmazonQ8_0fits fully34.1 GB65scaled from measured
16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM)Q4_K_MMoE offload to CPU20.2 GB63estimated
NVIDIA DGX Spark 128GB AmazonQ8_0fits fully34.1 GB61measured
NVIDIA DGX Spark 64GB AmazonQ8_0fits fully34.1 GB61measured
MacBook Pro 14/16 M5 Pro 48GB AmazonQ6_Kfits fully26.7 GB59estimated
MacBook Pro 14/16 (2024) M4 Max 128GB AmazonQ8_0fits fully34.1 GB55estimated
AMD Ryzen AI Max+ 395 (Strix Halo) 128GB AmazonQ8_0fits fully34.1 GB55scaled from measured
NVIDIA RTX Spark N1X 128GBQ8_0fits fully34.1 GB53estimated
AMD Ryzen AI Max+ PRO 495 (Ryzen AI Halo) 192GBQ8_0fits fully34.1 GB48estimated
RTX 5070 12GBQ4_K_MMoE offload to CPU20.2 GB48estimated
RTX 4070 12GBQ4_K_MMoE offload to CPU20.2 GB47estimated
Mac mini M6 32GB AmazonQ4_K_Mfits fully20.2 GB42estimated
MacBook Pro 14 M6 32GB AmazonQ4_K_Mfits fully20.2 GB42estimated
MacBook Air M5 32GB AmazonQ4_K_Mfits fully20.2 GB38estimated
8GB VRAM class (RTX 4060 8GB, 32GB RAM)Q4_K_MMoE offload to CPU20.2 GB35estimated
Mac mini (2024) M4 Pro 64GB AmazonQ8_0fits fully34.1 GB34estimated
RTX 3060 12GB (32GB RAM)Q4_K_MMoE offload to CPU20.2 GB28estimated
Mac mini / iMac M4 16GB-does not fit--

Discrete GPUs are modelled with 32 GB of system RAM available for offload. Does not fit even with offload: Mac mini / iMac M4 16GB. Rent instead: Vast.ai / RunPod. We may earn a referral credit if you sign up through these links.

MLX conversions for Apple Silicon

RepoBitsSizeRuns with
mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bit4-bit (4bit)17.2 GBmlx-lm
mlx-community/Qwen3-Coder-30B-A3B-Instruct-8bit8-bit (8bit)32.4 GBmlx-lm

Verified via the Hugging Face API on 2026-11-30. Compare with the GGUF sizes above (Q4_K_M 18.56 GB, Q8_0 32.48 GB). Mac hardware pages show the MLX command; there are no MLX speeds on this site yet. MLX vs GGUF.

Links

Model card · GGUF files · Open in the advisor · last verified 2026-11-30

Can it run? Qwen3-Coder 30B-A3B on: RTX 4090 24GB · RTX 3090 24GB · RTX 5090 32GB (all pairs)

FAQ

How much VRAM does Qwen3-Coder 30B-A3B need?

The smallest quant (Q4_K_M) is 18.56 GB, so you need roughly 20 GB for an 8k context including KV cache and overhead. At 1M context the f16 KV cache alone is 98.3 GB.

Can I run Qwen3-Coder 30B-A3B on a RTX PRO 6000 96GB?

Yes: on RTX PRO 6000 96GB it fits fully as Q8_0 at about 276 tok/s (measured). 22 of 31 hardware configurations fit it fully at 16k context.

What is the maximum context for Qwen3-Coder 30B-A3B?

256k tokens natively, up to 1M with YaRN as documented on the model card. Memory, not the model, is usually the limit: see the KV cache table above.

All models: model index · by memory: 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 64 GB · 96 GB · 128 GB · 192 GB · 256 GB · 512 GB. Numbers use the same fit math as the advisor; sources and methods.