Compute Comparison
vs
All comparisons →

Ada Lovelace

NVIDIA L40S

wins

4

The L40S is NVIDIA's inference-optimized Ada Lovelace GPU. 48GB GDDR6 and 362 TFLOPS FP16 make it a strong choice for production inference at lower cost than H100.

InferenceVideo AIMulti-modal workloads

Ada Lovelace

NVIDIA RTX 4090

wins

2

The RTX 4090 is the most cost-effective consumer GPU for AI workloads. At $0.40–$0.80/hr on GPU clouds, it's ideal for fine-tuning and small-model inference.

Fine-tuningSmall model inferenceCost-effective compute

Performance comparison

Visual bars — winner highlighted

NVIDIA L40S

Metric

NVIDIA RTX 4090

FP16 TFLOPS

362 T
165 T

Bandwidth

864 GB/s
1.0k GB/s

VRAM

486 GB
246 GB

TDP (lower=better)

350 W
450 W

TFLOPS/watt

1.03
0.37

GB/s per watt

2.47
2.24

TFLOPS/$

952.6
1240.6

FP16 TFLOPS ÷ best on-demand $/hr

GB/s per $

2274
7579

Memory bandwidth ÷ best on-demand $/hr

Full specification table

SpecNVIDIA L40SNVIDIA RTX 4090
ArchitectureAda LovelaceAda Lovelace
VRAM48 GB GDDR624 GB GDDR6X
VRAM typeGDDR6GDDR6X
Memory bandwidth864 GB/s1,008 GB/s
FP16 TFLOPS362 TFLOPS165 TFLOPS
TDP350 W450 W
TFLOPS/watt1.03 T/W0.37 T/W
GB/s per watt2.47 GB/s/W2.24 GB/s/W
NVLinkNoNo
Release year20232022
Best cloud price$0.38/hr$0.13/hr
TFLOPS/$952.61240.6
GB/s per $22747579

Live cloud pricing

On-demand pricing across providers — updated in real time

Per hourPer GB VRAM/hr

NVIDIA L40S

Canopy Wave
$0.99/hr
TheAI Cloud
$0.79/hr
HIGHRESO
$1.09/hr
E2E Networks
$1.20/hr
Lightning AI
$2.14/hr
Hugging Face
$1.80/hr
FluidStack
$5.20/hr
AceCloud
$1.83/hr

NVIDIA RTX 4090

Paperspace
$3.89/hr
SwissGPU
$0.45/hr
Cloudzy
$0.69/hr
TheAI Cloud
$0.44/hr
HIGHRESO
$0.49/hr
HyperAI
$0.41/hr
Atlantic.net
$0.55/hr
AIEEV
$0.38/hr

Salad: Lowest priority tier — preemptible

Power efficiency analysis

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

NVIDIA L40S

FP16 TFLOPS362 TFLOPS
TDP350 W
TFLOPS/watt1.034 T/W
GB/s per watt2.47 GB/s/W

NVIDIA RTX 4090

FP16 TFLOPS165 TFLOPS
TDP450 W
TFLOPS/watt0.367 T/W
GB/s per watt2.24 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 L40S

Best cloud price$0.38/hr
TFLOPS per $952.6 T/$
GB/s per $2274 GB/s/$

NVIDIA RTX 4090

Best cloud price$0.13/hr
TFLOPS per $1240.6 T/$
GB/s per $7579 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

NVIDIA L40S costs 2.9× more at current best prices. NVIDIA L40S has 486GB VRAM vs 246GB — larger models fit without offloading; 2.2× the FP16 compute (362 vs 165 TFLOPS) supports faster training and higher batch throughput.

WorkloadScaleNVIDIA L40SNVIDIA RTX 4090
7B LLM fine-tune8× GPU, 24 h$73$26▼
70B LLM fine-tune64× GPU, 72 h$1.8k$613▼
Inference server1× GPU, 730 h$277$97▼
Image gen batch4× GPU, 8 h$12$4▼

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 L40S for:

  • Inference
  • Video AI
  • Multi-modal workloads

Weaknesses / Limitations

  • GDDR6 bandwidth (864 GB/s) is lower than HBM-based GPUs — bottleneck for memory-bound LLM serving
  • No NVLink — cannot scale across cards for very large models
  • Less suitable for large-scale training than H100 or A100

Choose NVIDIA RTX 4090 for:

  • Fine-tuning
  • Small model inference
  • Cost-effective compute

Weaknesses / Limitations

  • 24 GB VRAM limits models to ~34B at INT4 — cannot run 70B+ unquantized
  • No NVLink — cannot pool VRAM across cards
  • Consumer GPU — no ECC memory, lower reliability for 24/7 production