Skip to content

GPU comparison

L40S vs RTX 4090.

The L40S is ahead on memory (48 GB vs 24 GB) and speed (2.2x the FP16 throughput). The RTX 4090 makes sense when your model fits in 24 GB and its hourly price is lower.

Rent either on Runcrate

  • L40SCheaperfrom $0.54/hr per GPU

    on a 2-GPU machine

    $0.011 per GB/hr$0.15 per 100 TFLOPS/hr

    Launch L40S
  • RTX 4090from $0.57/hr per GPU

    on an 8-GPU machine

    $0.024 per GB/hr$0.35 per 100 TFLOPS/hr

    Launch RTX 4090

Live hourly price, then per GB of memory and per 100 FP16 TFLOPS.

Which is better for

Which to pick for each job. Memory fit and throughput, from the datasheets.

  • Hold a 70B model in 8-bit weights

    70 GB of 8-bit weights

    L40S: 2 GPUs (96 GB)

    RTX 4090: 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 4090: 1 GPU, 8 GB spare

    RTX 4090. Same GPU count, 17% more memory bandwidth.

  • Fine-tune a 70B model with QLoRA

    About 46 GB with 4-bit weights

    L40S: 1 GPU, 2 GB spare

    RTX 4090: 2 GPUs (48 GB)

    L40S. Fits on one GPU.

  • Train on a full node

    FP16 tensor throughput per node

    L40S: 4x, 1,448 TFLOPS

    RTX 4090: 2x, 330 TFLOPS

    L40S. 4 GPUs per node, not 2.

  • Throughput per watt

    FP16 TFLOPS per 100 W of TDP

    L40S: 103 TFLOPS per 100 W

    RTX 4090: 37 TFLOPS per 100 W

    L40S. 2.8x the FP16 per watt.

Compare another pair

vs

Ada Lovelace

NVIDIA L40S

from$0.54/hr per GPUCheaper

on a 2-GPU machine

Available now · 6 regions
Memory
48 GB GDDR6
FP16 tensor
362 TFLOPS
Bandwidth
864 GB/s
Full pricing details

Ada Lovelace

NVIDIA RTX 4090

from$0.57/hr per GPU

on an 8-GPU machine

Available now · 3 regions
Memory
24 GB GDDR6X
FP16 tensor
165.2 TFLOPS
Bandwidth
1.0 TB/s
Full pricing details

At a glance

Spec by spec. The longer bar is the better number.

Memory

NVIDIA L40S48 GB
NVIDIA RTX 409024 GB

Memory bandwidth

NVIDIA L40S864 GB/s
NVIDIA RTX 40901.0 TB/s

FP16 tensor

NVIDIA L40S362 TFLOPS
NVIDIA RTX 4090165.2 TFLOPS

Hourly price, from (live)

NVIDIA L40S$0.54/hr
NVIDIA RTX 4090$0.57/hr

Full specs

The complete spec sheet.

SpecNVIDIA L40SNVIDIA RTX 4090
ArchitectureAda LovelaceAda Lovelace
Memory48 GB24 GB
Memory typeGDDR6GDDR6X
Memory bandwidth864 GB/s1.0 TB/s
FP3291.6 TFLOPS82.6 TFLOPS
FP16 tensor362 TFLOPS165.2 TFLOPS
INT8733 TOPS661 TOPS
TDP350 W450 W
Form factorPCIeConsumer
NVLinkNoNo
GPUs per node42
Hourly price (live)from $0.54/hr per GPU on a 2-GPU machinefrom $0.57/hr per GPU on an 8-GPU machine

Questions

L40S or RTX 4090. What buyers ask first.

Other comparisons

More pairs with the L40S or the RTX 4090.