GPU comparison
L40S vs RTX 3090.
Pick the L40S for memory: 48 GB vs 24 GB. A QLoRA fine-tune of a 70B model (about 46 GB) fits on one L40S, not on one RTX 3090. For models under 24 GB pick by price.
Rent either on Runcrate
- L40Sfrom $0.55/hr
$0.011 per GB/hr
- RTX 3090Cheaperfrom $0.32/hr
$0.013 per GB/hr
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 3090: 4 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 3090: 1 GPU, 8 GB spare
Either. Fits on one GPU of either.
Fine-tune a 70B model with QLoRA
About 46 GB with 4-bit weights
L40S: 1 GPU, 2 GB spare
RTX 3090: 2 GPUs (48 GB)
L40S. Fits on one GPU.
Compare another pair
Ada Lovelace
NVIDIA L40S
- Memory
- 48 GB GDDR6
- Bandwidth
- 864 GB/s
Ampere
NVIDIA RTX 3090
- Memory
- 24 GB GDDR6X
- Bandwidth
- 936 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 3090 |
|---|---|---|
| Architecture | Ada Lovelace | Ampere |
| Memory | 48 GB | 24 GB |
| Memory type | GDDR6 | GDDR6X |
| Memory bandwidth | 864 GB/s | 936 GB/s |
| FP32 | 91.6 TFLOPS | 35.6 TFLOPS |
| FP16 | 362 TFLOPS, tensor | 71 TFLOPS, non-tensor |
| INT8 | 733 TOPS | 284 TOPS |
| TDP | 350 W | 350 W |
| Form factor | PCIe | Consumer |
| NVLink | No | Yes |
| GPUs per node | 4 | 2 |
| Hourly price (live) | from $0.55/hr | from $0.32/hr |
Questions
L40S or RTX 3090. What buyers ask first.
NVIDIA L40S vs NVIDIA RTX 3090: which is better for AI?
What's the price difference between NVIDIA L40S and NVIDIA RTX 3090?
Can I deploy NVIDIA L40S or NVIDIA RTX 3090 on Runcrate today?
How much VRAM does each GPU have?
L40S or RTX 3090: which holds a 70B model in 8-bit weights?
Other comparisons