Omid Golchin · Decision tools

GPU Budget Planner

You need this many GPU-hours by this deadline. Should you reserve, pay on demand, use spot, or mix, and how sure can you be of the bill?

It answers: how to buy the GPU-hours a job needs by its deadline (reserve, pay on demand, use spot, or mix) and how sure you can be of the bill.

  1. Pick the situation closest to yours in "Start from a common situation", or keep the ablation runs already filled in.
  2. Describe your job in the panel on the left: the GPU, the hours it needs, the deadline in weeks, your budget and how often it checkpoints. Prices are filled in from current market medians; replace them with your own quotes if you have them.
  3. Read the recommendation and the chart of what each plan costs. Before you rely on it, check when to use this tool, and when not.

Set the job in the rail — GPU, GPU-hours, deadline, and your prices if you have them — and the dashboard prices eight plans on the same simulated spot prices. Fill from my plan (in the rail) reads a pasted training plan or budget note; Copy link saves your inputs.

Settings your job, prices and the simulation

Your job

Total GPU time the job needs: GPUs × hours. 8 GPUs for 250 hours is 2,000 GPU-hours.
weeks
When the job must be finished, counted from today.
$
What you can spend. The tool reports the chance each plan goes over it.
When spot capacity is reclaimed, work since the last checkpoint is redone.
Longer reservations are cheaper per hour but commit you for the whole term.
This alone can flip the answer. Sit idle: the reservation is charged for every hour of its term, used or not. Other work: only this job's hours are charged to it, as if later work pays for the rest of the term.
Providers take spot capacity back when they need it, whatever the price. No logs yet? Once a week per node is a middle-of-the-road guess, not a measurement: try once a day too and see whether the recommendation changes. AWS's Spot Instance Advisor shows an interruption-frequency band for each instance type and region; your own logs beat both.
$/GPU-hour
$/GPU-hour
Simulation detail
$/GPU-hour
The most you will pay: on a day the spot price is above it your spot nodes stop. Leave empty for the on-demand price, the default. Capacity reclaims, set in the form, come on top.
How much price history is resampled at a time. Longer blocks keep longer price runs. 28 days scored best in the coverage backtest.
More paths give steadier percentiles but take a little longer.
Paste a training plan or a budget note; an AI model fills the form, the tool does the math.

Recommendation

Loading price data…

What each plan costs

Full numbers every plan, and the naive resample

Spot price history and the forecast band what the simulation is built from

How the verdict is decided the model, the rules, the data

The job. Your GPU-hours are spread evenly over the deadline: the same amount of finished work is due every day. A plan splits that daily work between reserved capacity and on-demand (fixed prices, always there) and spot (a simulated price each day).

Spot. Daily spot prices are simulated by block bootstrap: stretches of 28 days of real price changes are resampled and chained, so multi-day runs of high or low prices persist, which is what makes spot risky. Paths start at the recent price level (the median of the last 30 observed days). Spot work runs on a day when the price is at or below your cap. Crossing above the cap is an interruption: the work done since the last checkpoint is lost and redone. An interruption lands at a uniform point in the checkpoint cycle, so the expected loss is half an interval of work. Spot capacity can catch up at up to three times its base rate. Plans marked with a fallback do any undone spot work in the last week on on-demand instead; a plan with no fallback that ends the window with work undone finishes late, at the on-demand price.

daily work = GPU-hours ÷ days in the deadline interruption loss = spot base rate × checkpoint interval ÷ 2 bill = reserved share × hours × reserved price + on-demand share × hours × on-demand price + spot work at simulated prices (late finish at the on-demand price) expected shortfall = average of the bills at or above the 95th percentile

The verdict. A plan is feasible if it finishes on time in at least 95% of simulated runs. With a budget, plans that go over it in at most 20% of runs are preferred. The feasible plan with the lowest median bill wins, with two exceptions: if even the cheapest guaranteed plan (all reserved or all on-demand, both fixed-price) has a median above your budget, the verdict says so instead of recommending a gamble; and if a fixed-price plan wins while the cheapest risky plan would save under 2%, the verdict calls the sure thing the winner. Expected shortfall follows Acerbi & Tasche, "On the coherence of expected shortfall" (2002).

The data. Spot price changes come from the AWS Spot Price History archive (Pauley, Zenodo, DOI 10.5281/zenodo.14254112, CC BY 4.0): daily us-east-1 prices for p5.48xlarge (H100), p4d.24xlarge (A100) and p3.2xlarge (V100), May to November 2024. Because the archive's price level is from 2024, each series is multiplied by one constant so its last-30-day median equals the current market spot median from GetDeploying's GPU price history (CC BY 4.0). The ups and downs are AWS data; the level is today's. On-demand and reserved prefills are GetDeploying's weekly medians for the week of the latest data. Every price is editable: if you have a quote, use yours.

The price-history analysis behind this tool (per-GPU coverage, forecast comparisons) is in Research notes.

When to use it, and when not assumptions, limits, alternatives

Use it to budget a training or fine-tuning job of known size with a deadline, to check a reservation quote against spot and on-demand, or to see how checkpointing changes what spot really costs.

It assumes the following. Each line says what happens to the answer when your case breaks the assumption.

AssumptionIf yours differs
The job needs a known number of GPU-hours, and any GPU of the chosen type will do.If the size is uncertain, run the tool at your low and high estimates; the plans can change order between them.
Spot prices move the way AWS us-east-1 prices moved from May to November 2024, scaled to today's median level.Other clouds and regions have different spot markets. The interval check on the page shows how well the simulated range held on held-out months: well for the H100 (92% of days), poorly for the A100 (72%) and V100 (48%).
Spot nodes are reclaimed at a steady rate you choose, independent of price.If reclaims come in bursts (a capacity crunch), spot plans finish late more often than shown. Choose a higher rate to stress-test.
A training job runs its nodes in lockstep and loses half a checkpoint interval of the whole fleet's work at each reclaim.Jobs that can lose a node and keep going (many independent runs, for example) lose far less; the tool overstates their spot risk.
A reservation is paid for whole GPUs over whole terms, unless you say the GPUs go on to other work.If your provider lets you cancel or resell, the reservation costs less than shown.
Prices do not change with the amount you buy.Volume discounts or negotiated rates belong in the price fields.

Do not use it for serving models around the clock (that is a capacity and latency question, not a deadline), for buying your own hardware, or for jobs whose GPU type or provider is not yet chosen (compare the price quotes first).

Where this tool comes from the problem and data it was built on, and how it was generalised

This tool did not come out of a separate study. It was built around one decision that research groups and small ML teams face each time they plan a training run, on two public datasets: daily spot prices for H100, A100 and V100 instances in AWS us-east-1, May to November 2024 (Pauley, 2024), and current on-demand, spot and reserved medians across providers (GetDeploying).

What shaped it. Checking the first version against how spot actually works changed two things. Since late 2017 AWS reclaims spot nodes for capacity, not because the price crosses a bid, so interruptions are now a rate per node rather than a price event. And a reservation is a commitment: charging reserved GPUs only for the hours used had made a 12-month reservation look like the cheapest way to run a 6-week job.

How it was generalised. The price paths are bootstrapped from the archive in 28-day blocks, so price runs persist, and the archive's 2024 level is scaled to today's median. Every price field is editable, so a quote from your own provider replaces the median, and the job size, deadline, budget, checkpoint interval and reclaim rate are your inputs.