Best Local LLMs for the NVIDIA L40

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

Best all-round pick: GLM-5.1 72B

The NVIDIA L40 has 48 GB of VRAM, of which about 48 GB is available to a model. The largest model it can hold is Nemotron 3.5 Bolt 74B (74B, 22.8 GB at Q4_K_M).

Best models overall on the NVIDIA L40

ModelScoreMemory at Q4_K_MContextLicence
GLM-5.1 72B94.744.3 GB125KMIT
Qwen 3.5 72B94.444.3 GB125KApache 2.0
Gemma 4 27B ⭐9417.1 GB125KGemma License (commercial OK)
Llama 3.3 70B Instruct93.843.1 GB128KLlama Community
Qwen 3.7 35B-A3B93.221.9 GB256KApache-2.0
Qwen3.8 27B92.717.6 GB256KApache-2.0

Best model by what you are doing

WorkloadRecommended on this GPU
CodingQwen 3.7 35B-A3B (96.9)
Qwen 3.5 72B (96.6)
Qwen 3.6 35B-A3B (96.2)
General assistantGLM-5.1 72B (94.7)
Qwen 3.5 72B (94.4)
Gemma 4 27B ⭐ (94)
ReasoningGLM-5.1 72B (100)
Gemma 4 27B ⭐ (98.1)
GLM-4.7 / GLM-Z1 GLM-Z1 32B (Reasoning) (97.7)
RAGGemma 4 31B (95.6)
Qwen 3.6 27B (94.5)
Qwen 3.7 35B-A3B (93.8)
AgentsNemotron 3.5 Bolt 74B (91.9)
Nemotron-Cascade 2 30B-A3B (91)
Seed-OSS-36B-Instruct (90.5)
VisionQwen 3.5 72B (99.7)
Qwen 3.7 35B-A3B (96.5)
Qwen 3.6 35B-A3B (95.8)

How these numbers are calculated

FAQ

What is the best LLM for the NVIDIA L40?

GLM-5.1 72B is the strongest all-round pick that fits its 48 GB.

What is the largest model the NVIDIA L40 can run?

Nemotron 3.5 Bolt 74B — 74B parameters, needing 22.8 GB at Q4_K_M.

How much of the NVIDIA L40's memory can a model actually use?

About 48 GB of its 48 GB, before the desktop and runtime overhead are accounted for.

Similar GPUs

By Workload

More

← All GPUs | NVIDIA L40 specs