NVIDIA GeForce RTX 4070 vs NVIDIA L40, AI & Machine Learning Comparison

NVIDIA GeForce RTX 4070
NVIDIA GeForce RTX 4070
vs
NVIDIA L40
NVIDIA L40

NVIDIA L40 wins 10 of 11 benchmarks, averaging 44.2% 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 Qwen2.5-Coder 14B, where NVIDIA L40 leads by 46% (50.74 vs 74.27 tok/s); the closest fight is Qwen3 4B (41% apart); VRAM decides part of this one: NVIDIA L40 runs 11 of our 12 AI workloads while the other card runs 3, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA GeForce RTX 4070NVIDIA L40Difference
Qwen3 4B tok/s149.68211.33-29%
Llama 3.1 8B tok/s93.16135.12-31%
Qwen2.5-Coder 14B tok/s50.7474.27-32%
Qwen3 32B tok/s034.08n/a
Llama 3.3 70B tok/s00n/a
Z-Image Turbo images/min05.625n/a
FLUX.1 dev images/min02.464n/a
FLUX.1 Kontext dev images/min01.114n/a
Qwen-Image-Edit images/min00.48n/a
LTX-Video (distilled) frames/s02.61n/a
Wan 2.2 5B (720p) frames/s00.37n/a

Whole-job comparison

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

WorkflowNVIDIA GeForce RTX 4070NVIDIA L40DifferenceCost per run
Full codebase review19.7 min13.5 minNVIDIA L40 1.46x faster$0.025 vs $0.155

Renting by the hour, NVIDIA GeForce RTX 4070 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 GeForce RTX 4070$0.076
NVIDIA L40$0.690

NVIDIA GeForce RTX 4070 is 9.08x cheaper per hour. Cheapest on-demand rate we see across RunPod and Vast.

Specifications compared

NVIDIA GeForce RTX 4070NVIDIA L40
VRAM12GB48GB
ArchitectureAda LovelaceAda Lovelace
Memory bandwidth504 GB/s864 GB/s
Boost clock2,475 MHz2,490 MHz
TDP200 W300 W
Launch MSRP$599$7,000
Release2023-04-132022-10-13

FAQ

Which is better for ai & machine learning: NVIDIA GeForce RTX 4070 or NVIDIA L40?
NVIDIA L40 performs better for ai & machine learning, winning 10 of 11 benchmarks in our suite with an average 44.2% advantage.
What are the main hardware differences between NVIDIA GeForce RTX 4070 and NVIDIA L40?
NVIDIA GeForce RTX 4070 has 12GB VRAM and a 200W TDP, while NVIDIA L40 has 48GB VRAM and a 300W TDP.
Does VRAM matter more than speed between NVIDIA GeForce RTX 4070 and NVIDIA L40?
For AI, yes, NVIDIA L40 fits 8 more of our 12 workloads than NVIDIA GeForce RTX 4070. 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 GeForce RTX 4070 and NVIDIA L40?
Qwen2.5-Coder 14B: NVIDIA L40 leads by roughly 46% (50.74 vs 74.27 tok/s) in our testing.

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