NVIDIA A100 40GB SXM4 vs NVIDIA H100 80GB HBM3, AI & Machine Learning Comparison

NVIDIA A100 40GB SXM4
NVIDIA A100 40GB SXM4
vs
NVIDIA H100 80GB HBM3
NVIDIA H100 80GB HBM3

NVIDIA H100 80GB HBM3 wins 148 of 150 benchmarks, averaging 74.2% faster.

NVIDIA A100 40GB SXM4'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 SmolLM2 1.7B LoRA, where NVIDIA H100 80GB HBM3 leads by 173% (6938.8 vs 18910.3 train tok/s); the closest fight is Qwen2.5 1.5B + 0.5B draft (4% apart); VRAM decides part of this one: NVIDIA H100 80GB HBM3 runs 156 of our 12 AI workloads while the other card runs 135, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA A100 40GB SXM4NVIDIA H100 80GB HBM3Difference
Qwen3-4B tok/s193.14310.26-38%
Llama-3.1-8B tok/s157.26261.83-40%
Qwen2.5-Coder-14B tok/s86.2144.84-40%
Qwen3-32B tok/s43.874.07-41%
Llama-3.3-70B tok/s041n/a
Stable Diffusion XL images/min18.57634.58-46%
Z-Image Turbo images/min9.97522.125-55%
FLUX.1 dev images/min4.2649.064-53%
FLUX.1 Kontext dev images/min1.9934.264-53%
Qwen-Image-Edit images/min03.68n/a
LTX-Video (distilled) frames/s8.9517.47-49%
Wan 2.2 5B (720p) frames/s0.661.33-50%
DeepSeek-R1 Distill Llama 8B tok/s157.16261.15-40%
DeepSeek-R1 Distill 1.5B tok/s320.78537.32-40%
DeepSeek-R1 Distill 14B tok/s86.39144.82-40%
DeepSeek-R1 Distill 7B tok/s159.09264.42-40%
Gemma 3 12B tok/s88.97150.58-41%
Gemma 3 4B tok/s174.14289.61-40%
Gemma 4 12B tok/s87.14148.17-41%
Llama 3.2 1B tok/s532.08880.64-40%
Llama 3.2 3B tok/s261.24422.87-38%
Mistral 7B v0.3 tok/s165.9275.85-40%
Mistral Small 24B tok/s62.42105.62-41%
Phi-4 14B tok/s98.65165.17-40%
Phi-4 Mini 3.8B tok/s236.71388.86-39%
Qwen2.5-Coder 7B tok/s159.9263.91-39%
Qwen3 0.6B tok/s417.88713.53-41%
Qwen3 1.7B tok/s340.76556.48-39%
Qwen3 14B tok/s90.01151.16-40%
Qwen3 30B A3B tok/s169.1283.78-40%
Qwen3 8B tok/s146.21244.22-40%
SmolLM3 3B tok/s246.25397.99-38%
Codestral 22B tok/s63.74110.05-42%
DeepSeek-R1 Distill 32B tok/s43.1375.8-43%
Devstral Small 24B tok/s62.4107.79-42%
Dolphin 2.9.1 Yi 1.5 34B tok/s42.9776.76-44%
Dolphin Mistral 24B Venice tok/s62.46109.13-43%
Dolphin X1 8B tok/s156.3266-41%
Dolphin 3.0 Llama 3.1 8B tok/s156.55266.19-41%
Dolphin 3.0 R1 Mistral 24B tok/s62.4107.83-42%
Gemma 3 27B tok/s47.4784.77-44%
Qwen2.5-Coder 32B tok/s43.1475.81-43%
Qwen3-Coder 30B A3B tok/s173.47296.22-41%
QwQ 32B tok/s43.0275.82-43%
StarCoder2 15B tok/s80.25134.92-41%
FLUX.1 Schnell images/min28.4458.36-51%
Z-Image Turbo (1024px) images/min18.739.42-53%
BiRefNet images/min611.561310.97-53%
Depth Anything V2 Large images/min536.74918.71-42%
Depth Anything V2 Small images/min613.421081.54-43%
SAM ViT-Base images/min696.771431.27-51%
SAM ViT-Huge images/min146.81320.64-54%
Swin2SR 4x Upscaler images/min17.2525.48-32%
Kokoro TTS 82M x realtime142.03222.02-36%
MusicGen Small x realtime1.082.47-56%
Whisper large-v3 x realtime102.47181.47-44%
Dolphin X1 Trinity Nano 6B tok/s153.27247.94-38%
gpt-oss-20b tok/s205.1346.8-41%
Olmo-3.1-32B-Think tok/s43.6775.53-42%
Dolphin-Mistral-24B-Venice-Edition tok/s62.56105.63-41%
DeepSeek-Coder-V2-Lite tok/s205.42309.14-34%
DeepSeek-R1-0528-Qwen3-8B tok/s145.84245.26-41%
EVA-Qwen2.5-14B-v0.2 tok/s86.48145.15-40%
Qwen2.5 1.5B LoRA train tok/s6349.716034.9-60%
Qwen2.5 7B LoRA train tok/s3670.88514.3-57%
SmolLM2 1.7B LoRA train tok/s6938.818910.3-63%
TinyLlama 1.1B LoRA train tok/s747117522-57%
gemma-2-2b-it-abliterated tok/s232.27392.65-41%
gemma-2-2b tok/s234.68392.26-40%
gemma-2-9b tok/s101.97174.7-42%
gemma-3-1b tok/s310.69504.17-38%
gemma-3-270m tok/s574.24961.29-40%
GLM-4.7-Flash tok/s119.1186.05-36%
SmolLM3-3B tok/s247.66399.14-38%
KAT-Coder-V2.5-Dev tok/s137.31231.83-41%
LFM2.5-1.2B tok/s572.69926.61-38%
Llama-2-7B tok/s172.53284.62-39%
Llama-3.2-3B-Instruct-uncensored tok/s260.83424.25-39%
Meta-Llama-3.1-8B tok/s156.68261.7-40%
Phi-4-mini tok/s237.38381.52-38%
Mistral-7B-Instruct-v0.1 tok/s166.39276.29-40%
Mistral-7B-Instruct-v0.2 tok/s166.8276.73-40%
Mistral-7B-Instruct-v0.3 tok/s167.06276.61-40%
Ornith-1.0-35B tok/s131.77221.65-41%
Ornith-1.0-9B tok/s126.79216.89-42%
Phi-3.5-mini tok/s222.53345.07-36%
Qwen-AgentWorld-35B-A3B tok/s131.16219.1-40%
Qwen3-0.6B tok/s408.39710.97-43%
Qwen3-1.7B tok/s341.85557.09-39%
Qwen3-14B tok/s90.07152.2-41%
Qwen3-8B tok/s145.96244.2-40%
Qwen2.5-0.5B tok/s517.09890-42%
Qwen2.5-1.5B tok/s315.59537.24-41%
Qwen2.5-14B tok/s86.07144.7-41%
Qwen2.5-32B tok/s43.2373.5-41%
Qwen2.5-3B tok/s240.48395.52-39%
Qwen2.5-7B tok/s159.81264.17-40%
Qwen2.5-Coder-1.5B tok/s322.96538.44-40%
Qwen2.5-Coder-3B tok/s241.51394-39%
AI21-Jamba-Reasoning-3B tok/s231.15363.09-36%
Codestral 22B (Q3_K_M) tok/s48.3787.21-45%
DarkIdol-Llama-3.1-8B-Instruct-1.2-Uncensored tok/s156.62262.76-40%
DeepSeek-R1 Distill 14B (Q3_K_M) tok/s65.33118.43-45%
DeepSeek-R1-Distill-Qwen-32B-abliterated tok/s43.0773.48-41%
dolphin-2.9-llama3-8b tok/s153.34262.47-42%
Gemma 3 12B (Q3_K_M) tok/s69.7125.92-45%
GLM-4.7-Flash-REAP-23B-A3B tok/s109.1168.41-35%
Josiefied-Qwen3-8B-abliterated-v1 tok/s146.8245-40%
Hermes-3-Llama-3.2-3B tok/s261423.72-38%
L3-8B-Stheno-v3.2 tok/s156.55261.83-40%
LFM2.5-8B-A1B tok/s351.47581.98-40%
Mistral-Nemo-Instruct-2407 tok/s106.33177.38-40%
Mistral Small 24B (Q3_K_M) tok/s45.3484-46%
NemoMix-Unleashed-12B tok/s105.05177.28-41%
Nemotron-3-Nano-30B-A3B tok/s192.44316.51-39%
Hermes-4-14B tok/s89.97152-41%
phi-2 tok/s228.1340.09-33%
Phi-4 14B (Q3_K_M) tok/s80.71138.87-42%
Qwen3-30B-A3B tok/s167.1285.44-41%
Qwen3-4B-Instruct-2507 tok/s192.89310.58-38%
Qwen1.5-0.5B tok/s497.73847.02-41%
Qwen2-1.5B tok/s322.09536.52-40%
Uncensored tok/s85.82144.92-41%
Qwen2.5-Coder-0.5B tok/s542.36892.81-39%
Qwen2.5-Coder-14B-Instruct-abliterated tok/s86.34145.01-40%
Qwen2.5-Coder 32B (Q3_K_M) tok/s31.0458.05-47%
Qwen2.5-Coder-7B-Instruct-abliterated tok/s159.76264.24-40%
Qwen3 30B A3B (Q3_K_M) tok/s142.78242.6-41%
Qwen3-4B-Instruct-2507 tok/s193.39311.47-38%
Qwen3-4B-Thinking-2507 tok/s189.89310.84-39%
SmolLM2-135M tok/s544.06898.53-39%
Cydonia-24B-v4.3 tok/s62.41105.49-41%
Qwen2.5 1.5B served serve tok/s4111.16794.8-39%
Qwen2.5 7B served serve tok/s1769.63601.1-51%
SmolLM2 1.7B served serve tok/s3865.26509.9-41%
TinyLlama 1.1B served serve tok/s3221.38336.7-61%
Qwen2.5 1.5B + 0.5B draft x vs solo0.6940.725-4%
Qwen3-Coder-Next-abliterated tok/s0190.32n/a
Laguna-XS-2.1 tok/s00n/a
Nanbeige4.2-3B tok/s00n/a
Qwen3-Coder-Next tok/s0188.21n/a
Qwen3-Next-80B-A3B-Thinking tok/s0188.14n/a
Qwen2.5-72B tok/s040.78n/a
Qwen3-Coder-Next tok/s0193.79n/a
Qwen3-Next-80B-A3B-Thinking tok/s0191.08n/a
Qwen3-Next-80B-A3B tok/s0186.22n/a
DeepSeek-R1-Distill-Llama-70B tok/s041.17n/a
Hermes-4-70B tok/s041.2n/a
Llama-3.3-70B-Instruct-abliterated tok/s041.15n/a
Meta-Llama-3.1-70B tok/s041.19n/a

Whole-job comparison

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

WorkflowNVIDIA A100 40GB SXM4NVIDIA H100 80GB HBM3DifferenceCost per run
50-image depth pass10 s5 sNVIDIA H100 80GB HBM3 1.76x faster$0.003 vs $0.002
30-minute podcast pass59 s34 sNVIDIA H100 80GB HBM3 1.73x faster$0.016 vs $0.013
24-frame storyboard3 min1.8 minNVIDIA H100 80GB HBM3 1.68x faster$0.051 vs $0.040
500-image masking run3.5 min1.6 minNVIDIA H100 80GB HBM3 2.16x faster$0.058 vs $0.036
60-second AI short film4 min2.5 minNVIDIA H100 80GB HBM3 1.60x faster$0.066 vs $0.055
60-second AI short film, narrated4.2 min2.6 minNVIDIA H100 80GB HBM3 1.58x faster$0.070 vs $0.059
6-panel comic page4.8 min3 minNVIDIA H100 80GB HBM3 1.61x faster$0.080 vs $0.066
Character sheet, 12 poses6.3 min3.7 minNVIDIA H100 80GB HBM3 1.71x faster$0.104 vs $0.082
Full codebase review11.7 min6.9 minNVIDIA H100 80GB HBM3 1.69x faster$0.195 vs $0.154
200-product catalogue cutout12.2 min8.1 minNVIDIA H100 80GB HBM3 1.49x faster$0.203 vs $0.181
10 short social clips13.7 min8 minNVIDIA H100 80GB HBM3 1.71x faster$0.228 vs $0.178
40-product photo shoot22.2 min11.1 minNVIDIA H100 80GB HBM3 2.00x faster$0.370 vs $0.248
40-product shoot, start to finish24.8 min12.9 minNVIDIA H100 80GB HBM3 1.93x faster$0.414 vs $0.287
100-photo restoration batch50.2 min23.8 minNVIDIA H100 80GB HBM3 2.11x faster$0.836 vs $0.531
100-photo restore and enlarge56 min27.8 minNVIDIA H100 80GB HBM3 2.02x faster$0.934 vs $0.618

Renting by the hour, NVIDIA H100 80GB HBM3 finishes 15 of 15 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 H100 80GB HBM3$1.336

NVIDIA A100 40GB SXM4 is 1.34x cheaper per hour. Cheapest on-demand rate we see across RunPod and Vast.

Specifications compared

NVIDIA A100 40GB SXM4NVIDIA H100 80GB HBM3
VRAM40GB80GB
ArchitectureAmpereHopper
Memory bandwidth1555 GB/s3350 GB/s
Boost clock1,410 MHz1,980 MHz
TDP400 W700 W
Launch MSRP$12,000$30,000
Release2020-05-142022-09-20

FAQ

Which is better for ai & machine learning: NVIDIA A100 40GB SXM4 or NVIDIA H100 80GB HBM3?
NVIDIA H100 80GB HBM3 performs better for ai & machine learning, winning 148 of 150 benchmarks in our suite with an average 74.2% advantage.
What are the main hardware differences between NVIDIA A100 40GB SXM4 and NVIDIA H100 80GB HBM3?
NVIDIA A100 40GB SXM4 has 40GB VRAM and a 400W TDP, while NVIDIA H100 80GB HBM3 has 80GB VRAM and a 700W TDP.
Does VRAM matter more than speed between NVIDIA A100 40GB SXM4 and NVIDIA H100 80GB HBM3?
For AI, yes, NVIDIA H100 80GB HBM3 fits 13 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 H100 80GB HBM3?
SmolLM2 1.7B LoRA: NVIDIA H100 80GB HBM3 leads by roughly 173% (6938.8 vs 18910.3 train tok/s) in our testing.

NVIDIA A100 40GB SXM4 full review · NVIDIA H100 80GB HBM3 full review · All AI & Machine Learning rankings