Can I Run Qwen 3 on NVIDIA L40S?

Autor: Jakub Rusinowski · Ostatnia aktualizacja: 21 lipca 2026

Yes, comfortably — Qwen 3 32B at Q4_K_M needs 22.8 GB at 8K context (19.8 GB weights + 3 GB KV cache/overhead), leaving ~25.2 GB of the NVIDIA L40S's 48 GB, at ~35 tok/s (est.), with room for up to 64K context.

See what else this hardware can run →

Kup ten sprzęt NVIDIA L40S 48GB — 48 GB VRAM · 350 W board powerUruchom w chmurze NVIDIA L40S w RunPod — od $0.86/godz. · stawka sprawdzona 2026-08

lub porównaj w Vast.ai

Jako partner Amazon zarabiamy na kwalifikujących się zakupach. Linki do chmurowych GPU są linkami polecającymi — możemy otrzymać prowizję bez dodatkowych kosztów dla Ciebie.

Ujawnienie afiliacyjne: Niektóre odnośniki na tej stronie to linki afiliacyjne — jeśli dokonasz zakupu za ich pośrednictwem, LLM Configurator może otrzymać prowizję bez dodatkowych kosztów dla Ciebie. Jako uczestnik programu Amazon Associates, LLM Configurator zarabia na kwalifikujących się zakupach.

NVIDIA L40S 48GB
48 GB VRAM · 350 W board power
Ceny w 2026 są niestabilne — sprawdź aktualną ofertę.
Sprawdź cenę na Amazon

NVIDIA L40S Specs

VRAM48 GB
Memory Bandwidth864 GB/s

Qwen 3 32B on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1668.5 GB✗ No——
Q8_037.8 GB✓ Yes32KBuild for this
Q6_K29.8 GB✓ Yes64K—
Q5_K_M26.2 GB✓ Yes64KBuild for this
Q4_K_M22.8 GB✓ Yes64KBuild for this
Q3_K_M16.9 GB✓ Yes64K—
Q2_K13.7 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 22.8 GB · 32K 29.2 GB · 125K 54.2 GB ✗. Past 125K it no longer fits 48 GB — a q8_0 KV cache buys roughly half of that back, which the calculator will price for you.

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

Qwen 3 Sizes That Fit the NVIDIA L40S (at 8K context)

Qwen 3 32BQ4_K_M · 22.8 GB at 8K context · ~35 tok/s (est.)
Qwen 3 30B-A3B (MoE)Q4_K_M · 20 GB at 8K context · ~191 tok/s (est.)
Qwen 3 14BQ4_K_M · 11.1 GB at 8K context · ~70 tok/s (est.)
Qwen 3 8BQ4_K_M · 7 GB at 8K context · ~109 tok/s (est.)
Buy vs. rent Qwen 3
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.

FAQ

Qwen 3 on the NVIDIA L40S — does it fit?

Yes, comfortably — Qwen 3 32B at Q4_K_M needs 22.8 GB at 8K context (19.8 GB weights + 3 GB KV cache/overhead), leaving ~25.2 GB of the NVIDIA L40S's 48 GB, at ~35 tok/s (est.), with room for up to 64K context.

Which Qwen 3 variant fits best on the NVIDIA L40S?

Qwen 3 32B at Q4_K_M quantization needs 22.8 GB at 8K context (19.8 GB weights + 3 GB KV cache/overhead), estimated ~35 tokens/sec, up to 64K context.

Every Qwen 3 size on the NVIDIA L40S

SizeVRAM at 8KVerdictSpeed
Qwen 3 235B-A22B (MoE)144.3 GBDoes not fit—
Qwen 3 32B22.8 GBRuns~35 tok/s
Qwen 3 30B-A3B (MoE)20 GBRuns~191 tok/s
Qwen 3 14B11.1 GBRuns~70 tok/s
Qwen 3 8B7 GBRuns~109 tok/s

Qwen 3 on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

← Can I Run It? | Qwen 3 Model Page | NVIDIA L40S GPU Page | VRAM calculator | Check Your Hardware