H100 MEGA vs L40

Open Advisor →

Side-by-side GPU comparison: specs, memory, compute performance, and live cloud pricing.

Verdict

H100 MEGA has 32 GB more VRAM, making it better suited for large models and long context windows. For compute-bound workloads like training, H100 MEGA delivers 5.5× higher FP16 throughput. At $0.99/hr vs $1.80/hr, L40 is the more cost-efficient choice for inference. H100 MEGA supports a broader range of models (636 vs 624 from this catalog), giving more flexibility.

Specifications

H100 MEGAL40
VRAM80 GB48 GB
VRAM TypeHBM3GDDR6
Memory Bandwidth3.4 TB/s0.9 TB/s
FP16 Performance990 TFLOPS181 TFLOPS
ManufacturerNVIDIANVIDIA
FP8 SupportYesYes
FP4 SupportNoNo

Price / Performance

Based on cheapest single-GPU on-demand pricing. Lower $/TFLOP = better compute value; lower $/GB = better memory value.

H100 MEGAL40
$/hr (cheapest)$1.80$0.99✓ best
$/TFLOP (compute value)$0.0018✓ best$0.0055
$/GB VRAM (memory value)$0.0225$0.0206✓ best

Cloud Pricing

Cheapest on-demand price per provider (single GPU).

H100 MEGA

ProviderOn-demandSpotRent
Vast.ai$1.80/hrRent
RunPod$2.39/hr$1.25/hrRent
Nebius$2.95/hr$1.25/hr
Lambda$3.29/hr
Google Cloud$4.20/hr$1.14/hr
Amazon Web Services$6.88/hr$2.81/hr
Microsoft Azure$6.98/hr$6.98/hr

L40

ProviderOn-demandSpotRent
RunPod$0.99/hr$0.50/hrRent

Model Compatibility

Models from the catalog that fit on each GPU, grouped by required precision.

H100 MEGA (636 models)

L40 (624 models)

You might also compare…

Pricing data refreshed hourly · Last updated April 11, 2026 · Browse all comparisons