Skip to content
E
Educatum
Qwen MoE + GQAVerified Qwen/Qwen3-30B-A3B config.json

Qwen3-30B-A3B (MoE) VRAM & GPU Requirements Calculator

Qwen3-30B-A3B (MoE) requires 56.8 GiB in FP16, 28.4 GiB in FP8, and 17.3 GiB in GGUF Q4_K_M for weights alone (30.5B total / 3.3B active MoE · GQA (32Q / 4KV = 8× KV savings)). At 8K context (batch=1, FP16 KV), KV-cache adds 0.75 GiB (8.0× smaller than MHA).

FP16 Inference (8K)
59.0 GiB
56.8 GiB weights
FP8 Weights + FP8 KV
30.2 GiB
28.4 GiB weights
GGUF Q4_K_M (8K)
19.5 GiB
17.3 GiB weights
32K KV-Cache (FP16)
3.00 GiB
8.0× vs MHA

Can Your GPU or Mac Run Qwen3-30B-A3B? (8K Context, Batch=1)

Pre-computed fit verdict and estimated decode speed across RTX 4090/3090, Apple Silicon Unified Memory, and NVIDIA H100 clusters.

Hardware RigQ4_K_M (19.5 GiB)FP8 (30.2 GiB)FP16 (59.0 GiB)
1× RTX 4090 (23.9 GiB usable)FIT · ~279 tok/sOOM (-6G)OOM (-35G)
2× RTX 4090 / 3090 (47.8 GiB usable)FIT · ~137 tok/sFIT · ~126 tok/sOOM (-13G)
Apple M4 Max (128 GiB Unified · 96 GiB GPU)FIT · ~139 tok/sFIT · ~106 tok/sFIT · ~53 tok/s
Apple M3 Ultra (256 GiB Unified · 192 GiB GPU)FIT · ~209 tok/sFIT · ~159 tok/sFIT · ~80 tok/s
1× H100 SXM (79.6 GiB usable)FIT · ~927 tok/sFIT · ~706 tok/sFIT · ~353 tok/s
4× H100 SXM (318.4 GiB usable)FIT · ~176 tok/sFIT · ~173 tok/sFIT · ~162 tok/s
8× H100 SXM (636.8 GiB usable)FIT · ~122 tok/sFIT · ~121 tok/sFIT · ~118 tok/s
8× H200 SXM (1,123.2 GiB usable)FIT · ~122 tok/sFIT · ~122 tok/sFIT · ~120 tok/s

Interactive Qwen3-30B-A3B VRAM & Roofline Simulator

1. Model & Workload

GQA · 30.5B/3.3B MoE

30.5B total / 3.3B active MoE · GQA (32Q / 4KV = 8× KV savings)

Execution Mode
Weight Precision (Datacenter & GGUF)
KV:
8,192 tok
1 reqs

2. Target GPU / Mac Silicon

23.9 GiB Usable · 1.01 TB/s eff.
GPU Count (Tensor Parallel)
FITS IN VRAM (+4.4 GiB headroom)
19.5 / 23.9 GiB usable (82%)

Fits cleanly across 1× RTX 4090 24 GiB with headroom.

Total VRAM
19.5 GiB
Weights 17.3 GiB (Q4_K_M)
KV-Cache
0.8 GiB
8.0× vs MHA
Decode / User
~279.0 tok/s
HBM Bound
Cluster Output
~279 tok/s
AI 2.3 FLOP/B

VRAM Allocation vs. Hardware Capacity

Binary GiB (1 GiB = 2³⁰ B) · Usable VRAM excludes ECC/OS & per-GPU CUDA/NCCL buffers

Dashed line = Usable VRAM
Used: 19.5 GiB · Usable: 23.9 GiB (82%) 23.9 GiB Usable Weights: 17.3 GiBKV-Cache: 0.8 GiBAct + CUDA: 1.4 GiB educatum.com/kv-cache

Decode Arithmetic Intensity Roofline

AI 2.3 vs Ridge 655 FLOPs/B
1416642561024 Ridge: 655 FLOPs/B · 660 TFLOPS Memory-Bandwidth Bound (2.3 FLOP/B) Arithmetic Intensity (FLOPs / Byte, log scale) educatum.com/kv-cache
Canonical URL stays clean; click Copy Shareable Link to share your exact slider config.
Qwen3-30B-A3B (MoE / 3.3B Active) · KV_tok = 2 × 48L × 4 KV heads × 128d × 2B = 96.0 KiB/tok (8.0× vs MHA)
Decode Step Read: 1.9 GiB active weights + 0.75 GiB KV-cache → AI = 2.34 FLOPs/Byte (Memory-Bandwidth Bound; BW in decimal GB/s)

Compare Other LLM VRAM Requirements

All 14 Models →

Frequently Asked Questions

Can 1× or 2× RTX 4090 (24 GiB / 48 GiB) run Qwen3-30B-A3B (MoE)?

At 8K context (batch=1) in GGUF Q4_K_M, Qwen3-30B-A3B (MoE) needs 19.5 GiB total VRAM including CUDA runtime overhead (17.3 GiB weights). Single 23.9 GiB usable RTX 4090: Fits at ~279 tok/s. Dual 47.8 GiB usable (2× 4090/3090): Fits Q4_K_M cleanly (~137 tok/s).

Can an Apple M4 Max (128 GiB) Mac Studio / MacBook Pro run Qwen3-30B-A3B (MoE)?

An Apple M4 Max 128 GiB reserves 96 GiB wired GPU memory by default. In GGUF Q4_K_M (19.5 GiB needed at 8K), it fits on M4 Max 128 GiB at ~139.5 tok/s.

How much KV-cache does Qwen3-30B-A3B (MoE) use at 32K context?

Qwen3-30B-A3B (MoE) uses GQA, giving a 8.0× KV-cache reduction vs standard MHA. At 32,768 context (batch=1, FP16 KV), KV-cache occupies 3.00 GiB.

Try keywords like RoPE, FlashAttention, DPO, or Blind 75.