NVIDIA H100 80GB HBM3 vs NVIDIA L40S, AI & Machine Learning Comparison

NVIDIA H100 80GB HBM3
NVIDIA H100 80GB HBM3
vs
NVIDIA L40S
NVIDIA L40S

NVIDIA H100 80GB HBM3 wins 147 of 155 benchmarks, averaging 72.6% faster.

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

What the numbers say

The gap is widest in Qwen-Image-Edit, where NVIDIA H100 80GB HBM3 leads by 247% (3.68 vs 1.06 images/min); the closest fight is Dolphin X1 Trinity Nano 6B (1% apart); VRAM decides part of this one: NVIDIA H100 80GB HBM3 runs 156 of our 12 AI workloads while the other card runs 152, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA H100 80GB HBM3NVIDIA L40SDifference
Qwen3 4B tok/s310.26212.05+46%
Llama 3.1 8B tok/s261.83135.51+93%
Qwen2.5-Coder 14B tok/s144.8474.6+94%
Qwen3 32B tok/s74.0734.44+115%
Llama 3.3 70B tok/s4116.49+149%
Stable Diffusion XL images/min34.5817.02+103%
Z-Image Turbo images/min22.1258.325+166%
FLUX.1 dev images/min9.0643.836+136%
FLUX.1 Kontext dev images/min4.2641.693+152%
Qwen-Image-Edit images/min3.681.06+247%
LTX-Video (distilled) frames/s17.478.01+118%
Wan 2.2 5B (720p) frames/s1.330.49+171%
DeepSeek-R1 Distill Llama 8B tok/s261.15135.55+93%
DeepSeek-R1 Distill 1.5B tok/s537.32426.38+26%
DeepSeek-R1 Distill 7B tok/s264.42143.97+84%
Gemma 3 12B tok/s150.5880.92+86%
Gemma 3 4B tok/s289.61198.87+46%
Llama 3.2 1B tok/s880.64618.87+42%
Llama 3.2 3B tok/s422.87270.85+56%
Mistral 7B v0.3 tok/s275.85144.74+91%
Phi-4 Mini 3.8B tok/s388.86228.93+70%
Qwen2.5-Coder 7B tok/s263.91143.93+83%
Qwen3 0.6B tok/s713.53655.75+9%
Qwen3 1.7B tok/s556.48405.52+37%
Qwen3 14B tok/s151.1675.12+101%
Qwen3 8B tok/s244.22130.27+87%
SmolLM3 3B tok/s397.99272.88+46%
DeepSeek-R1 Distill 14B tok/s144.8274.6+94%
Gemma 4 12B tok/s148.1780.82+83%
Mistral Small 24B tok/s105.6248.43+118%
Phi-4 14B tok/s165.1774.98+120%
Qwen3 30B A3B tok/s283.78213.66+33%
TRELLIS Image-to-3D assets/hour864776.1+11%
Codestral 22B tok/s110.0550.06+120%
DeepSeek-R1 Distill 32B tok/s75.834.6+119%
Devstral Small 24B tok/s107.7948.43+123%
Dolphin 2.9.1 Yi 1.5 34B tok/s76.7633.08+132%
Dolphin Mistral 24B Venice tok/s109.1348.43+125%
Dolphin X1 8B tok/s266135.48+96%
Dolphin 3.0 Llama 3.1 8B tok/s266.19135.55+96%
Dolphin 3.0 R1 Mistral 24B tok/s107.8348.4+123%
Gemma 3 27B tok/s84.7738.48+120%
Qwen2.5-Coder 32B tok/s75.8134.59+119%
Qwen3-Coder 30B A3B tok/s296.22219.04+35%
QwQ 32B tok/s75.8234.59+119%
StarCoder2 15B tok/s134.9266.88+102%
FLUX.1 Schnell images/min58.3626.24+122%
Z-Image Turbo (1024px) images/min39.4218.2+117%
BiRefNet images/min1310.97863.81+52%
Depth Anything V2 Large images/min918.71959.33-4%
Depth Anything V2 Small images/min1081.54970.61+11%
SAM ViT-Base images/min1431.27998.79+43%
SAM ViT-Huge images/min320.64238.08+35%
Swin2SR 4x Upscaler images/min25.4834.14-25%
Kokoro TTS 82M x realtime222.02243.99-9%
MusicGen Small x realtime2.472.43+2%
Whisper large-v3 x realtime181.47193.2-6%
Florence-2 Base images/min249.62184.2+36%
Florence-2 Large images/min156.15106.54+47%
Qwen2.5 1.5B LoRA train tok/s16034.912120.1+32%
Qwen2.5 7B LoRA train tok/s8514.33736+128%
SmolLM2 1.7B LoRA train tok/s18910.312052.1+57%
TinyLlama 1.1B LoRA train tok/s1752216408.1+7%
CogVideoX-5B I2V clips/min0.8790.383+130%
Qwen2.5 1.5B served serve tok/s6794.84686.8+45%
Qwen2.5 7B served serve tok/s3601.11406.8+156%
SmolLM2 1.7B served serve tok/s6509.93525.9+85%
TinyLlama 1.1B served serve tok/s8336.76278.4+33%
Stable Video Diffusion XT clips/min2.8821.166+147%
Wan 2.2 TI2V-5B (image to video) clips/min4.1261.606+157%
Qwen2.5 1.5B + 0.5B draft x vs solo0.7250.946-23%
AI21-Jamba-Reasoning-3B tok/s363.09258.41+41%
Olmo-3.1-32B-Think tok/s75.5334.11+121%
Codestral 22B (Q3_K_M) tok/s87.2159.53+46%
Dolphin-Mistral-24B-Venice-Edition tok/s105.6348.43+118%
DarkIdol-Llama-3.1-8B-Instruct-1.2-Uncensored tok/s262.76134.78+95%
DeepSeek-Coder-V2-Lite tok/s309.14257.64+20%
DeepSeek-R1-0528-Qwen3-8B tok/s245.26130.23+88%
DeepSeek-R1-Distill-Llama-70B tok/s41.1716.49+150%
DeepSeek-R1 Distill 14B (Q3_K_M) tok/s118.4385.85+38%
DeepSeek-R1-Distill-Qwen-32B-abliterated tok/s73.4834.43+113%
dolphin-2.9-llama3-8b tok/s262.47134.94+95%
Dolphin X1 Trinity Nano 6B tok/s247.94246.45+1%
EVA-Qwen2.5-14B-v0.2 tok/s145.1574.63+94%
gemma-2-2b-it-abliterated tok/s392.65278.14+41%
gemma-2-2b tok/s392.26278.1+41%
gemma-2-9b tok/s174.788.87+97%
Gemma 3 12B (Q3_K_M) tok/s125.9293.05+35%
gemma-3-1b tok/s504.17426.49+18%
gemma-3-270m tok/s961.29822.52+17%
GLM-4.7-Flash-REAP-23B-A3B tok/s168.41146.51+15%
GLM-4.7-Flash tok/s186.05157.89+18%
Josiefied-Qwen3-8B-abliterated-v1 tok/s245130.25+88%
gpt-oss-20b tok/s346.8233.82+48%
Hermes-3-Llama-3.2-3B tok/s423.72265.87+59%
Hermes-4-70B tok/s41.216.45+150%
SmolLM3-3B tok/s399.14272.96+46%
Qwen3-Coder-Next-abliterated tok/s190.320n/a
KAT-Coder-V2.5-Dev tok/s231.83173.06+34%
L3-8B-Stheno-v3.2 tok/s261.83135.53+93%
Laguna-XS-2.1 tok/s00n/a
LFM2.5-1.2B tok/s926.61661.54+40%
LFM2.5-8B-A1B tok/s581.98394.48+48%
Llama-2-7B tok/s284.62150.35+89%
Llama-3.2-3B-Instruct-uncensored tok/s424.25271.01+57%
Llama-3.3-70B-Instruct-abliterated tok/s41.1516.49+150%
Meta-Llama-3.1-70B tok/s41.1916.49+150%
Meta-Llama-3.1-8B tok/s261.7135.46+93%
Phi-4-mini tok/s381.52229.28+66%
Mistral-7B-Instruct-v0.1 tok/s276.29144.82+91%
Mistral-7B-Instruct-v0.2 tok/s276.73144.82+91%
Mistral-7B-Instruct-v0.3 tok/s276.61144.68+91%
Mistral-Nemo-Instruct-2407 tok/s177.3889.72+98%
Mistral Small 24B (Q3_K_M) tok/s8458.21+44%
Nanbeige4.2-3B tok/s00n/a
NemoMix-Unleashed-12B tok/s177.2888.85+100%
Nemotron-3-Nano-30B-A3B tok/s316.51190.96+66%
Hermes-4-14B tok/s15275.1+102%
Ornith-1.0-35B tok/s221.65157.39+41%
Ornith-1.0-9B tok/s216.89114.57+89%
phi-2 tok/s340.09283.26+20%
Phi-3.5-mini tok/s345.07229.06+51%
Phi-4 14B (Q3_K_M) tok/s138.8789.18+56%
Qwen-AgentWorld-35B-A3B tok/s219.1156.98+40%
Qwen3-0.6B tok/s710.97656.26+8%
Qwen3-1.7B tok/s557.09405.3+37%
Qwen3-14B tok/s152.275.01+103%
Qwen3-30B-A3B tok/s285.44214.05+33%
Qwen3-4B-Instruct-2507 tok/s310.58210.24+48%
Qwen3-8B tok/s244.2130.28+87%
Qwen3-Coder-Next tok/s188.210n/a
Qwen3-Next-80B-A3B-Thinking tok/s188.140n/a
Qwen1.5-0.5B tok/s847.02774.78+9%
Qwen2-1.5B tok/s536.52416.57+29%
Qwen2.5-0.5B tok/s890738.06+21%
Qwen2.5-1.5B tok/s537.24427.23+26%
Uncensored tok/s144.9274.31+95%
Qwen2.5-14B tok/s144.774.62+94%
Qwen2.5-32B tok/s73.534.59+112%
Qwen2.5-3B tok/s395.52270.04+46%
Qwen2.5-7B tok/s264.17143.94+84%
Qwen2.5-Coder-0.5B tok/s892.81715.81+25%
Qwen2.5-Coder-1.5B tok/s538.44427.12+26%
Qwen2.5-Coder-14B-Instruct-abliterated tok/s145.0174.63+94%
Qwen2.5-Coder 32B (Q3_K_M) tok/s58.0541.06+41%
Qwen2.5-Coder-3B tok/s394269.9+46%
Qwen2.5-Coder-7B-Instruct-abliterated tok/s264.24142.97+85%
Qwen3 30B A3B (Q3_K_M) tok/s242.6224.95+8%
Qwen3-4B-Instruct-2507 tok/s311.47212.05+47%
Qwen3-4B-Thinking-2507 tok/s310.84211.88+47%
Qwen3-Coder-Next tok/s193.790n/a
Qwen3-Next-80B-A3B-Thinking tok/s191.080n/a
Qwen3-Next-80B-A3B tok/s186.220n/a
SmolLM2-135M tok/s898.53916.56-2%
Cydonia-24B-v4.3 tok/s105.4948.43+118%

Whole-job comparison

How long each card takes to finish a complete pipeline, not just one model. NVIDIA H100 80GB HBM3 is faster on 16 of 17; NVIDIA L40S on 1.

WorkflowNVIDIA H100 80GB HBM3NVIDIA L40SDifferenceCost per run
50-image depth pass5 s6 sNVIDIA H100 80GB HBM3 1.11x faster$0.002 vs $0.001
30-minute podcast pass34 s75 sNVIDIA H100 80GB HBM3 2.21x faster$0.013 vs $0.017
500-image masking run1.6 min2.2 minNVIDIA H100 80GB HBM3 1.33x faster$0.036 vs $0.028
24-frame storyboard1.8 min4.1 minNVIDIA H100 80GB HBM3 2.23x faster$0.040 vs $0.053
20-asset 3D game kit2.2 min2.9 minNVIDIA H100 80GB HBM3 1.34x faster$0.049 vs $0.039
60-second AI short film2.5 min4.9 minNVIDIA H100 80GB HBM3 1.99x faster$0.055 vs $0.065
60-second AI short film, narrated2.6 min5.1 minNVIDIA H100 80GB HBM3 1.93x faster$0.059 vs $0.067
6-panel comic page3 min6.5 minNVIDIA H100 80GB HBM3 2.20x faster$0.066 vs $0.086
Character sheet, 12 poses3.7 min8.4 minNVIDIA H100 80GB HBM3 2.28x faster$0.082 vs $0.110
Full codebase review6.9 min13.5 minNVIDIA H100 80GB HBM3 1.95x faster$0.154 vs $0.177
10 short social clips8 min19.1 minNVIDIA H100 80GB HBM3 2.39x faster$0.178 vs $0.251
200-product catalogue cutout8.1 min6.2 minNVIDIA L40S 1.31x faster$0.181 vs $0.082
40-product photo shoot11.1 min26.7 minNVIDIA H100 80GB HBM3 2.40x faster$0.248 vs $0.352
20 long-form articles11.4 min28.5 minNVIDIA H100 80GB HBM3 2.50x faster$0.253 vs $0.375
40-product shoot, start to finish12.9 min28 minNVIDIA H100 80GB HBM3 2.18x faster$0.287 vs $0.369
100-photo restoration batch23.8 min59.6 minNVIDIA H100 80GB HBM3 2.50x faster$0.531 vs $0.784
100-photo restore and enlarge27.8 min62.5 minNVIDIA H100 80GB HBM3 2.25x faster$0.618 vs $0.823

Renting by the hour, NVIDIA H100 80GB HBM3 finishes 13 of 17 cheaper. The quicker card is not automatically the cheaper way to get the work done.

Cost to rent

CardPer hour
NVIDIA H100 80GB HBM3$1.336
NVIDIA L40S$0.790

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

Specifications compared

NVIDIA H100 80GB HBM3NVIDIA L40S
VRAM80GB48GB
ArchitectureHopperAda Lovelace
Memory bandwidth3350 GB/s864 GB/s
Boost clock1,980 MHz2,520 MHz
TDP700 W350 W
Launch MSRP$30,000$7,500
Release2022-09-202023-08-08

FAQ

Which is better for ai & machine learning: NVIDIA H100 80GB HBM3 or NVIDIA L40S?
NVIDIA H100 80GB HBM3 performs better for ai & machine learning, winning 147 of 155 benchmarks in our suite with an average 72.6% advantage.
What are the main hardware differences between NVIDIA H100 80GB HBM3 and NVIDIA L40S?
NVIDIA H100 80GB HBM3 has 80GB VRAM and a 700W TDP, while NVIDIA L40S has 48GB VRAM and a 350W TDP.
Does VRAM matter more than speed between NVIDIA H100 80GB HBM3 and NVIDIA L40S?
For AI, yes, NVIDIA H100 80GB HBM3 fits 6 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 H100 80GB HBM3 and NVIDIA L40S?
Qwen-Image-Edit: NVIDIA H100 80GB HBM3 leads by roughly 247% (3.68 vs 1.06 images/min) in our testing.

NVIDIA H100 80GB HBM3 full review · NVIDIA L40S full review · All AI & Machine Learning rankings