NVIDIA B300 vs NVIDIA L40S, AI & Machine Learning Comparison

NVIDIA B300
NVIDIA B300
vs
NVIDIA L40S
NVIDIA L40S

NVIDIA B300 wins 138 of 141 benchmarks, averaging 105.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 B300 leads by 668% (8.14 vs 1.06 images/min); the closest fight is Dolphin X1 Trinity Nano 6B (5% apart); VRAM decides part of this one: NVIDIA B300 runs 152 of our 12 AI workloads while the other card runs 140, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA B300NVIDIA L40SDifference
Qwen3 4B tok/s333.34212.05+57%
Llama 3.1 8B tok/s287.23135.51+112%
Qwen2.5-Coder 14B tok/s158.4974.6+112%
Qwen3 32B tok/s83.6834.44+143%
Llama 3.3 70B tok/s47.9716.49+191%
Stable Diffusion XL images/min29.217.02+72%
Z-Image Turbo images/min39.6758.325+377%
FLUX.1 dev images/min20.8073.836+442%
FLUX.1 Kontext dev images/min10.3291.693+510%
Qwen-Image-Edit images/min8.141.06+668%
LTX-Video (distilled) frames/s31.878.01+298%
Wan 2.2 5B (720p) frames/s2.940.49+500%
DeepSeek-R1 Distill Llama 8B tok/s283.77135.55+109%
DeepSeek-R1 Distill 1.5B tok/s562.14426.38+32%
DeepSeek-R1 Distill 14B tok/s156.3374.6+110%
DeepSeek-R1 Distill 7B tok/s284.77143.97+98%
Gemma 3 12B tok/s161.2780.92+99%
Gemma 3 4B tok/s301.07198.87+51%
Gemma 4 12B tok/s155.9680.82+93%
Llama 3.2 1B tok/s889.19618.87+44%
Llama 3.2 3B tok/s432.24270.85+60%
Mistral 7B v0.3 tok/s298.95144.74+107%
Mistral Small 24B tok/s119.348.43+146%
Phi-4 14B tok/s177.4174.98+137%
Phi-4 Mini 3.8B tok/s398.16228.93+74%
Qwen2.5-Coder 7B tok/s286.5143.93+99%
Qwen3 0.6B tok/s718.58655.75+10%
Qwen3 1.7B tok/s555.1405.52+37%
Qwen3 14B tok/s165.4475.12+120%
Qwen3 30B A3B tok/s284.66213.66+33%
Qwen3 8B tok/s261.4130.27+101%
SmolLM3 3B tok/s411.25272.88+51%
Codestral 22B tok/s119.8150.06+139%
DeepSeek-R1 Distill 32B tok/s82.934.6+140%
Devstral Small 24B tok/s121.1848.43+150%
Dolphin 2.9.1 Yi 1.5 34B tok/s85.1533.08+157%
Dolphin Mistral 24B Venice tok/s120.9348.43+150%
Dolphin X1 8B tok/s287.02135.48+112%
Dolphin 3.0 Llama 3.1 8B tok/s285.88135.55+111%
Dolphin 3.0 R1 Mistral 24B tok/s120.9548.4+150%
Gemma 3 27B tok/s93.4438.48+143%
Qwen2.5-Coder 32B tok/s82.934.59+140%
Qwen3-Coder 30B A3B tok/s284.88219.04+30%
QwQ 32B tok/s82.9134.59+140%
StarCoder2 15B tok/s144.0566.88+115%
FLUX.1 Schnell images/min59.5426.24+127%
Z-Image Turbo (1024px) images/min48.6318.2+167%
BiRefNet images/min1064.73863.81+23%
Depth Anything V2 Large images/min1069.95959.33+12%
Depth Anything V2 Small images/min1491.6970.61+54%
SAM ViT-Base images/min1719.59998.79+72%
SAM ViT-Huge images/min399.37238.08+68%
Swin2SR 4x Upscaler images/min58.2934.14+71%
Qwen2.5 1.5B LoRA train tok/s22351.112120.1+84%
Qwen2.5 7B LoRA train tok/s14323.13736+283%
SmolLM2 1.7B LoRA train tok/s26114.312052.1+117%
TinyLlama 1.1B LoRA train tok/s26938.216408.1+64%
AI21-Jamba-Reasoning-3B tok/s380.88258.41+47%
Olmo-3.1-32B-Think tok/s87.8534.11+158%
Codestral 22B (Q3_K_M) tok/s107.9859.53+81%
Dolphin-Mistral-24B-Venice-Edition tok/s121.8748.43+152%
DarkIdol-Llama-3.1-8B-Instruct-1.2-Uncensored tok/s292.55134.78+117%
DeepSeek-Coder-V2-Lite tok/s340.53257.64+32%
DeepSeek-R1-0528-Qwen3-8B tok/s270.35130.23+108%
DeepSeek-R1-Distill-Llama-70B tok/s48.1116.49+192%
DeepSeek-R1 Distill 14B (Q3_K_M) tok/s144.7485.85+69%
DeepSeek-R1-Distill-Qwen-32B-abliterated tok/s83.1934.43+142%
dolphin-2.9-llama3-8b tok/s290.47134.94+115%
Dolphin X1 Trinity Nano 6B tok/s257.93246.45+5%
EVA-Qwen2.5-14B-v0.2 tok/s159.4674.63+114%
gemma-2-2b-it-abliterated tok/s418.18278.14+50%
gemma-2-2b tok/s417.84278.1+50%
gemma-2-9b tok/s202.2288.87+128%
Gemma 3 12B (Q3_K_M) tok/s149.6193.05+61%
gemma-3-1b tok/s533.32426.49+25%
gemma-3-270m tok/s926.67822.52+13%
GLM-4.7-Flash-REAP-23B-A3B tok/s178.49146.51+22%
GLM-4.7-Flash tok/s196.52157.89+24%
Josiefied-Qwen3-8B-abliterated-v1 tok/s270.09130.25+107%
gpt-oss-20b tok/s355.56233.82+52%
Hermes-3-Llama-3.2-3B tok/s446.78265.87+68%
Hermes-4-70B tok/s48.116.45+192%
SmolLM3-3B tok/s420.3272.96+54%
Qwen3-Coder-Next-abliterated tok/s199.120n/a
KAT-Coder-V2.5-Dev tok/s239.66173.06+38%
L3-8B-Stheno-v3.2 tok/s293135.53+116%
Laguna-XS-2.1 tok/s00n/a
LFM2.5-1.2B tok/s955.13661.54+44%
LFM2.5-8B-A1B tok/s596.16394.48+51%
Llama-2-7B tok/s315.9150.35+110%
Llama-3.2-3B-Instruct-uncensored tok/s448.94271.01+66%
Llama-3.3-70B-Instruct-abliterated tok/s48.116.49+192%
Meta-Llama-3.1-70B tok/s48.1216.49+192%
Meta-Llama-3.1-8B tok/s293135.46+116%
Phi-4-mini tok/s409.58229.28+79%
Mistral-7B-Instruct-v0.1 tok/s306.44144.82+112%
Mistral-7B-Instruct-v0.2 tok/s306.79144.82+112%
Mistral-7B-Instruct-v0.3 tok/s306.46144.68+112%
Mistral-Nemo-Instruct-2407 tok/s196.9289.72+119%
Mistral Small 24B (Q3_K_M) tok/s108.3758.21+86%
Nanbeige4.2-3B tok/s00n/a
NemoMix-Unleashed-12B tok/s197.0688.85+122%
Nemotron-3-Nano-30B-A3B tok/s345.31190.96+81%
Hermes-4-14B tok/s169.5175.1+126%
Ornith-1.0-35B tok/s232.36157.39+48%
Ornith-1.0-9B tok/s240.67114.57+110%
phi-2 tok/s356.65283.26+26%
Phi-3.5-mini tok/s352.25229.06+54%
Phi-4 14B (Q3_K_M) tok/s165.0689.18+85%
Qwen-AgentWorld-35B-A3B tok/s233.04156.98+48%
Qwen3-0.6B tok/s742.64656.26+13%
Qwen3-1.7B tok/s575.97405.3+42%
Qwen3-14B tok/s169.5275.01+126%
Qwen3-30B-A3B tok/s291.82214.05+36%
Qwen3-4B-Instruct-2507 tok/s339.78210.24+62%
Qwen3-8B tok/s270.35130.28+108%
Qwen3-Coder-Next tok/s196.340n/a
Qwen3-Next-80B-A3B-Thinking tok/s194.980n/a
Qwen1.5-0.5B tok/s894.84774.78+15%
Qwen2-1.5B tok/s583.79416.57+40%
Qwen2.5-0.5B tok/s843.4738.06+14%
Qwen2.5-1.5B tok/s584.96427.23+37%
Uncensored tok/s159.4874.31+115%
Qwen2.5-14B tok/s159.3374.62+114%
Qwen2.5-32B tok/s83.4134.59+141%
Qwen2.5-3B tok/s409.56270.04+52%
Qwen2.5-7B tok/s293.63143.94+104%
Qwen2.5-Coder-0.5B tok/s843.44715.81+18%
Qwen2.5-Coder-1.5B tok/s584.5427.12+37%
Qwen2.5-Coder-14B-Instruct-abliterated tok/s159.574.63+114%
Qwen2.5-Coder 32B (Q3_K_M) tok/s74.2841.06+81%
Qwen2.5-Coder-3B tok/s410.06269.9+52%
Qwen2.5-Coder-7B-Instruct-abliterated tok/s292.21142.97+104%
Qwen3 30B A3B (Q3_K_M) tok/s268.71224.95+19%
Qwen3-4B-Instruct-2507 tok/s339.72212.05+60%
Qwen3-4B-Thinking-2507 tok/s339.74211.88+60%
Qwen3-Coder-Next tok/s199.390n/a
Qwen3-Next-80B-A3B-Thinking tok/s200.550n/a
Qwen3-Next-80B-A3B tok/s191.320n/a
SmolLM2-135M tok/s855.87916.56-7%
Cydonia-24B-v4.3 tok/s121.948.43+152%

Whole-job comparison

How long each card takes to finish a complete pipeline, not just one model. NVIDIA B300 is faster on 14 of 14; NVIDIA L40S on 0.

WorkflowNVIDIA B300NVIDIA L40SDifferenceCost per run
50-image depth pass5 s6 sNVIDIA B300 1.30x faster$0.009 vs $0.001
500-image masking run78 s2.2 minNVIDIA B300 1.66x faster$0.150 vs $0.028
24-frame storyboard1.5 min4.1 minNVIDIA B300 2.70x faster$0.174 vs $0.053
6-panel comic page2 min6.5 minNVIDIA B300 3.23x faster$0.234 vs $0.086
60-second AI short film2.2 min4.9 minNVIDIA B300 2.28x faster$0.251 vs $0.065
Character sheet, 12 poses2.2 min8.4 minNVIDIA B300 3.76x faster$0.257 vs $0.110
200-product catalogue cutout3.7 min6.2 minNVIDIA B300 1.67x faster$0.430 vs $0.082
10 short social clips4.7 min19.1 minNVIDIA B300 4.02x faster$0.548 vs $0.251
40-product photo shoot6.1 min26.7 minNVIDIA B300 4.41x faster$0.701 vs $0.352
Full codebase review6.3 min13.5 minNVIDIA B300 2.13x faster$0.730 vs $0.177
40-product shoot, start to finish6.9 min28 minNVIDIA B300 4.07x faster$0.797 vs $0.369
20 long-form articles9.7 min28.5 minNVIDIA B300 2.93x faster$1.125 vs $0.375
100-photo restoration batch10.2 min59.6 minNVIDIA B300 5.85x faster$1.178 vs $0.784
100-photo restore and enlarge11.9 min62.5 minNVIDIA B300 5.25x faster$1.378 vs $0.823

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

Cost to rent

CardPer hour
NVIDIA B300$6.940
NVIDIA L40S$0.790

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

Specifications compared

NVIDIA B300NVIDIA L40S
VRAM288GB48GB
ArchitectureBlackwell UltraAda Lovelace
Memory bandwidth8 TB/s864 GB/s
Boost clockn/a2,520 MHz
TDP1400 W350 W
Launch MSRP$40,000$7,500
Release2025-11-012023-08-08

FAQ

Which is better for ai & machine learning: NVIDIA B300 or NVIDIA L40S?
NVIDIA B300 performs better for ai & machine learning, winning 138 of 141 benchmarks in our suite with an average 105.6% advantage.
What are the main hardware differences between NVIDIA B300 and NVIDIA L40S?
NVIDIA B300 has 288GB VRAM and a 1400W TDP, while NVIDIA L40S has 48GB VRAM and a 350W TDP.
Does VRAM matter more than speed between NVIDIA B300 and NVIDIA L40S?
For AI, yes, NVIDIA B300 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 B300 and NVIDIA L40S?
Qwen-Image-Edit: NVIDIA B300 leads by roughly 668% (8.14 vs 1.06 images/min) in our testing.

NVIDIA B300 full review · NVIDIA L40S full review · All AI & Machine Learning rankings