NVIDIA A40 vs NVIDIA L40, AI & Machine Learning Comparison

NVIDIA A40
NVIDIA A40
vs
NVIDIA L40
NVIDIA L40

NVIDIA L40 wins 8 of 9 benchmarks, averaging 32% faster.

Both cards' 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 Z-Image Turbo, where NVIDIA L40 leads by 74% (3.225 vs 5.625 images/min); the closest fight is Wan 2.2 5B (720p) (19% apart).

Benchmark results head-to-head

BenchmarkNVIDIA A40NVIDIA L40Difference
Qwen3 4B tok/s160.79211.33-24%
Llama 3.1 8B tok/s106.18135.12-21%
Qwen2.5-Coder 14B tok/s57.8574.27-22%
Qwen3 32B tok/s26.8934.08-21%
Llama 3.3 70B tok/s00n/a
Stable Diffusion XL images/min9.211.2-18%
Z-Image Turbo images/min3.2255.625-43%
FLUX.1 dev images/min1.952.464-21%
Wan 2.2 5B (720p) frames/s0.310.37-16%

Whole-job comparison

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

WorkflowNVIDIA A40NVIDIA L40DifferenceCost per run
24-frame storyboard10.2 min7 minNVIDIA L40 1.46x faster$0.060 vs $0.080
Full codebase review17.3 min13.5 minNVIDIA L40 1.28x faster$0.101 vs $0.155
10 short social clips33.4 min28.2 minNVIDIA L40 1.19x faster$0.195 vs $0.324

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

Cost to rent

CardPer hour
NVIDIA A40$0.350
NVIDIA L40$0.690

NVIDIA A40 is 1.97x cheaper per hour. Cheapest on-demand rate we see across RunPod and Vast.

Specifications compared

NVIDIA A40NVIDIA L40
VRAM48GB48GB
ArchitectureAmpereAda Lovelace
Memory bandwidth696 GB/s864 GB/s
Boost clock1,740 MHz2,490 MHz
TDP300 W300 W
Launch MSRP$5,000$7,000
Release2020-10-052022-10-13

FAQ

Which is better for ai & machine learning: NVIDIA A40 or NVIDIA L40?
NVIDIA L40 performs better for ai & machine learning, winning 8 of 9 benchmarks in our suite with an average 32% advantage.
What are the main hardware differences between NVIDIA A40 and NVIDIA L40?
NVIDIA A40 has 48GB VRAM and a 300W TDP, while NVIDIA L40 has 48GB VRAM and a 300W TDP.
Where is the biggest performance difference between NVIDIA A40 and NVIDIA L40?
Z-Image Turbo: NVIDIA L40 leads by roughly 74% (3.225 vs 5.625 images/min) in our testing.

NVIDIA A40 full review · NVIDIA L40 full review · All AI & Machine Learning rankings