GPU work for a private LLM comes in different shapes. A fine-tuning run can last hours or days, a batch job can process a backlog overnight, and the model that answers customers has to stay up. Cloud providers sell GPU capacity in three ways that suit these shapes differently. This answer explains how AWS, Azure, Oracle Cloud and Alibaba Cloud document on-demand, spot and reserved capacity, how interruptions work and how to make a training job survive them, as read on 23 and 30 November 2026. It does not compare prices.
The three ways to buy GPU capacity
- On-demand. You start an instance when you need it and stop it when you are done. Nothing is committed, and the provider does not take the instance back.
- Spot or preemptible. You use spare capacity at a lower rate, and the provider can reclaim it. Oracle describes it plainly: "Preemptible instances behave the same as regular compute instances, but the capacity is reclaimed when it's needed elsewhere, and the instances are terminated."
- Reserved or committed. You commit to capacity for a period, either to secure it or to get a lower rate. Some reservations guarantee capacity, some only give a billing discount, and some do both.
How spot and preemptible interruptions work
Each provider documents its own notice period and rules. Providers are listed alphabetically.
| Provider | Name | Notice before interruption | What the provider says it suits |
|---|---|---|---|
| Alibaba Cloud | Spot instances | N/A (Data not available) | Not stateful, long-running or high-stability business |
| AWS | Spot Instances | Two minutes | Fault-tolerant applications |
| Azure | Spot Virtual Machines | 30 seconds | Batch jobs, dev and test, large compute workloads |
| Oracle Cloud | Preemptible instances | Two minutes | Short-term, interruptible workloads |
- Alibaba Cloud. Its spot instance page (read 23 November 2026) says spot instances can "be interrupted and reclaimed when the resource inventory is insufficient" and that "Spot Instances are not suitable for stateful, long-running, or high-stability business, such as database services or continuous operations."
- AWS. AWS says a Spot Instance interruption notice "is a warning that is issued two minutes before Amazon EC2 stops or terminates your Spot Instance." AWS adds: "We recommend that you check for these interruption notices every 5 seconds." It also warns that "Interruption notices are emitted on a best effort basis."
- Azure. Microsoft says "When you deploy Azure Spot Virtual Machines, Azure allocates the VMs if there's capacity available, but there's no SLA for these VMs." The page, updated 6 November 2026, says Azure "evicts Azure Spot Virtual Machines with 30 seconds' notice." It also says "Spot VMs can be stopped if Azure needs capacity for other pay-as-you-go workloads or when the price of the spot instance exceeds the maximum price that you have set."
- Oracle Cloud. Oracle says "The capacity is not guaranteed for a minimum amount of time, so instances can be reclaimed at any time." It warns that preemptible instances "are not suitable for long-running workloads" and that "After you create a preemptible instance, you cannot start, stop, or reboot the instance." An event is sent two minutes before termination. Its list of supported shapes includes the VM.GPU2 and VM.GPU3 series.
On discounts, the providers state them as maximums rather than fixed rates. AWS says "Managed spot training can optimize the cost of training models up to 90% over on-demand instances." Oracle says "Preemptible capacity costs 50% less than on-demand capacity in all regions." Alibaba Cloud says spot prices vary with supply and demand. Check the current rate for the exact GPU and region before planning around it.
Reserved and committed capacity
Reservations come in two kinds, and it is worth knowing which one you are buying.
- Capacity guarantees. AWS says "Amazon EC2 Capacity Reservations allow you to reserve compute capacity for your Amazon EC2 instances in a specific Availability Zone for any duration." On their own they give no billing discount, but AWS says "You can combine Capacity Reservations with Savings Plans or Regional Reserved Instances to receive a discount."
- Billing discounts. Microsoft says "Azure Reservations help you save money by committing to one-year or three-year plans for multiple products." It says "Reservations can significantly reduce your resource costs by up to 72% from pay-as-you-go prices," and that "Reservations provide a billing discount and don't affect the runtime state of your resources." Its advice: "Consider reservation purchases based on your consistent base usage."
For GPU training there is a third option on AWS that sits between the two. "Capacity Blocks for ML allow you to reserve GPU-based accelerated computing instances on a future date to support your short duration machine learning (ML) workloads." AWS recommends them "when you need GPUs to support your ML workloads for days or weeks at a time and don't want to pay for a reservation while your GPU instances aren't in use." The rules are strict:
- "You can reserve a Capacity Block with a reservation start time up to eight weeks in the future."
- "Each Capacity Block can have up to 64 instances, and you can have up to 256 instances across Capacity Blocks."
- "Capacity Block cancellations aren't allowed."
- "The termination process for instances running in a Capacity Block begins at 11:00AM Coordinated Universal Time (UTC) on the final day of the reservation."
Note one restriction on Oracle: its list of features not available with preemptible instances includes capacity reservations, so the two cannot be combined.
Running fine-tuning on interruptible capacity
The rule every provider and library comes back to is the checkpoint. AWS says of SageMaker managed spot training: "SageMaker AI manages the Spot interruptions on your behalf." After an interruption, "The training job can then resume from the last checkpoint instead of restarting." Its advice is direct: "Unless your training job will complete quickly, we recommend you use checkpointing with managed spot training."
Two details matter when planning. First, "Managed spot training does not fall back to on-demand instances." If spot capacity is not available, the job waits up to the limit you set and then stops. Second, built-in algorithms that do not checkpoint are limited to a wait of 3,600 seconds, or 60 minutes.
Outside SageMaker, the training code has to save its own state. Hugging Face Accelerate's checkpointing guide says resuming a run "requires saving and loading the model, optimizer, RNG generators, and the GradScaler." It adds that "After resuming from a checkpoint, it may also be desirable to resume from a particular point in the active" data loader, if the state was saved in the middle of an epoch.
Our reading: with two minutes of notice on AWS and Oracle and 30 seconds on Azure, a training job cannot rely on saving a checkpoint after the warning arrives. Save on a regular schedule instead, and treat the notice as a signal to stop cleanly.
How we choose: our view
- Fine-tuning that checkpoints often: spot or preemptible capacity. An interruption costs the work since the last checkpoint, not the whole run.
- A short training run that must not stop: a fixed-date reservation such as an AWS Capacity Block, booked ahead for the days you need.
- Batch inference over a backlog: spot capacity, with the queue built so that an interrupted item is simply retried.
- The model that serves customers: on-demand capacity while traffic is uncertain, then reserved capacity once a steady baseline is clear, in line with Microsoft's advice to reserve for consistent base usage.
Whichever you pick, size the GPUs first. Our page on GPU memory for private inference sets out how much memory a model needs, and our GPU cloud providers page lists who sells which GPUs. For the rest of the build, from CPU and system memory to storage for model weights and networking between GPUs, see our private LLM compute requirements page.
Frequently asked questions
What is the difference between spot and preemptible instances?
They are different names for the same idea: spare capacity that the provider can reclaim. AWS, Azure and Alibaba Cloud call it spot, and Oracle calls it preemptible.
How much warning do I get before a spot instance stops?
AWS and Oracle document two minutes, and Azure documents 30 seconds, as read on 30 November 2026. AWS and Azure both say the notice is not guaranteed to arrive.
Can I fine-tune an LLM on spot GPUs?
Yes, if the job saves checkpoints and can resume from them. AWS recommends checkpointing for any managed spot training job that will not complete quickly.
Does a reservation guarantee I get the GPUs?
Not always. AWS Capacity Reservations and Capacity Blocks reserve capacity. Azure Reservations, as Microsoft describes them, are a billing discount that does not affect the runtime state of your resources.