VRAMCalc.me
NVIDIA · CUDA Data Center & Homelab Data Center GDDR6 ECC Updated 2026-11-24
Simulate 1x–8x Multi-GPU & AWQ/MLX ->

Best Local AI Models for NVIDIA L40S (48GB)

Under Daily Desktop reserve, 47.0 GB of 48 GB physical CUDA memory is usable (864 GB/s). Across all 22 LLMs at Q4_K_M @ 8K: 19 Fits, 2 Tight Fit, 1 Partial Offload, and 0 OOM.

Usable / Total VRAM
47.0 / 48 GB
Memory Bandwidth
864 GB/s
Topology & Backend
Discrete Single GPU (CUDA)
Full 22-LLM Fit
19 Fits · 2 Tight · 1 Offload
Reference MSRP
$8,000

47.0 GB usable VRAM · 864 GB/s

View Full Matrix ->
Best Coding & Agent Fit
Fits Fast

Qwen2.5-Coder-32B-Instruct

32.8B · Qwen2 (Dense) · Q4_K_M

L40S 48GB runs Qwen2.5-Coder-32B-Instruct (19.88 GB weights @ Q4_K_M) in status Fits with 64K (36.7 GB) resident context headroom.

Formula est. ~25–35 tok/s
VRAM @ 8K 22.6 GB
Max Fit 64K (36.7 GB)
Top Reasoning / Writing Fit
Tight Fit Interactive

DeepSeek-R1-Distill-Llama-70B

70.6B · Llama-3 (Dense) · Q4_K_M

L40S 48GB runs DeepSeek-R1-Distill-Llama-70B (42.80 GB weights @ Q4_K_M) in status Tight Fit with 8K (46.3 GB) resident context headroom.

Formula est. ~11–18 tok/s
VRAM @ 8K 46.3 GB
Max Fit 8K (46.3 GB)
Highest Formula Speed
Fits Fast

DeepSeek-R1-Distill-Qwen-1.5B

1.5B · Qwen2 (Dense) · Q4_K_M

L40S 48GB runs DeepSeek-R1-Distill-Qwen-1.5B (0.91 GB weights @ Q4_K_M) in status Fits with 128K (5.0 GB) resident context headroom.

Formula est. ~425–575 tok/s
VRAM @ 8K 1.6 GB
Max Fit 128K (5.0 GB)

All 22 Catalog Models on L40S 48GB

Q4_K_M @ 8K FP16 KV · 47.0 GB usable (Daily Desktop)

Model Fit / Speed VRAM @ 8K GPU Layers Formula Speed (Q4 @ 8K) Max Fit & @Max VRAM Calculator
Fits Fast
1.59 / 47.0 GB
28/28 ~425–575 tok/s Formula est.
Q4_K_M
128K · 5.0 GB
Simulate ->
3.2B · Llama-3.2
Fits Fast
3.29 / 47.0 GB
28/28 ~235–319 tok/s Formula est.
Q4_K_M
128K · 16.5 GB
Simulate ->
30.5B · MoE 3.3B · Qwen3
Fits Fast
19.91 / 47.0 GB
48/48 ~233–317 tok/s Formula est.
Q4_K_M
40K · 23.0 GB
Simulate ->
Qwen3-4B Live Calc
4B · Qwen3
Fits Fast
4.03 / 47.0 GB
36/36 ~187–255 tok/s Formula est.
Q4_K_M
40K · 8.7 GB
Simulate ->
4.3B · Gemma 3
Fits Fast
4.15 / 47.0 GB
34/34 ~177–240 tok/s Formula est.
Q4_K_M
128K · 20.2 GB
Simulate ->
Fits Fast
5.56 / 47.0 GB
28/28 ~110–151 tok/s Formula est.
Q4_K_M
128K · 12.2 GB
Simulate ->
Fits Fast
5.56 / 47.0 GB
28/28 ~110–151 tok/s Formula est.
Q4_K_M
128K · 12.2 GB
Simulate ->
Fits Fast
6.36 / 47.0 GB
32/32 ~101–138 tok/s Formula est.
Q4_K_M
128K · 21.5 GB
Simulate ->
Qwen3-8B Live Calc
8.2B · Qwen3
Fits Fast
6.61 / 47.0 GB
36/36 ~98–134 tok/s Formula est.
Q4_K_M
40K · 11.2 GB
Simulate ->
12.2B · Gemma 3
Fits Fast
10.94 / 47.0 GB
48/48 ~62–85 tok/s Formula est.
Q4_K_M
64K · 32.1 GB
Simulate ->
14.8B · DeepSeek-R1
Fits Fast
11.03 / 47.0 GB
48/48 ~55–76 tok/s Formula est.
Q4_K_M
128K · 33.6 GB
Simulate ->
Fits Fast
11.03 / 47.0 GB
48/48 ~55–76 tok/s Formula est.
Q4_K_M
128K · 33.6 GB
Simulate ->
Qwen3-14B Live Calc
14.8B · Qwen3
Fits Fast
10.78 / 47.0 GB
40/40 ~56–77 tok/s Formula est.
Q4_K_M
40K · 15.9 GB
Simulate ->
Phi-4-14B Live Calc
14.7B · Phi-4
Fits Fast
11.03 / 47.0 GB
40/40 ~55–76 tok/s Formula est.
Q4_K_M
16K · 12.6 GB
Simulate ->
24B · Mistral
Fits Fast
16.42 / 47.0 GB
40/40 ~35–48 tok/s Formula est.
Q4_K_M
32K · 20.3 GB
Simulate ->
27.4B · Gemma 3
Fits Fast
21.14 / 47.0 GB
62/62 ~29–40 tok/s Formula est.
Q4_K_M
40K · 36.8 GB
Simulate ->
32.8B · DeepSeek-R1
Fits Fast
22.57 / 47.0 GB
64/64 ~25–35 tok/s Formula est.
Q4_K_M
64K · 36.7 GB
Simulate ->
Fits Fast
22.57 / 47.0 GB
64/64 ~25–35 tok/s Formula est.
Q4_K_M
64K · 36.7 GB
Simulate ->
Qwen3-32B Live Calc
32.8B · Qwen3
Fits Fast
22.57 / 47.0 GB
64/64 ~25–35 tok/s Formula est.
Q4_K_M
40K · 30.7 GB
Simulate ->
70.6B · DeepSeek-R1
Tight Fit Interactive
46.26 / 47.0 GB
80/80 ~11–18 tok/s Formula est.
Q4_K_M
8K · 46.3 GB
Simulate ->
70.6B · Llama-3.3
Tight Fit Interactive
46.26 / 47.0 GB
80/80 ~11–18 tok/s Formula est.
Q4_K_M
8K · 46.3 GB
Simulate ->
72.7B · Qwen2.5
Partial Offload Readable
47.55 / 47.0 GB
79/80 ~8–15 tok/s Formula est.
Q4_K_M
4K · 46.3 GB
Simulate ->

Frequently Asked Questions (L40S 48GB)

What is the largest LLM NVIDIA L40S (48GB) can run without spilling to host RAM? +

NVIDIA L40S (48GB) exposes 47.0 GB of usable CUDA memory under Daily Desktop reserve (of 48 GB physical). Across 22 evaluated LLMs, 19 clear with >5% headroom and 2 sit in Tight Fit (<5% free), topped by DeepSeek-R1-Distill-Llama-70B (Tight Fit) at Q4_K_M @ 8K context.

How fast does L40S 48GB generate tokens in local LLM inference? +

With 864 GB/s memory bandwidth, decode speed stays memory-bandwidth-bound. Expect interactive (~12–24+ tok/s) or fast (~25+ tok/s) ranges on models sized comfortably within 47.0 GB, dropping to Readable/Slow tiers on heavier 27B–70B models or host-RAM offload.

Why does L40S 48GB show 47.0 GB usable out of 48 GB physical? +

Driver kernels, display buffers (1.0 GB), and compute scratchpads sit inside GPU VRAM alongside weights and KV cache. Multi-GPU rigs add +0.55 GB CUDA context overhead per extra card.

Compare Similar Hardware Hubs

NVIDIA · CUDA

Browse All 103 Hardware Hubs ->