Qwen 3 quantization calculator

Alibaba's Qwen3 lineup spans six dense models (0.6B, 1.7B, 4B, 8B, 14B, 32B) and two sparse Mixture-of-Experts models (Qwen3-30B-A3B with 3.3B active params and Qwen3-235B-A22B with 22B active params). Pick any Qwen3 release, quantization format, context length, and GPU below to see exact file size, total VRAM, fit verdict, and single-stream decode speed.

Interactive calculator

QuantizationEffective bpwModel File (GB)Total VRAM w/ KVDecode CeilingHardware Fit

Why Qwen3-30B-A3B and Qwen3-235B-A22B punch above their VRAM

In Qwen3's MoE models, every parameter still resides in VRAM (30.5B for 30B-A3B, 235B for 235B-A22B), so quantization determines whether the file fits on your card. However, during token generation only 3.3B (30B-A3B) or 22B (235B-A22B) active weights are streamed from memory per token. That lets Qwen3-30B-A3B at Q4_K_M (~18.5 GB) fit on a single RTX 4090 24GB while decoding at speeds comparable to a 3B–4B dense model.

Frequently asked questions

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

Yes. At Q4_K_M (~18.5 GB file size) or AWQ INT4 (~17.2 GB), Qwen3-30B-A3B fits inside 24 GB VRAM with room for a 16K-32K KV cache, and decodes very fast because only 3.3B parameters are active per token.

What GPU do I need for Qwen3-235B-A22B?

In FP8 (~241 GB weights), Qwen3-235B-A22B needs 4x H100 80GB or 2x H200 141GB. In GGUF Q4_K_M (~142 GB weights), it fits on 2x H100 80GB, a single H200 141GB (at Q3_K_M), or a 192GB-256GB Mac Studio.

Is Q4_K_M or AWQ INT4 better for Qwen3?

For llama.cpp / Ollama / Apple Silicon local inference, GGUF Q4_K_M (~4.85 bpw) is the sweet spot for quality vs size. For vLLM / SGLang GPU serving, AWQ INT4 or native FP8 delivers much higher batched throughput via Marlin/FP8 Tensor Core kernels.

How much KV cache does Qwen3-32B use at 32K context?

Qwen3-32B uses 64 layers, 8 KV heads (GQA), and 128 head_dim, which is 262,144 bytes (256 KiB) per token in FP16. At 32,768 tokens that is 8.59 GB (8.0 GiB) in FP16, or 4.29 GB in FP8 KV cache.

Why is effective bits-per-weight higher than 4.0 for Q4_K_M?

GGUF Q4_K_M stores 4-bit weights plus block scales/mins and keeps sensitive tensors (embeddings, output head, and selected attention projections) at 6-bit or 8-bit, averaging ~4.85 bits per parameter on medium/large models.

All calculations run locally in your browser. Published hardware specs, model architectures, and API rates are planning baselines; verify against live profiling and current provider rate cards before committing cluster spend.