Can I Run Qwen 3 30B-A3B (MoE) on NVIDIA L40S?

Written by Jakub Rusinowski · Last updated July 21, 2026

Yes. Qwen 3 30B-A3B (MoE) needs 20 GB at 8K context (18.4 GB weights + 1.6 GB KV cache/overhead) at Q4_K_M and the NVIDIA L40S has 48 GB, leaving about 28 GB of headroom, at roughly 191 tok/s (estimated) with room for up to 64K of context.

See what else this hardware can run →

The numbers

ModelQwen 3 30B-A3B (MoE)
Parameters30B (3B active)
QuantizationQ4_K_M
VRAM needed (8K context)20 GB
NVIDIA L40S VRAM48 GB
VerdictRuns
Max context64K
Estimated speed~191 tok/s

Qwen 3 30B-A3B (MoE) on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1662.6 GB✗ No——
Q8_034 GB✓ Yes64KBuild for this
Q6_K26.6 GB✓ Yes64K—
Q5_K_M23.2 GB✓ Yes64K—
Q4_K_M20 GB✓ Yes64KBuild for this
Q3_K_M14.6 GB✓ Yes64K—
Q2_K11.6 GB✓ Yes64K—

Assumes an 8K-token context with an f16 KV cache. A longer window needs more; a quantized KV cache needs less. “Max context” is the largest window that still fits in 48 GB. Figures are estimates from parameter count, quantization and memory bandwidth — the analyzer lets you tune KV-cache quant and context.

Context costs VRAM too. At Q4_K_M on the NVIDIA L40S: 8K 20 GB · 32K 22.4 GB · 125K 31.8 GB. Every window this model publishes still fits 48 GB.

What to do next

Nothing to change — run it at Q4_K_M. If you want more capability, check whether the next size up also fits.

No compatible GPU? Qwen 3 on 8 GB of system RAM, CPU only: runs.

Affiliate disclosure: Some links on this page are affiliate links — if you buy through them, LLM Configurator may earn a commission at no extra cost to you. As an Amazon Associate, LLM Configurator earns from qualifying purchases.

Running Qwen 3 30B-A3B (MoE) on this card:

NVIDIA L40S 48GB
48 GB VRAM · 350 W board power
2026 prices are volatile — check the current listing.
Check price on Amazon

Buy vs. rent Qwen 3 30B-A3B (MoE)
Buy the GPU
~$7,499
NVIDIA L40S · MSRP
Rent by the hour
from $0.34/hr
RTX 4090 (24 GB) class

At 2 hrs/day, buying (~$7,499) beats renting at $0.34/hr after about 30.6 years.

Affiliate links — we may earn a commission if you sign up, at no extra cost to you.

RunPod $0.34/hr
Rent on RunPod →
Vast.ai $0.35/hr · typical low · varies
Rent on Vast.ai →

Cloud rates verified 2026-07 — estimates, and marketplace prices vary. Buying price is GPU MSRP only, not a full PC.

Other Qwen 3 sizes on the NVIDIA L40S

Qwen 3 30B-A3B (MoE) on nearby hardware

All Qwen 3 sizes on the NVIDIA L40S | Qwen 3 30B-A3B (MoE) model page | NVIDIA L40S GPU page | VRAM calculator | Check your hardware