All glossary terms

Pricing

Spot instances

Spare GPU capacity rented at a deep discount, with the provider allowed to reclaim it on short notice. For workloads where a restart is cheap.

Spot (or preemptible) instances are idle machines the provider rents out cheaply on the condition that they can be taken back at any time. The discount is steep - commonly around half to two thirds off on-demand - because the buyer is accepting both eviction risk and the work of handling it.

The handling is the actual work, and it shapes which workloads belong on spot. Evicted replicas must be replaced by working autoscaling; in-flight requests must drain or requeue; anything stateful must rebuild its cache (and pay the cold start) after each eviction. Batch workloads, prefill stages, and fault-tolerant serving absorb all of that cheaply. A single-replica, latency-critical service on spot is a bet, not a design.

The arithmetic to run in an interview is per effective card-hour: price the discount, subtract the expected share of evicted-at-any-moment cards, and see whether spot still wins. The discount usually survives its own downtime, which is exactly why the fault-tolerant workloads live there.

A worked example

On-demand H100s at an assumed $2.50 per hour versus spot at $1.00, evicting about 10 percent of cards at any moment. The fleet runs 8 cards.

  1. On-demand: 8 x $2.50 = $20 per hour for 8 effective cards, $2.50 per effective card-hour.
  2. Spot: 8 x $1.00 = $8 per hour, but about 10 percent of cards are evicted at any moment: 8 x 0.9 = 7.2 effective cards.
  3. Per effective card-hour: $8 / 7.2 = about $1.11, still less than half the on-demand rate.
  4. The discount is the payment for absorbing restarts and cold starts.

Spot at about $1.11 per effective card-hour against $2.50 on-demand fits fault-tolerant work - prefill stages, batch jobs, replicas that can restart.

Where this shows up

Test yourself

Related terms