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

NVIDIA L40S
NVIDIA L40S
vs
NVIDIA RTX A4000
NVIDIA RTX A4000

NVIDIA L40S wins 10 of 10 benchmarks, averaging 117% faster.

Both cards were measured first-party on our bench, same suite, same test rig.

What the numbers say

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

Benchmark results head-to-head

BenchmarkNVIDIA L40SNVIDIA RTX A4000Difference
Qwen3-4B tok/s212.05116.23+82%
Llama-3.1-8B tok/s135.5175.52+79%
Qwen2.5-Coder-14B tok/s74.641.13+81%
Qwen3-32B tok/s34.440n/a
Llama-3.3-70B tok/s16.490n/a
Stable Diffusion XL images/min17.025.24+225%
FLUX.1 dev images/min3.8360n/a
FLUX.1 Kontext dev images/min1.6930n/a
Qwen-Image-Edit images/min1.060n/a
Wan 2.2 5B (720p) frames/s0.490n/a

Whole-job comparison

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

WorkflowNVIDIA L40SNVIDIA RTX A4000DifferenceCost per run
Full codebase review13.5 min24.3 minNVIDIA L40S 1.81x faster$0.177 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 L40S$0.790
NVIDIA RTX A4000$0.170

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

Specifications compared

NVIDIA L40SNVIDIA RTX A4000
VRAM48GB16GB
ArchitectureAda LovelaceAmpere
Memory bandwidth864 GB/s448 GB/s
Boost clock2,520 MHz1,560 MHz
TDP350 W140 W
Launch MSRP$7,500$999
Release2023-08-082021-04-12

FAQ

Which is better for ai & machine learning: NVIDIA L40S or NVIDIA RTX A4000?
NVIDIA L40S performs better for ai & machine learning, winning 10 of 10 benchmarks in our suite with an average 117% advantage.
What are the main hardware differences between NVIDIA L40S and NVIDIA RTX A4000?
NVIDIA L40S has 48GB VRAM and a 350W TDP, while NVIDIA RTX A4000 has 16GB VRAM and a 140W TDP.
Does VRAM matter more than speed between NVIDIA L40S and NVIDIA RTX A4000?
For AI, yes, NVIDIA RTX A4000 fits 2 more of our 12 workloads than NVIDIA L40S. 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 L40S and NVIDIA RTX A4000?
Stable Diffusion XL: NVIDIA L40S leads by roughly 225% (17.02 vs 5.24 images/min) in our testing.

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