Best AI Models for NVIDIA L40 (48.0GB)
With 48 GB of memory, this is a high-end configuration for local AI. You can comfortably run most open-source LLMs including large 70B parameter models at good quantization levels, making it one of the best setups for serious local AI work.
At this memory tier, nearly every popular open-source model is within reach. You can run Llama 3 70B at Q4_K_M or even Q5_K_M quantization with room to spare, handle coding assistants like DeepSeek Coder 33B at high quality, and easily run any 7B–30B model at full or near-full precision. Context windows remain generous even with larger models, so multi-turn conversations and long-document processing work smoothly.
Runs Well
- 70B models (Llama 3 70B, Qwen 72B) at Q4–Q5
- 30B models at Q6–Q8 quality
- 7B–14B models at full FP16 precision
- Vision models (LLaVA, CogVLM) without compromise
Challenging
- Mixture-of-experts models like Mixtral 8x22B at higher quants
- 120B+ models still require lower quantizations
What LLMs Can NVIDIA L40 Run?
Showing compatibility for NVIDIA L40
| Model | Quant | VRAM | Speed | Context | Status | Grade |
|---|---|---|---|---|---|---|
| Q4_K_M | 28.6 GB60% | 19.6 t/s | 33K | GOOD FIT | A76 | |
| Q4_K_M | 19.8 GB41% | 28.3 t/s | 41K | FAIR FIT | B56 | |
| Q4_K_M | 20.5 GB43% | 27.4 t/s | 131K | FAIR FIT | B58 | |
| Q4_K_M | 20.5 GB43% | 27.4 t/s | 33K | FAIR FIT | B58 | |
| Q4_K_M | 18.1 GB38% | 31.0 t/s | 131K | FAIR FIT | B53 | |
| Q4_K_M | 13.3 GB28% | 42.3 t/s | 131K | EASY RUN | C43 | |
| Q4_K_M | 20.0 GB42% | 28.0 t/s | 41K | FAIR FIT | B57 | |
| Q4_K_M | 21.4 GB45% | 26.2 t/s | 4K | FAIR FIT | B60 |
NVIDIA L40 Specifications
- Brand
- NVIDIA
- Architecture
- Ada Lovelace
- VRAM
- 48.0 GB GDDR6
- Memory Bandwidth
- 864.0 GB/s
- CUDA Cores
- 18,176
- Tensor Cores
- 568
- FP16 Performance
- 362.10 TFLOPS
- TDP
- 300W
- Release Date
- 2022-10-13
Get Started
Similar GPUs for Running AI Models
AMD Radeon PRO W7900
AMD · RDNA 3
NVIDIA A40
NVIDIA · Ampere
NVIDIA L40S
NVIDIA · Ada Lovelace
NVIDIA RTX 6000 Ada Generation
NVIDIA · Ada Lovelace
NVIDIA RTX A6000
NVIDIA · Ampere
Frequently Asked Questions
- Can NVIDIA L40 run Llama 3 8B?
Yes, the NVIDIA L40 with 48 GB can run Llama 3 8B at Q4_K_M quantization with good performance. At this VRAM level, you can expect smooth token generation and responsive inference for chat and coding tasks.
- Is NVIDIA L40 good for AI?
The NVIDIA L40 has 48 GB of GDDR6, making it excellent for running local LLM models. You can run most popular 7B-30B models at good quality.
- How many parameters can NVIDIA L40 handle?
With 48 GB, the NVIDIA L40 can handle models up to approximately 30-70B parameters depending on quantization. Using Q4_K_M quantization (the typical sweet spot), you can fit roughly 80B parameters.
- What quantization should I use on NVIDIA L40?
For the best balance of quality and speed on 48 GB, Q4_K_M is the recommended starting point. If you have headroom, try Q5_K_M for better quality. For larger models that barely fit, Q3_K_M or Q2_K can squeeze them in at the cost of some output quality.
- How fast is NVIDIA L40 for AI inference?
Speed depends on the model size and quantization. With 864.0 GB/s memory bandwidth, the NVIDIA L40 can typically achieve 30-50+ tokens per second on 7B models at Q4_K_M quantization, which is comfortable for interactive chat.