Cloud GPU On-Demand vs Spot Cost Calculator

Model true spot instance savings after factoring in preemption frequency, checkpoint save intervals, and lost recovery compute.

15%
0% (No loss)50%150% (Heavy churn)
Net Spot SavingsSpot Wins
$0.000.0%
Effective Spot Total
$0.00
$0.00/GPU-hr eff.
On-Demand Total
$0.00
$0.00/GPU-hr
Break-Even Overhead
0.0%
Max tolerable waste
Preemption Penalty
$0.00
0 GPU-hrs billed
Cost Structure vs On-Demand Baseline100%
Base SpotRestart TaxStorage/FallbackSavings

Transparent Formula & Methodology

Dataset: 2026-11-27

This calculator compares guaranteed On-Demand GPU billing against effective Spot billing after adjusting for lost compute between checkpoints, cold-start recovery time, and persistent storage overhead.

OnDemandTotal = GPUCount * NetHours * OnDemandHourlyRate
SpotComputeBase = GPUCount * NetHours * SpotHourlyRate
PreemptionPenalty = SpotComputeBase * (OverheadPct / 100)
EffectiveSpotTotal = GPUCount * NetHours * (1 + OverheadPct / 100) * SpotHourlyRate + StorageFallbackUSD
NetSavingsUSD = OnDemandTotal - EffectiveSpotTotal
BreakEvenOverheadPct = max(0, ((OnDemandTotal - SpotComputeBase - StorageFallbackUSD) / SpotComputeBase) * 100)

When Spot compute base is zero or exceeds On-Demand pricing, break-even overhead clamps cleanly to 0.0% to prevent division by zero.

Frequently Asked Questions

When do cloud GPU Spot instances actually lose money compared to On-Demand?

Spot instances lose money when preemption restarts and lost work between checkpoints exceed the Spot discount percentage. If Spot is 38% cheaper than On-Demand, any combined preemption and fallback overhead above roughly 61% wipes out the price advantage.

How should I estimate preemption and checkpoint restart overhead %?

Add the average compute lost between checkpoints (typically half your checkpoint interval multiplied by expected preemptions) plus container cold-start and model-reload time. Frequent checkpoints (every 15–30 minutes) usually keep overhead between 8% and 20%.

Why include a Spot fallback and persistent storage overhead?

Preemptible workers require durable network volumes or object storage for checkpoints, plus occasional fallback to higher-cost instances to hit deadlines. Factoring in that fixed storage or fallback buffer prevents overestimating Spot savings.

Are multi-GPU training jobs safe to run on Spot nodes?

Distributed jobs with tight NCCL all-reduce coupling restart all nodes when one Spot GPU is reclaimed unless you use elastic orchestration. Single-GPU inference, batch evals, and checkpointed LoRA runs tolerate Spot interruptions much more cleanly.