GPU VRAM calculator · Qwen

How much VRAM does Qwen3 30B-A3B (MoE) need?

Qwen3 30B-A3B (MoE) has 30.53 billion parameters. The weights alone take about 56.9 GB in FP16/BF16, 28.4 GB in FP8 and 17.2 GB at 4-bit. KV cache comes on top: about 0.8 GB per sequence at an 8K context in FP16.

It is a mixture-of-experts model (128 experts, 8 active per token). Only some experts run for each token, but all of them must sit in GPU memory, so VRAM follows the total parameter count.

Smallest single GPU at Q4_K_M / 4-bit with an 8K context: RTX 3090 (24 GB).

Smallest single GPU at FP16 / BF16 with an 8K context: A100 80GB (80 GB).

VRAM for inference (8K context, 1 sequence)

PrecisionWeightsTotalSmallest GPU
FP16 / BF1656.9 GB61.5 GBA100 80GB
FP8 / INT828.4 GB31.6 GBRTX 4090 48GB
Q6_K23.3 GB26.2 GBRTX 5090
Q4_K_M / 4-bit17.2 GB19.8 GBRTX 3090

Which GPU on CloudGPU fits Qwen3 30B-A3B (MoE)

GPUVRAMFP16 / BF16FP8 / INT8Q6_KQ4_K_M / 4-bit
RTX 309024 GBToo smallToo smallToo smallFits
RTX 409024 GBToo smallToo smallToo smallFits
RTX 509032 GBToo smallTightFitsFits
RTX 4090 48GB48 GBToo smallFitsFitsFits
L40S48 GBToo smallFitsFitsFits
A100 80GB80 GBFitsFitsFitsFits
H10080 GBFitsFitsFitsFits
H200141 GBFitsFitsFitsFits
B200180 GBFitsFitsFitsFits

8K context, 1 sequence. Each card links to its rental page. Current prices are on the pricing page; availability is shown on the deploy page.

KV cache by context length (per sequence)

ContextKV cache (FP16)KV cache (FP8)
4K0.4 GB0.2 GB
32K3 GB1.5 GB

Multiply by the number of concurrent sequences. Maximum context in the model config: 40,960 tokens. Models with sliding-window attention use less than this upper bound.

VRAM for fine-tuning (2K-token sequences, batch 1)

WorkloadTotalSmallest GPU
QLoRA fine-tune24 GBRTX 5090
LoRA fine-tune71.4 GBA100 80GB
Full fine-tune513 GB8× A100 80GB / 8× H100 / 5× H200 / 4× B200

How the estimate works

Weights = parameters × bits per parameter ÷ 8. KV cache = per-token KV size from the model config × context × concurrent sequences (halved for an FP8 KV cache). Runtime overhead = 1 GB plus 5% of the weights. LoRA assumes a 16-bit base model ×1.2 + 2 GB, QLoRA a 4-bit base ×1.3 + 2 GB, and full fine-tuning 18 bytes per parameter (AdamW, mixed precision). Real usage varies with the framework, sliding-window attention and batch shape, so leave some headroom.

Parameter count and architecture read from Qwen/Qwen3-30B-A3B on Hugging Face on 2026-12-03. These are estimates, not measurements; leave some headroom.

Qwen3 30B-A3B (MoE) VRAM FAQ

How much VRAM does Qwen3 30B-A3B (MoE) need?

About 56.9 GB for FP16 weights, 28.4 GB for FP8 and 17.2 GB at 4-bit, plus KV cache (about 0.8 GB per sequence at an 8K context) and about 1 GB of runtime overhead.

Can Qwen3 30B-A3B (MoE) run on an RTX 4090 (24 GB)?

Yes. At Q4_K_M / 4-bit with an 8K context it needs about 19.8 GB, which fits in 24 GB.

How much VRAM do I need to fine-tune Qwen3 30B-A3B (MoE)?

Roughly 24 GB with QLoRA, 71.4 GB with LoRA on a 16-bit base model, and 513 GB for full fine-tuning with AdamW (2K-token sequences, batch 1).