Run open models

Qwen3 GPU requirements: dense and MoE sizes

Qwen3 GPU requirements range from a single 24 GB card to a full 8-GPU node. In BF16, Qwen3-8B needs about 16 GB for weights, Qwen3-32B about 66 GB and the 30B-A3B MoE about 61 GB, so each fits one 80 GB GPU with modest context. The 235B-A22B MoE needs about 470 GB in BF16, or 235 GB in FP8 on four H100s.

NEURAMESH / COMPUTE FIELD NOTES00 / 10

The Qwen3 family at a glance

Qwen3 ships six dense models (0.6B, 1.7B, 4B, 8B, 14B and 32B) and two mixture-of-experts models: Qwen3-30B-A3B with 30.5B total and 3.3B active parameters, and Qwen3-235B-A22B with 235B total and 22B active. All use grouped-query attention with a 128-dimension head and are Apache 2.0 licensed.

The original release supports 32,768 tokens natively and 131,072 with YaRN scaling; its config sets max_position_embeddings to 40,960, which the card explains as 32,768 output tokens plus 8,192 for a typical prompt. The July 2025 Instruct-2507 and Thinking-2507 updates of the MoE models support 262,144 tokens natively.

Qwen has since released newer generations (Qwen3.5, 3.6 and 3.8) under separate model IDs with their own configs. This guide covers Qwen3 and its 2507 updates, plus the Qwen3-Next and Qwen3-Coder offshoots.

The Qwen3 family at a glance
ModelParameters (total / active)LayersQ / KV headsNative context
Qwen3-0.6B0.75B2816 / 832K
Qwen3-1.7B2.0B2816 / 832K
Qwen3-4B4.0B3632 / 832K
Qwen3-8B8.2B3632 / 832K
Qwen3-14B14.8B4040 / 832K
Qwen3-32B32.8B6464 / 832K
Qwen3-30B-A3B30.5B / 3.3B4832 / 432K (262K for 2507)
Qwen3-235B-A22B235B / 22B9464 / 432K (262K for 2507)

References: Qwen3-235B-A22B model card · Qwen3-32B model card · Qwen3-235B-A22B-Instruct-2507 model card · Qwen3-30B-A3B-Instruct-2507 model card

How to calculate Qwen3 GPU requirements

Two terms dominate. Weights take parameters × bytes per parameter: 2 for BF16, 1 for FP8, about 0.5 for 4-bit AWQ or GPTQ. For an MoE model, count total parameters, not active ones, because every expert must be in memory for the router to pick it.

The KV cache takes 2 (key and value) × layers × KV heads × 128 × 2 bytes per token in BF16. For Qwen3-32B that is 2 × 64 × 8 × 128 × 2 = 262,144 bytes, about 262 KB per token. The 30B-A3B has only 4 KV heads across 48 layers, so it needs about 98 KB per token, less than Qwen3-8B. Multiply by context length and concurrent requests.

Add headroom for activations and runtime buffers. The VRAM calculator does this arithmetic for any context and batch, and the LLM VRAM budget guide explains the overhead terms.

References: Qwen3-32B config.json · Qwen3-30B-A3B config.json · Qwen3-32B model card

VRAM table by model and precision

The table uses exact parameter counts from Hugging Face and the head counts from each config.json. The stated workload is 8 concurrent requests at 32K tokens each, 262,144 tokens in flight, with a BF16 cache. Totals exclude runtime overhead, so leave 10% or more free. Shorter contexts or fewer requests shrink the KV column proportionally.

For the small models the cache, not the weights, sets the GPU. Qwen3-0.6B has 1.5 GB of weights but 30 GB of cache at this workload; at one request it needs under 6 GB in total.

VRAM table by model and precision
ModelBF16 weightsFP8 weightsKV per tokenKV (8 × 32K)BF16 total
Qwen3-0.6B1.5 GB0.8 GB115 KB30.1 GB≈32 GB
Qwen3-4B8.0 GB4.0 GB147 KB38.7 GB≈47 GB
Qwen3-8B16.4 GB8.2 GB147 KB38.7 GB≈55 GB
Qwen3-14B29.5 GB14.8 GB164 KB42.9 GB≈72 GB
Qwen3-32B65.5 GB32.8 GB262 KB68.7 GB≈134 GB
Qwen3-30B-A3B61.1 GB30.5 GB98 KB25.8 GB≈87 GB
Qwen3-235B-A22B470.2 GB235.1 GB193 KB50.5 GB≈521 GB

References: Qwen3-32B config.json · Qwen3-30B-A3B config.json · Qwen3-235B-A22B config.json

Which GPUs and how many

Match the total to card memory: RTX 4090 24 GB, RTX 5090 32 GB, L40S 48 GB, A100 and H100 80 GB, RTX PRO 6000 96 GB, H200 141 GB, MI300X 192 GB. The table gives a starting point for the 8 × 32K workload, and a lighter option for one or two requests.

Qwen publishes official FP8 checkpoints with block size 128 and AWQ or GPTQ-Int4 versions of several sizes. FP8 runs natively on Hopper, Ada and Blackwell cards; A100 has no FP8 tensor cores, so prefer BF16 or 4-bit there. The LLM quantization guide covers the quality trade-offs.

Which GPUs and how many
ModelLight use (1-2 requests)8 × 32K workload
Qwen3-0.6B to 4BRTX 4090 or L4L40S or RTX PRO 6000
Qwen3-8BRTX 4090 (BF16) or RTX 5090RTX PRO 6000, A100 or H100
Qwen3-14BRTX 5090 (FP8) or L40SH100 or RTX PRO 6000
Qwen3-32BL40S (FP8) or H1001× H200 (FP8) or 2× H100
Qwen3-30B-A3BL40S (FP8) or H100RTX PRO 6000 or H200
Qwen3-235B-A22B4× H100 (FP8)8× H100 (BF16) or 4× H200 (FP8)

References: NVIDIA GeForce RTX 4090 specifications · NVIDIA GeForce RTX 5090 specifications · NVIDIA L40S specifications · NVIDIA A100 specifications · NVIDIA H100 specifications · NVIDIA RTX PRO 6000 Blackwell specifications · NVIDIA H200 specifications · AMD Instinct MI300X specifications · Qwen3-235B-A22B-Instruct-2507-FP8 model card

Serve Qwen3 with vLLM or SGLang

The Qwen3-235B-A22B card gives python -m sglang.launch_server --model-path Qwen/Qwen3-235B-A22B --reasoning-parser qwen3 --tp 8 for SGLang 0.4.6.post1 or later, and vllm serve Qwen/Qwen3-235B-A22B --enable-reasoning --reasoning-parser deepseek_r1 for vLLM 0.8.5 or later. Newer vLLM releases may name the reasoning flags differently, so check the version you pin.

The 2507 Instruct card uses vllm serve Qwen/Qwen3-235B-A22B-Instruct-2507 --tensor-parallel-size 8 --max-model-len 262144, and the FP8 version drops to --tensor-parallel-size 4. If the server runs out of memory, the card suggests cutting context to 32,768. To extend the original models past 32K, the card passes --rope-scaling with a YaRN factor of 4.0 and --max-model-len 131072, and advises enabling it only when long inputs are needed.

For 1M-token context on the 2507 MoE models, Qwen states you need approximately 1,000 GB of total GPU memory for weights, KV cache and peak activations. The vLLM deployment runbook covers drivers, Docker and the memory flags.

References: Qwen3-235B-A22B model card · Qwen3-235B-A22B-Instruct-2507 model card · Qwen3-235B-A22B-Instruct-2507-FP8 model card

Qwen3-Next and Qwen3-Coder

Qwen3-Next-80B-A3B has 80B total and 3B active parameters over 48 layers, with a hybrid layout: three Gated DeltaNet layers for every one gated attention layer. Only the 12 attention layers keep a conventional KV cache, with 2 KV heads of dimension 256, so long contexts cost far less cache than Qwen3-32B. Weights are about 163 GB in BF16, and the card serves it on 4 GPUs with --tensor-parallel-size 4 --max-model-len 262144.

Qwen3-Coder-480B-A35B-Instruct has 480B total and 35B active parameters, 62 layers and 262K context. Its weights are about 960 GB in BF16 or 480 GB in FP8, which puts it in 8× H200, 8× B200 or 8× MI300X territory.

References: Qwen3-Next-80B-A3B-Instruct model card · Qwen3-Coder-480B-A35B-Instruct config.json

Illustrative cost framing

These are illustrative figures with assumed rates, not quotes: $0.50 per GPU-hour for an RTX 4090, $1 for L40S, $2 for H100 and $3 for H200. They show how model size and precision change the GPU count. They make no claim about throughput, which you need to measure with your own prompts.

The MoE models change the trade-off. Qwen3-30B-A3B needs about as much memory as Qwen3-32B for weights but computes only 3.3B parameters per token. Current NeuraMesh rates are on GPU prices.

Illustrative cost framing
Setup (illustrative)GPUsPer hourPer 30-day month, 24/7
Qwen3-8B BF16 on RTX 40901$0.50$360
Qwen3-30B-A3B FP8 on L40S1$1$720
Qwen3-32B FP8 on H2001$3$2,160
Qwen3-235B-A22B FP8 on 4× H1004$8$5,760
Qwen3-235B-A22B BF16 on 8× H1008$16$11,520

Checklist and next step

Pick the size and precision. Fix your context length and concurrency, and compute weights plus KV cache from the config. Use the official FP8 or AWQ checkpoints rather than quantizing yourself. Set --max-model-len to what you need, enable YaRN only for long inputs, pin the engine version and measure throughput before scaling.

NeuraMesh rents these GPUs by the hour: choose a GPU, a plan, GPU count, hours and region on rent GPUs, or start with RTX PRO 6000 rental for the mid-size models, and you receive a confirmed quotation, typically within one business day, with nothing charged until you approve. If you are unsure which size fits, ask the compute advisor.

NeuraMesh prices for these GPUs

NeuraMesh prices per GPU-hour in USD, excluding taxes, as of 2026-11-27. Live prices are on the rental pages.
GPUMemoryData centerValue
RTX 409024 GB$0.46$0.40
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00

Every order is confirmed in a quotation before you pay. See all GPU prices.

Questions readers ask

What are the Qwen3 GPU requirements for the 235B model?

Qwen3-235B-A22B needs about 470 GB for BF16 weights, so 8× H100 is the usual BF16 node. The official FP8 checkpoint halves that to about 235 GB, and its card serves it with tensor parallel size 4. Add KV cache at about 193 KB per token.

Can I run Qwen3-32B on one GPU?

Yes, with limits. BF16 weights take about 66 GB, which fits an 80 GB H100 with a short context. The FP8 checkpoint takes about 33 GB, leaving room for cache on an 80 GB card or a 48 GB L40S at lower concurrency.

Will Qwen3-30B-A3B run on an RTX 4090?

Not at BF16 or FP8: the weights are about 61 GB and 31 GB. A 4-bit version is about 15 GB of weights, which leaves a few gigabytes of cache on a 24 GB card. An RTX 5090, L40S or 80 GB card gives more room.

How much VRAM does Qwen3-8B need?

About 16.4 GB for BF16 weights plus 147 KB of KV cache per token. One 32K request adds about 4.8 GB, so a 24 GB card works for light use. Eight 32K requests need about 55 GB in total.

How much memory does 1M-token context need?

Qwen states that 1M-token context on the 2507 models needs approximately 1,000 GB of total GPU memory, covering weights, KV cache and peak activations, with special config and attention settings from the model card.

Sources and editorial notes

Primary documentation reviewed November 24, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.

Read the editorial policy.

Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.