New B200 spot capacity is live in US East from $1.69 per GPU-hour. See availability →
Comparison

H100 SXM vs L40S: specs, price per hour and which to rent

Both run on the same nodes, the same templates and the same tiers here — so the choice comes down to memory, bandwidth and price. Every figure below is from the catalogue or the vendor datasheet.

H100
$0.55/h80 GB · Hopper · 96 available
L40S
$0.15/h48 GB · Ada Lovelace · 96 available
Price gap
73%On spot, per GPU-hour
Over 100 h
$40.00Difference for the same GPU-hours
In short

What actually separates them.

Four differences that change a decision, computed from the numbers rather than asserted.

Bigger models fit on the H100

80 GB against 48 GB. At FP16 that is about 32B parameters on one GPU, against 19B.

The L40S costs 73% less per hour

$0.15 against $0.55 on spot — $40.00 of difference over 100 GPU-hours.

Token generation is faster on the H100

3,350 GB/s against 864 GB/s. Inference reads the whole model from memory for every token, so bandwidth, not FLOPS, usually sets the ceiling.

More memory per dollar on the L40S

320 GB per dollar per hour against 145 GB. The usual tie-breaker when both cards fit the job.

Side by side

Every figure we hold on both cards.

A row is marked only when both values exist and one is genuinely better. H100 leads on 4 rows, L40S on 6.

  H100 SXM L40S
GPU memoryDecides which models fit at all 80 GB HBM3 48 GB GDDR6
Memory bandwidthSets token throughput on inference 3,350 GB/s 864 GB/s
FP16 tensor 990 TFLOPS 362 TFLOPS
FP32 67 TFLOPS 92 TFLOPS
8-bit float (FP8)Halves the memory a model needs, where the stack supports it Supported Supported
Architecture Hopper (2022) Ada Lovelace (2023)
Board powerLower is cheaper to run at scale — for us, not for your bill 700 W 350 W
GPU-to-GPU linkOnly matters for multi-GPU training NVLink PCIe only
Node sizes 1×, 2×, 4×, 8× 1×, 2×, 4×, 8×
Spot price $0.55/h $0.15/h
On-demand price $0.89/h $0.25/h
Memory per dollarGPU memory per $1 of spot time, per hour 145 GB 320 GB
30-day reclaim rateShare of spot instances reclaimed <5% <5%
Available now 96 GPUs 96 GPUs

Specifications come from each vendor's datasheet — linked on the H100 page and the L40S page. Prices are ours, per GPU-hour, billed per minute.

What fits

The same models, on one GPU of each.

Weights only, with 20% of the memory kept free for activations and the KV cache. A cross means one GPU is not enough — the model page has the multi-GPU arithmetic.

Model Precision H100 80 GB L40S 48 GB
Llama 3.1 8B8B parameters FP16 · 16 GB Fits Fits
FP8 · 8 GB Fits Fits
INT4 · 4 GB Fits Fits
Qwen2.5 32B32B parameters FP16 · 64 GB Fits Needs 2× node
FP8 · 32 GB Fits Fits
INT4 · 16 GB Fits Fits
Llama 3.3 70B70B parameters FP16 · 140 GB Needs 4× node Needs 4× node
FP8 · 70 GB Needs 2× node Needs 2× node
INT4 · 35 GB Fits Fits
Mixtral 8x22B141B parameters FP16 · 282 GB Needs 8× node Needs 8× node
FP8 · 141 GB Needs 4× node Needs 4× node
INT4 · 71 GB Needs 2× node Needs 2× node
Cost

The same 100 GPU-hours on each.

Compute only, billed per minute. Storage is $0.08 per GB-month on either card.

 H100L40S
One hour, spot$0.55$0.15
One day, spot$13.20$3.60
100 GPU-hours, spot$55.00$15.00
100 GPU-hours, on-demand$89.00$25.00
A month, reserved$474.50$109.50

Take the H100 when…

  • Training and full fine-tuning — Enough memory for optimiser states and activations on models a smaller card can only run in inference.
  • Serving large models — A 70B model at FP8 across two GPUs, with room for a long context window.
  • Multi-GPU jobs over NVLink — GPU-to-GPU traffic stays off the PCIe bus, which is what makes tensor and pipeline parallelism worth it.

Full H100 page

Take the L40S when…

  • Fine-tuning with LoRA and QLoRA — Comfortable for parameter-efficient training on 13B–34B models without sharding.
  • Inference servers — Holds 30B-class models quantised, or several smaller models side by side.
  • Anything that can checkpoint — On the spot tier this model is 40% below its own on-demand price, with a 2-minute notice before a reclaim.

Full L40S page

More comparisons

Other pairs people weigh against these two.

All comparisons

Prices for every model are on the pricing page; the same GPUs against 41 other providers are on the price comparisons. Credit is prepaid in crypto, no card needed.

FAQ

H100 or L40S?

Which is cheaper, the H100 or the L40S?

The L40S, at $0.15 per GPU-hour on spot against $0.55 — 73% less. On-demand: $0.25 against $0.89.

Which one should I take for inference?

Take the one that holds the model with room for the KV cache, then the one with more memory bandwidth. Here that is the H100 on capacity (80 GB) and the H100 on bandwidth.

Can I run both on the same job?

Not inside one instance — a node holds GPUs of a single model. You can run two instances in parallel, on the same persistent volume in turn, or split the work: a big card for the model that needs capacity, a cheap one for the parts that do not.

Other comparisons: the full list · all 47 models

Get started

Try both for less than the price of deciding.

An hour on each costs $0.70 on spot. Nothing renews, and your disk moves between them.

Billed per minute from the moment the instance is reachable. Minimum credit $30, no subscription.