Can I Run DeepSeek-R1-Distill-Qwen-32B on NVIDIA L40S?

作者: Jakub Rusinowski · 最后更新: 2026年7月21日

Yes, comfortably — DeepSeek R1 Distill Qwen 32B at Q4_K_M needs 22.3 GB at 8K context (19.3 GB weights + 3 GB KV cache/overhead), leaving ~25.7 GB of the NVIDIA L40S's 48 GB, at ~36 tok/s (est.), with room for up to 64K context.

These figures are for DeepSeek-R1-Distill-Qwen-32B, a distill of Qwen2.5-32B — not the full DeepSeek R1. The full DeepSeek R1 (671B) needs about 405 GB of weights at Q4_K_M and is a different model.

See what else this hardware can run →

购买此硬件 NVIDIA L40S 48GB — 48 GB VRAM · 350 W board power立即云端部署 RunPod 上的 NVIDIA L40S — 低至 $0.86/小时 · 价格核实于 2026-08

或在 Vast.ai 比较

作为亚马逊联盟成员,我们从符合条件的购买中获得收入。云 GPU 链接为推荐链接——我们可能获得佣金,您无需额外付费。

联盟营销声明: 本页部分链接为联盟推广链接——如果你通过它们购买,LLM Configurator 可能会获得佣金,而你无需支付任何额外费用。作为亚马逊联盟成员(Amazon Associate),LLM Configurator 会从符合条件的购买中获得收益。

NVIDIA L40S 48GB
48 GB VRAM · 350 W board power
2026年价格波动较大——请以当前商品页价格为准。
在亚马逊查看价格

NVIDIA L40S Specs

VRAM48 GB
Memory Bandwidth864 GB/s

DeepSeek R1 Distill Qwen 32B on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1666.9 GB✗ No——
Q8_036.9 GB✓ Yes32KBuild for this
Q6_K29.2 GB✓ Yes64K—
Q5_K_M25.6 GB✓ Yes64KBuild for this
Q4_K_M22.3 GB✓ Yes64KBuild for this
Q3_K_M16.6 GB✓ Yes64K—
Q2_K13.5 GB✓ Yes128K—

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.

Superseded model. DeepSeek R1 has been superseded by DeepSeek V4. This page is kept for reference; the newer family is a better starting point. DeepSeek V4 needs at least 172.8 GB at Q4_K_M with an 8K context, so it does not fit the NVIDIA L40S.

Context costs VRAM too. At Q4_K_M on the NVIDIA L40S: 8K 22.3 GB · 32K 28.7 GB · 128K 54.5 GB ✗. Past 128K 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? DeepSeek R1 Distill Qwen 32B on 32 GB of system RAM, CPU only: runs comfortably.

DeepSeek R1 Sizes That Fit the NVIDIA L40S (at 8K context)

DeepSeek R1 Distill Qwen 32BQ4_K_M · 22.3 GB at 8K context · ~36 tok/s (est.)
DeepSeek R1 Distill Qwen 14BQ4_K_M · 10.6 GB at 8K context · ~73 tok/s (est.)
DeepSeek R1 Distill Llama 8BQ4_K_M · 6.7 GB at 8K context · ~112 tok/s (est.)
Buy vs. rent DeepSeek-R1-Distill-Qwen-32B
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

DeepSeek R1 on the NVIDIA L40S — does it fit?

Yes, comfortably — DeepSeek R1 Distill Qwen 32B at Q4_K_M needs 22.3 GB at 8K context (19.3 GB weights + 3 GB KV cache/overhead), leaving ~25.7 GB of the NVIDIA L40S's 48 GB, at ~36 tok/s (est.), with room for up to 64K context.

Which DeepSeek R1 variant fits best on the NVIDIA L40S?

DeepSeek R1 Distill Qwen 32B at Q4_K_M quantization needs 22.3 GB at 8K context (19.3 GB weights + 3 GB KV cache/overhead), estimated ~36 tokens/sec, up to 64K context.

Every DeepSeek R1 size on the NVIDIA L40S

SizeVRAM at 8KVerdictSpeed
DeepSeek R1 (671B)406.5 GBDoes not fit—
DeepSeek R1 Distill Qwen 14B10.6 GBRuns~73 tok/s
DeepSeek R1 Distill Llama 8B6.7 GBRuns~112 tok/s

DeepSeek R1 on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

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