GPU comparison
L40S vs RTX 4080.
Pick the L40S for memory: 48 GB vs 16 GB, with 17% more memory bandwidth. A QLoRA fine-tune of a 70B model (about 46 GB) fits on one L40S, not on one RTX 4080. For models under 16 GB pick by price.
Rent either on Runcrate
- L40Sfrom $0.55/hr per GPU
on a 2-GPU machine
$0.011 per GB/hr
- RTX 4080Not in stock right now
Live hourly price, then per GB of memory.
Which is better for
Which to pick for each job. Memory fit, from the datasheets.
Hold a 70B model in 8-bit weights
70 GB of 8-bit weights
L40S: 2 GPUs (96 GB)
RTX 4080: 5 GPUs, more than one 2x node
L40S. Fits in one node (2 GPUs).
Serve an 8B model in 16-bit weights
16 GB of 16-bit weights
L40S: 1 GPU, 32 GB spare
RTX 4080: 2 GPUs (32 GB)
L40S. Fits on one GPU.
Fine-tune a 70B model with QLoRA
About 46 GB with 4-bit weights
L40S: 1 GPU, 2 GB spare
RTX 4080: 3 GPUs, more than one 2x node
L40S. Fits on one GPU.
Compare another pair
Ada Lovelace
NVIDIA L40S
on a 2-GPU machine
- Memory
- 48 GB GDDR6
- Bandwidth
- 864 GB/s
Ada Lovelace
NVIDIA RTX 4080
- Memory
- 16 GB GDDR6X
- Bandwidth
- 736 GB/s
At a glance
Spec by spec. The longer bar is the better number.
Full specs
The complete spec sheet.
| Spec | NVIDIA L40S | NVIDIA RTX 4080 |
|---|---|---|
| Architecture | Ada Lovelace | Ada Lovelace |
| Memory | 48 GB | 16 GB |
| Memory type | GDDR6 | GDDR6X |
| Memory bandwidth | 864 GB/s | 736 GB/s |
| FP32 | 91.6 TFLOPS | 48.7 TFLOPS |
| FP16 | 362 TFLOPS, tensor | 97.5 TFLOPS, non-tensor |
| INT8 | 733 TOPS | 390 TOPS |
| TDP | 350 W | 320 W |
| Form factor | PCIe | Consumer |
| NVLink | No | No |
| GPUs per node | 4 | 2 |
| Hourly price (live) | from $0.55/hr per GPU on a 2-GPU machine | Not in stock right now |
Questions
L40S or RTX 4080. What buyers ask first.
Other comparisons