one GPU, 12 models, every number computed
Which LLMs can run on an L40S? Memory, people at once, speed and cost
L40SNVIDIA, 48 GB, 864 GB/s
The NVIDIA L40S has 48 GB of memory, read at 864 GB a second, and does 362 trillion BF16 operations a second (733 trillion in FP8). Memory decides which models fit and how many people share them; memory speed decides how fast each one writes. Here is every model this site checks, worked out the same way.
Every model on an L40S
| Model | Answer | Setup | People at 8,192 tokens | One person, best case | Per million tokens, busy |
|---|---|---|---|---|---|
| Can Llama 3.1 8B run on an L40S? | Yes, in BF16 | 1 GPU | 24 | 43 tok/s | $0.367 |
| Can Llama 3.1 70B run on an L40S? | Yes, in INT4 only | 1 GPU | 1 | 18 tok/s | $1.48 |
| Can Qwen3 0.6B run on an L40S? | Yes, in BF16 | 1 GPU | 43 | 423 tok/s | $0.072 |
| Can Qwen3 8B run on an L40S? | Yes, in BF16 | 1 GPU | 21 | 42 tok/s | $0.379 |
| Can Qwen3 32B run on an L40S? | Yes, in FP8 only | 1 GPU | 3 | 20 tok/s | $0.777 |
| Can Qwen2.5 7B run on an L40S? | Yes, in BF16 | 1 GPU | 57 | 45 tok/s | $0.323 |
| Can Mistral 7B run on an L40S? | Yes, in BF16 | 1 GPU | 25 | 47 tok/s | $0.336 |
| Can Mistral Small 24B run on an L40S? | Yes, in FP8 only | 1 GPU | 12 | 28 tok/s | $0.554 |
| Can DeepSeek R1 Distill Llama 8B run on an L40S? | Yes, in BF16 | 1 GPU | 24 | 43 tok/s | $0.367 |
| Can DeepSeek V3 run on an L40S? | Needs 16 GPUs | 16 GPUs | 1 | not estimated | no price |
| Can gpt-oss-20b run on an L40S? | Yes, in MXFP4 | 1 GPU | 139 | 287 tok/s | $0.253 |
| Can gpt-oss-120b run on an L40S? | Needs 2 GPUs | 2 GPUs | 63 | 475 tok/s | $0.541 |
- vLLM's default of 92% of the GPU's memory (41.4 GiB of the 45 GiB the driver reports on an L40S), with 2 GiB per GPU kept for working space.
- A conversation of 8,192 tokens (prompt plus answer) for the yes or no; other lengths are in the KV cache table.
- Speed is the best case: 80% of the rated memory speed (what llama.cpp reached on our rented RTX 4090) and 50% of the rated compute, for a 1,024-token prompt and a 256-token answer.
- Prices are on-demand, per GPU per hour, read on 13 November 2026, with the GPU busy all the time.
Reading a GPU's datasheet yourself
Two numbers on the datasheet matter most for serving a model: the memory size and the memory speed. The course Hands-On Inference Engineering teaches how to read the rest:
- Reading a GPU spec sheet
- What a GPU is, and why models run on one
- Why writing is limited by memory speed
- Sizing GPU memory
- Cost per million tokens
Try the free inference engineering game to practise picking a GPU under a budget.
Questions people ask
Which LLMs can run on an L40S?
Of the 12 models checked here, Llama 3.1 8B, Qwen3 0.6B, Qwen3 8B, Qwen2.5 7B, Mistral 7B, DeepSeek R1 Distill Llama 8B, gpt-oss-20b fit in full, and Llama 3.1 70B (in INT4), Qwen3 32B (in FP8), Mistral Small 24B (in FP8) fit once quantized. The rest need several GPUs. vLLM uses 41.4 GiB of the card by default.
How much does an L40S cost to rent?
On demand, from $0.790 an hour at RunPod (community cloud), $1.09 an hour at RunPod (secure cloud), $1.86 an hour at AWS (g6e.xlarge, us-east-1), read on 13 November 2026.
Other GPUs: L4, RTX 4090, A10G, A100 40 GB, A100 80 GB, H100, H200.