NVIDIA A100 40GB SXM4 vs NVIDIA A40, AI & Machine Learning Comparison

NVIDIA A100 40GB SXM4
NVIDIA A100 40GB SXM4
vs
NVIDIA A40
NVIDIA A40

NVIDIA A100 40GB SXM4 wins 8 of 9 benchmarks, averaging 90.4% 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 A100 40GB SXM4 leads by 209% (9.975 vs 3.225 images/min); the closest fight is Qwen3-4B (20% apart); VRAM decides part of this one: NVIDIA A40 runs 135 of our 12 AI workloads while the other card runs 8, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA A100 40GB SXM4NVIDIA A40Difference
Qwen3-4B tok/s193.14160.79+20%
Llama-3.1-8B tok/s157.26106.18+48%
Qwen2.5-Coder-14B tok/s86.257.85+49%
Qwen3-32B tok/s43.826.89+63%
Llama-3.3-70B tok/s00n/a
Stable Diffusion XL images/min18.5769.2+102%
Z-Image Turbo images/min9.9753.225+209%
FLUX.1 dev images/min4.2641.95+119%
Wan 2.2 5B (720p) frames/s0.660.31+113%

Whole-job comparison

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

WorkflowNVIDIA A100 40GB SXM4NVIDIA A40DifferenceCost per run
24-frame storyboard3 min10.2 minNVIDIA A100 40GB SXM4 3.35x faster$0.051 vs $0.060
Full codebase review11.7 min17.3 minNVIDIA A100 40GB SXM4 1.48x faster$0.195 vs $0.101
10 short social clips13.7 min33.4 minNVIDIA A100 40GB SXM4 2.45x faster$0.228 vs $0.195

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

Cost to rent

CardPer hour
NVIDIA A100 40GB SXM4$1.000
NVIDIA A40$0.350

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

Specifications compared

NVIDIA A100 40GB SXM4NVIDIA A40
VRAM40GB48GB
ArchitectureAmpereAmpere
Memory bandwidth1555 GB/s696 GB/s
Boost clock1,410 MHz1,740 MHz
TDP400 W300 W
Launch MSRP$12,000$5,000
Release2020-05-142020-10-05

FAQ

Which is better for ai & machine learning: NVIDIA A100 40GB SXM4 or NVIDIA A40?
NVIDIA A100 40GB SXM4 performs better for ai & machine learning, winning 8 of 9 benchmarks in our suite with an average 90.4% advantage.
What are the main hardware differences between NVIDIA A100 40GB SXM4 and NVIDIA A40?
NVIDIA A100 40GB SXM4 has 40GB VRAM and a 400W TDP, while NVIDIA A40 has 48GB VRAM and a 300W TDP.
Does VRAM matter more than speed between NVIDIA A100 40GB SXM4 and NVIDIA A40?
For AI, yes, NVIDIA A40 fits 15 more of our 12 workloads than NVIDIA A100 40GB SXM4. 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 A100 40GB SXM4 and NVIDIA A40?
Z-Image Turbo: NVIDIA A100 40GB SXM4 leads by roughly 209% (9.975 vs 3.225 images/min) in our testing.

NVIDIA A100 40GB SXM4 full review · NVIDIA A40 full review · All AI & Machine Learning rankings