Compute Comparison
vs
All comparisons →

Ada Lovelace

NVIDIA L4

wins

2

The NVIDIA L4 is the most power-efficient Ada Lovelace GPU at just 72W TDP. It delivers 121 TFLOPS FP16 (dense) and 242.5 TFLOPS FP8 (dense).

Efficient inferenceVideo transcodingEdge AI

Ada Lovelace

NVIDIA L40

wins

3

The NVIDIA L40 is the predecessor to the L40S, offering 48GB GDDR6 and Ada Lovelace architecture.

Professional inferenceRenderingVisualization AI

Performance comparison

Visual bars — winner highlighted

NVIDIA L4

Metric

NVIDIA L40

FP16 Tensor TFLOPS (dense)

121 T
181 T

Bandwidth

300 GB/s
864 GB/s

VRAM

24 GB
48 GB

TDP (lower=better)

72 W
300 W

TFLOPS/watt

1.68
0.60

GB/s per watt

4.17
2.88

Full specification table

SpecNVIDIA L4NVIDIA L40
ArchitectureAda LovelaceAda Lovelace
VRAM24 GB GDDR648 GB GDDR6
VRAM typeGDDR6GDDR6
Memory bandwidth300 GB/s864 GB/s
FP16 Tensor TFLOPS (dense)121 TFLOPS181 TFLOPS
TDP72 W300 W
TFLOPS/watt1.68 T/W0.60 T/W
GB/s per watt4.17 GB/s/W2.88 GB/s/W
NVLinkNoNo
Release year20232022

Live cloud pricing

On-demand pricing across providers — updated in real time

Per hourPer GB VRAM/hr

NVIDIA L4

No live pricing data available.

NVIDIA L40

QuantaCloud
$0.96/hr

Power efficiency analysis

TFLOPS/watt and GB/s/watt — critical for data center TCO

NVIDIA L4

FP16 TFLOPS121 TFLOPS
TDP72 W
TFLOPS/watt1.681 T/W
GB/s per watt4.17 GB/s/W

NVIDIA L40

FP16 TFLOPS181 TFLOPS
TDP300 W
TFLOPS/watt0.603 T/W
GB/s per watt2.88 GB/s/W

TFLOPS/watt measures compute efficiency — how much AI throughput you get per watt of power consumed. For data centers with PUE of 1.2–1.5, a 10% improvement in TFLOPS/watt translates directly to lower electricity costs and cooling requirements. GB/s/watt measures memory bandwidth efficiency, which is the binding constraint for memory-bound LLM inference workloads.

Performance-per-dollar

TFLOPS/$ and GB/s/$ at current best cloud prices

NVIDIA L4

Best cloud priceN/A
TFLOPS per $—
GB/s per $—

NVIDIA L40

Best cloud price$0.96/hr
TFLOPS per $188.5 T/$
GB/s per $900 GB/s/$

TFLOPS/$ = FP16 TFLOPS ÷ best on-demand $/hr. Higher is better — more compute per dollar. GB/s/$ = memory bandwidth ÷ best on-demand $/hr. For memory-bound inference workloads (most LLM serving), GB/s/$ is often a better predictor of cost-efficiency than TFLOPS/$. Prices are live from the Compute Comparison API and update in real time.

Workload Cost Comparison

Total job cost = best on-demand $/hr × GPU count × hours

WorkloadScaleNVIDIA L4NVIDIA L40
7B LLM fine-tune8× GPU, 24 h—$184
70B LLM fine-tune64× GPU, 72 h—$4.4k
Inference server1× GPU, 730 h—$701
Image gen batch4× GPU, 8 h—$31

Based on current best on-demand prices. Spot pricing typically 40–70% lower. Actual cost depends on provider, region, and availability.

When to choose each GPU

Choose NVIDIA L4 for:

  • Efficient inference
  • Video transcoding
  • Edge AI

Weaknesses / Limitations

  • 24 GB VRAM limits model size — cannot run 34B+ models
  • Low memory bandwidth (300 GB/s) — bottleneck for throughput-sensitive inference
  • Not suitable for training or fine-tuning beyond small models

Choose NVIDIA L40 for:

  • Professional inference
  • Rendering
  • Visualization AI

Weaknesses / Limitations

  • Lower FP16 TFLOPS (181) than L40S (362) at the same VRAM and bandwidth
  • Superseded by L40S — less available on new deployments
  • GDDR6 bandwidth lower than HBM-based data center GPUs