NVIDIA L40 vs NVIDIA RTX A4000, AI & Machine Learning Comparison

NVIDIA L40
NVIDIA L40
vs
NVIDIA RTX A4000
NVIDIA RTX A4000

NVIDIA L40 wins 9 of 10 benchmarks, averaging 88.8% faster.

NVIDIA L40's numbers are anchored estimates calibrated against our measured cards, pending first-party measurement. Treat small gaps as ties.

What the numbers say

The gap is widest in Stable Diffusion XL, where NVIDIA L40 leads by 114% (11.2 vs 5.24 images/min); the closest fight is Llama 3.1 8B (79% apart); VRAM decides part of this one: NVIDIA L40 runs 11 of our 12 AI workloads while the other card runs 4, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA L40NVIDIA RTX A4000Difference
Qwen3 4B tok/s211.33116.23+82%
Llama 3.1 8B tok/s135.1275.52+79%
Qwen2.5-Coder 14B tok/s74.2741.13+81%
Qwen3 32B tok/s34.080n/a
Llama 3.3 70B tok/s00n/a
Stable Diffusion XL images/min11.25.24+114%
FLUX.1 dev images/min2.4640n/a
FLUX.1 Kontext dev images/min1.1140n/a
Qwen-Image-Edit images/min0.480n/a
Wan 2.2 5B (720p) frames/s0.370n/a

Whole-job comparison

How long each card takes to finish a complete pipeline, not just one model. NVIDIA L40 is faster on 1 of 1; NVIDIA RTX A4000 on 0.

WorkflowNVIDIA L40NVIDIA RTX A4000DifferenceCost per run
Full codebase review13.5 min24.3 minNVIDIA L40 1.81x faster$0.155 vs $0.069

Renting by the hour, NVIDIA RTX A4000 finishes 1 of 1 cheaper. The quicker card is not automatically the cheaper way to get the work done.

Cost to rent

CardPer hour
NVIDIA L40$0.690
NVIDIA RTX A4000$0.170

NVIDIA RTX A4000 is 4.06x cheaper per hour. Cheapest on-demand rate we see across RunPod and Vast.

Specifications compared

NVIDIA L40NVIDIA RTX A4000
VRAM48GB16GB
ArchitectureAda LovelaceAmpere
Memory bandwidth864 GB/s448 GB/s
Boost clock2,490 MHz1,560 MHz
TDP300 W140 W
Launch MSRP$7,000$999
Release2022-10-132021-04-12

FAQ

Which is better for ai & machine learning: NVIDIA L40 or NVIDIA RTX A4000?
NVIDIA L40 performs better for ai & machine learning, winning 9 of 10 benchmarks in our suite with an average 88.8% advantage.
What are the main hardware differences between NVIDIA L40 and NVIDIA RTX A4000?
NVIDIA L40 has 48GB VRAM and a 300W TDP, while NVIDIA RTX A4000 has 16GB VRAM and a 140W TDP.
Does VRAM matter more than speed between NVIDIA L40 and NVIDIA RTX A4000?
For AI, yes, NVIDIA L40 fits 6 more of our 12 workloads than NVIDIA RTX A4000. A model that exceeds VRAM doesn't run slower, it doesn't run at all, so the card that fits the model wins that workload outright.
Where is the biggest performance difference between NVIDIA L40 and NVIDIA RTX A4000?
Stable Diffusion XL: NVIDIA L40 leads by roughly 114% (11.2 vs 5.24 images/min) in our testing.

NVIDIA L40 full review · NVIDIA RTX A4000 full review · All AI & Machine Learning rankings