Every quantization on L40S 48GB
Q4_K_M (4-bit) llama3:70b-text-q4_K_M | 39.6 GB real file size | 44.6 GB | Tight fit | 8K | 14.1–16.5 tok/s Measured |
Q6_K (6-bit) llama3:70b-text-q6_K | 53.9 GB real file size | 59.6 GB | Partial offload | — | 1.8–4.1 tok/s Estimate |
Q8_0 (8-bit) llama3:70b-text-q8_0 | 69.8 GB real file size | 76.2 GB | Too large | — | — |
FP16 / BF16 (16-bit) llama3:70b-text-fp16 | 131 GB real file size | 139 GB | Too large | — | — |
NVIDIA L40S (48 GB) has 46.2 GB usable for models out of 48 GB of VRAM. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.
Llama 3 70B Instruct on L40S 48GB by runtime
| Command | ||||||
|---|---|---|---|---|---|---|
| Ollama | Q4_K_M llama3:70b-text-q4_K_M | 39.6 GB real file size | 44.6 GB | Tight fit | 14.1–16.5 tok/s | |
| LM Studio | Q4_K_M lmstudio-community/Meta-Llama-3-70B-Instruct-GGUF | 39.6 GB real file size | 44.6 GB | Tight fit | 14.1–16.5 tok/s | Not in LM Studio's catalog. Search for lmstudio-community/Meta-Llama-3-70B-Instruct-GGUF in the app's Discover tab. |
| llama.cpp | Q4_K_M lmstudio-community/Meta-Llama-3-70B-Instruct-GGUF | 39.6 GB real file size | 44.6 GB | Tight fit | 14.1–16.5 tok/s | |
| vLLM | INT4 RedHatAI/Meta-Llama-3-70B-Instruct-quantized.w4a16 | 37.1 GB real file size | 42.0 GB | Tight fit | 12.0–20 tok/s 2 requests in parallel |
Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, vLLM the original safetensors weights or an FP8 / INT4 build. Numbers above this table are for Ollama.
Cost per 1M tokens at 1M tokens/day
$11.23/mo power + $16,500 hardware over 36 months
1x RTX A6000 (48 GB) on RunPod at $0.33/hr
Not listed on OpenRouter
There is no API price to compare against. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod
Other hardware that runs Llama 3 70B Instruct
Other models for L40S 48GB
- Qwen 4 35B A3B (MoE)37.0 GB · 103–214 tok/s
- Qwen 3.8 27B19.0 GB · 31–42 tok/s
- LFM3 1.7B2.0 GB · 250–417 tok/s
- Nemotron 3.5 Lightning 30B A3B25.6 GB · 104–216 tok/s
- Gemma 4 E4B7.3 GB · 78–105 tok/s
Questions and answers
Can NVIDIA L40S (48 GB) run Llama 3 70B Instruct?
Yes, but it is tight. NVIDIA L40S (48 GB) runs Llama 3 70B Instruct at Q4_K_M with a 8K context, using 44.6 GB of 46.2 GB usable memory at a measured 14.1–16.5 tok/s.
How fast is Llama 3 70B Instruct on NVIDIA L40S (48 GB)?
About 14.1–16.5 tok/s at Q4_K_M. Measured with llama.cpp on this GPU, shown with the usual run-to-run spread.
How much context can Llama 3 70B Instruct use on NVIDIA L40S (48 GB)?
At Q4_K_M the largest context that fits is 8K tokens.