Kiran Tallapragada

Qwen3 Coder 30B-A3B: GPU memory and which GPUs fit it

Hugging Face: Qwen/Qwen3-Coder-30B-A3B-Instruct

Qwen3 Coder 30B-A3B needs about 56.9 GiB for its weights. In vLLM 0.34 at 32K context it starts on one H100 (80 GiB), with room for 6.3 requests at full context (207,338 KV tokens). Change the context, users or GPU in the calculator.

The model

Which GPUs fit it at 32K context

The fewest GPUs of each type that vLLM 0.34 will start on at 32K, with 8 request slots: enough memory for at least one full-length request. “Requests at 32K” is how many full-length requests fit in memory at once on that setup; to serve 8 users at full length you may need more GPUs, which the calculator’s comparison table shows.

GPU GPUs to start KV tokens Requests at 32K Longest single request
L4 (22 GiB) 4 195,890 6.0 195,890
A10G (22 GiB) 4 195,634 6.0 195,634
RTX4090 (24 GiB) 4 261,170 8.0 261,170
A100-40 (40 GiB) 2 169,765 5.2 169,765
L40S (45 GiB) 2 278,736 8.5 262,144
RTX6000-Ada (48 GiB) 2 344,272 10.5 262,144
A100-80 (80 GiB) 1 211,188 6.4 211,188
H100 (80 GiB) 1 207,338 6.3 207,338
H200 (140 GiB) 1 870,932 26.6 262,144
B200 (179 GiB) 1 1,293,204 39.5 262,144

GPUs needed by context length

GPU 8K 32K 128K
L4 4 4 4
A10G 4 4 4
RTX4090 4 4 4
A100-40 2 2 2
L40S 2 2 2
RTX6000-Ada 2 2 2
A100-80 1 1 1
H100 1 1 1
H200 1 1 1
B200 1 1 1

Suggested start on one H100, 32K context, 8 request slots (check it on your hardware):

vllm serve Qwen/Qwen3-Coder-30B-A3B-Instruct \
  --max-model-len 32768 \
  --max-num-seqs 8

How these numbers were made

With gpu-fit 1.3.0, an open-source tool that reads the model’s architecture and mirrors how vLLM budgets GPU memory. Weights come from the checkpoint’s file sizes, KV per token from the model config, and runtime overhead is calibrated on measured vLLM runs. These are planning estimates: confirm on your own hardware before you spend money. pip install gpu-fit and run gpu-fit Qwen/Qwen3-Coder-30B-A3B-Instruct --context 32768 --max-num-seqs 8 --gpu H100 to get the same numbers in your terminal.

Other models

Qwen3 4B · Qwen3 8B · Qwen3 8B FP8 · Qwen3 14B · Qwen3 32B · Qwen3 32B FP8 · Qwen3 32B AWQ · QwQ 32B · Qwen3 30B-A3B · Qwen3 30B-A3B FP8 · Qwen3-Next 80B-A3B · Qwen3 235B-A22B · Qwen2.5 72B Instruct · Qwen2.5-VL 7B Instruct · Qwen3.8 27B FP8 · Qwen3.6 35B-A3B FP8 · DeepSeek R1 Distill Qwen 32B · DeepSeek V3 · DeepSeek R1 (0528) · Mistral Small 3.2 24B · Devstral Small (2507) · Mistral Nemo 12B · Phi-4 · Phi-4 mini · gpt-oss-20b · gpt-oss-120b · Llama 3.2 3B Instruct · Llama 3.1 8B Instruct · Llama 3.3 70B Instruct · Gemma 3 4B · Gemma 3 12B · Gemma 3 27B