The short answer
Training an LLM costs the number of GPU-hours the run needs, multiplied by the price of one GPU-hour, plus the work that surrounds the run. The multiplication is the easy part. In the Compute Census index of 27 Nov 2026, the median on-demand price of an H100 is $3.70 per GPU-hour, with a cheapest quote of $1.30 and a highest of $12.29. The hard part is the first factor, how many hours.
Published runs give the scale. Meta reports 1.46 million H100 GPU-hours for Llama 3.1 8B, 7.0 million for the 70B model and 30.84 million for the 405B model. DeepSeek reports 2.788 million H800 GPU-hours for DeepSeek-V3 and prices them at an assumed $2 each, which gives $5.576 million. At the rates we cite later in this guide, between $1.99 and $5.97 per GPU-hour, the same Llama 3.1 405B hours would cost somewhere between about $61 million and $184 million, and the 8B model between about $2.9 million and $8.7 million. A small model trained from scratch is a seven-figure project, and a frontier model is a nine-figure one.
Most readers asking how to train an LLM on their own data do not mean any of that. They mean fine-tuning an existing open model, and that costs between a few dollars and a few thousand. Stanford’s Alpaca, a 7B model tuned on 52,000 instructions, took about three hours on eight A100 GPUs, and its authors put the compute below $100. The gap between a fine-tune and a pre-training run is four to six orders of magnitude, and a budget starts with deciding which of the two you are doing.
This guide follows the order of a budget. First the formula that turns a model size and a token count into GPU-hours. Then what published runs consumed, and what those hours cost at rates we can cite. After that, where our index sits against those rates, what a headline training cost leaves out, how fine-tuning is priced, and how to build an estimate for your own project. The last section covers sourcing. Everything from our own data updates with the index, and every external figure is dated and listed on our Sources page. For the other half of the lifecycle, see our guides to AI inference versus training and the cost of inference.
The formula: from parameters and tokens to GPU-hours
Compute is parameters times tokens
A language model’s training compute is, to a good approximation, six floating-point operations for every parameter and every training token. That rule comes from the scaling-law literature, and Kaplan and colleagues’ 2020 paper is the usual reference. Their abstract reports that loss follows a power law with model size, dataset size and training compute across more than seven orders of magnitude, and that the most compute-efficient training uses very large models on a modest amount of data. The paper did not settle the best ratio of data to model size. DeepMind’s Chinchilla study of 2022 revised the advice: after training more than 400 models, Hoffmann and colleagues concluded that for every doubling of model size the number of training tokens should also double. Their 70-billion-parameter Chinchilla used the compute budget of the 280-billion-parameter Gopher with about four times more data, and beat it.
Meta’s Llama 3 paper lets us check the rule against a real run. It states that the 405B flagship was pre-trained on 15.6 trillion tokens using 3.8 × 10^25 floating-point operations. Six times 405 billion times 15.6 trillion is 3.79 × 10^25. The rule holds to within a fraction of a percent on the largest published run we know of with full numbers.
Compute becomes hours through utilisation
Compute is not yet a cost. A GPU does not run at its datasheet peak, and the share of the peak that a training job reaches is called model FLOPs utilisation, or MFU. Meta reports an overall BF16 MFU of 38 to 43 percent across the configurations in the Llama 3 paper, with 41 percent at 16,000 GPUs. That is a well-engineered run on a cluster its authors built for the purpose. A first-time team on rented nodes with a default training script will often land lower.
We do not need the datasheet to get a planning figure. Divide the compute by the GPU-hours Meta reports and you get what a GPU-hour actually delivered, downtime and all. For the 405B model, 3.8 × 10^25 operations over 30.84 million GPU-hours is about 342 trillion operations per GPU per second. That is the effective throughput of a large H100 run, including the stalls, restarts and slow stages that a datasheet leaves out. Table 1 repeats the calculation for other runs.
The planning formula is then:
GPU-hours = 6 × parameters × tokens ÷ (3,600 × effective operations per GPU per second)
Use the effective figure from a run that resembles yours, not the peak figure. As the next section shows, the effective figure moves by a factor of two or more with model size and cluster size, so the formula gives a range, not a point.
Dense and mixture-of-experts models
The rule counts the parameters used for each token. For a dense model that is all of them. For a mixture-of-experts model such as DeepSeek-V3 only a fraction of the parameters are active per token, and the compute follows the active count, not the total. The memory needed to hold the model still follows the total, so a mixture-of-experts model can be cheap in GPU-hours and still demand a large cluster to fit. We use the published GPU-hours for such models and do not apply the rule to them.
What published runs consumed
The runs we can cite
Few organisations publish the GPU-hours of their pre-training runs, and fewer publish the cost. Four sets of figures are on the record in primary documents. Meta’s Llama 2 paper lists the A100-80GB hours for the four Llama 2 sizes. Meta’s Llama 3.1 model card lists the H100-80GB hours for the three Llama 3.1 sizes. DeepSeek’s report breaks its V3 run into pre-training, context extension and post-training. Hugging Face’s SmolLM3 post gives the hardware and the calendar for a 3B model, from which we derive the hours.
| Model | Tokens | Hardware | GPU-hours | Effective operations per GPU per second |
|---|---|---|---|---|
| Llama 2 7B | 2.0 trillion | A100-80GB | 184,320 | about 127 trillion |
| Llama 2 70B | 2.0 trillion | A100-80GB | 1,720,320 | about 136 trillion |
| SmolLM3 3B | about 11 trillion | 384 H100 for 24 days | about 221,000 | not computed |
| Llama 3.1 8B | 15 trillion or more | H100-80GB | 1.46 million | about 137 trillion |
| Llama 3.1 70B | 15 trillion or more | H100-80GB | 7.0 million | about 250 trillion |
| Llama 3.1 405B | 15.6 trillion | H100-80GB | 30.84 million | about 342 trillion |
| DeepSeek-V3 | 14.8 trillion | H800 | 2.788 million | not computed |
Table 1. Published pre-training GPU-hours. SmolLM3 hours are our arithmetic: 384 GPUs × 24 days × 24 hours, assuming every GPU ran the whole time. The last column is our calculation from the rounded parameter and token counts, as 6 × parameters × tokens ÷ (3,600 × GPU-hours). Sources: Meta, DeepSeek-AI, Hugging Face; read 24 November 2026.
What the table shows
Three patterns stand out. First, the hours grow with size faster than most people expect. Llama 3.1 405B has about 50 times the parameters of the 8B model and took about 21 times the GPU-hours, not 50, because the 405B run was better tuned, as the last column shows. The 8B run delivered about 137 trillion effective operations per GPU per second and the 405B run about 342 trillion. Small models do not keep a big GPU busy, so cost per parameter falls as models grow. The Llama 2 rows, on the older A100, show the same flat, lower rate.
Second, tokens matter as much as parameters. The three Llama 3.1 models used the same 15 trillion or more tokens, which is about 1,900 tokens per parameter for the 8B model. Chinchilla’s recommendation implied a ratio of about 20 tokens per parameter. Meta chose to over-train the small models, because a model that has seen more data is smaller for the same quality, and a smaller model is cheaper to serve for years. That is a decision to spend training GPU-hours to save inference GPU-hours, and it is the right link to our guide on inference cost.
Third, wall-clock time is a design variable, not a result. Llama 3.1 405B at 30.84 million GPU-hours would take about 78 days on 16,384 GPUs if every GPU were busy throughout, and Meta’s report says the run used up to 16,000 H100s. DeepSeek-V3’s 2.788 million GPU-hours on 2,048 GPUs is about 57 days. The report quotes 180,000 GPU-hours per trillion tokens, or 3.7 days per trillion on its cluster. Pick a smaller cluster and the same GPU-hours take longer. Pick a larger one, and communication overhead starts to eat the gain.
SmolLM3: a small team’s reference
SmolLM3 is the most useful row for a team that is not Meta. Hugging Face trained a 3B-parameter model on about 11 trillion tokens using 384 H100s for 24 days, and added about 100 billion tokens for long-context extension and 35 billion for reasoning. The post does not state GPU-hours, so ours is an estimate of about 221,000. It is a number a funded start-up could plan around: a seven-figure sum at on-demand rates, a six-figure one at the lowest rate we cite. It is also an example of how little parameter count says about cost. SmolLM3 is under a tenth the size of the Llama 3.1 70B model and it saw nearly as many tokens, yet it used about three percent of the GPU-hours.
What those GPU-hours cost at cited rates
Three rates we can point to
Pricing GPU-hours needs a rate, and the rate depends on the term, the cluster size and the date. To keep the arithmetic traceable we use three published ones, all read on 24 November 2026. Together AI’s price page lists H100 cluster capacity at $1.99 per GPU-hour for preemptible nodes, which can be taken back, and $3.99 on demand. AWS’s Capacity Blocks page lists a p5.48xlarge block of eight H100s at $47.757 per instance-hour, which is $5.970 per GPU-hour, and says its prices are next due for an update in January 2027. These are three points on a wide spread, not a market median. For that, see the next section.
Table 2 multiplies each run’s GPU-hours by the three rates. It applies H100 prices to H800 hours for DeepSeek as a stand-in, because we have no cited H800 rental rate, and it leaves out the A100 runs for the same reason.
| Run | GPU-hours | At $1.99 | At $3.99 | At $5.97 |
|---|---|---|---|---|
| SmolLM3 3B (estimated hours) | 221,184 | $0.44 million | $0.88 million | $1.32 million |
| Llama 3.1 8B | 1.46 million | $2.9 million | $5.8 million | $8.7 million |
| DeepSeek-V3 (H800 hours) | 2.788 million | $5.5 million | $11.1 million | $16.6 million |
| Llama 3.1 70B | 7.0 million | $13.9 million | $27.9 million | $41.8 million |
| Llama 3.1 405B | 30.84 million | $61.4 million | $123.1 million | $184.1 million |
Table 2. Published pre-training GPU-hours priced at three H100 rates: Together AI preemptible ($1.99), Together AI on demand ($3.99) and AWS Capacity Blocks ($5.97 per GPU). Our arithmetic, rounded; sources and dates in the text.
A factor of three from the rate alone
Read across a row and the spread is the same factor everywhere: the highest rate is three times the lowest. For Llama 3.1 70B that is the difference between about $14 million and about $42 million for identical work. The rate is as large a lever as the choice of model size, and unlike model size it can be negotiated. A long reservation, a large block and a flexible start date all move it. A preemptible rate looks attractive until you count the restarts, a point we return to in the section on hidden costs.
DeepSeek’s own figure
DeepSeek published a cost table, and it is the most cited number in this field, so its construction deserves a careful read. Pre-training took 2,664 thousand H800 GPU-hours, context extension 119 thousand and post-training 5 thousand, a total of 2,788 thousand. At an assumed $2 per H800 GPU-hour that is $5.328 million, $0.238 million and $0.01 million, a total of $5.576 million. The assumption is the authors’ and a rental price, not what DeepSeek paid. The report adds that the cost covers only the official run and excludes the research, ablation experiments on architectures, algorithms and data that came before it. Our figure for the same hours at $3.99 is about twice theirs, which is the factor you would expect between a bulk internal cost and an on-demand rental price.
The DeepSeek table is not wrong; it is narrow. It answers what the final run’s GPU-hours would cost at $2. It does not answer what it cost to build the model.
Where our index sits
The market rate for an H100-hour
Our index records 15 H100 price points from 11 providers. The median on-demand quote is $3.70, the 12-month reserved rate where one is published is $3.26, and the spread between the cheapest and the dearest quote is 9.5×. To price a run on the index, multiply the GPU-hours of the run you are copying by one of those rates. Table 3 gives the same figures for the other GPUs a training team might consider.
Table 3Training GPUs in the rental index, USD per GPU-hour
| Model | Median | 12-mo reserved | Memory | Median per GB of memory | Median × 730 h | Floor | Ceiling | Providers |
|---|---|---|---|---|---|---|---|---|
| A100 | $1.75 | $1.59 | 80 GB | $0.022 | $1,278 | $0.53 | $5.07 | 8 |
| H100 | $3.70 | $3.26 | 80 GB | $0.046 | $2,701 | $1.30 | $12.29 | 11 |
| H200 | $4.80 | $3.40 | 141 GB | $0.034 | $3,504 | $2.09 | $13.78 | 9 |
| B200 | $7.40 | not published | 180 GB | $0.041 | $5,402 | $3.69 | $16.11 | 12 |
USD per GPU-hour, on-demand unless stated. Compute Census GPU price index of 27 Nov 2026.
Two columns matter for training. Memory per card decides how large a model or batch one GPU holds, and how many GPUs a given model needs before it can start. The monthly column shows what keeping one GPU for a month costs at the median, which is the number to multiply by the cluster size when you rent a cluster for a month.
Quote by quote
The median hides a wide field. The table below lists the individual H100 quotes, with their provider, the offer type and the date we recorded them. For a training run the offer type matters as much as the price: a run needs many GPUs together and for a defined time, so a per-hour on-demand quote for a single card is not the same product as a reserved cluster.
Table 4H100 prices by provider, USD per GPU-hour
| Provider | Offer | USD / GPU-hr | As of |
|---|---|---|---|
| Lium.io | Marketplace | $1.30 | 2026-09-21 |
| Beam | On-demand | $1.83 | 2026-10-20 |
| CoreWeave | Spot | $2.46 | 2026-10-20 |
| Runpod | On-demand | $2.69 | 2026-10-16 |
| Civo | Reserved, 12 mo | $2.69 | 2026-10-20 |
| Civo | On-demand | $2.99 | 2026-10-20 |
| DigitalOcean | Reserved, 12 mo | $3.26 | 2026-09-28 |
| Runpod | On-demand | $3.99 | 2026-10-16 |
| Lambda | On-demand | $3.99–$4.29 | 2026-10-16 |
| DigitalOcean | On-demand | $4.41 | 2026-10-20 |
| Nebius | On-demand | $4.50 | 2026-10-16 |
| CoreWeave | On-demand | $6.16 | 2026-10-20 |
| AWS | On-demand | ~$6.88 | 2026-10-16 |
| Google Cloud | On-demand | ~$11.00 | 2026-10-16 |
| Microsoft Azure | On-demand | $12.29 | 2026-10-16 |
Price points recorded by the Compute Census index for the H100; third-party index rows are context, not providers. Full table: H100 rental price.
Has the rate moved
Figure 1H100: median on-demand rental price and published range, USD per GPU-hour, 2023-06-01 to 2026-11-27
Against 1 Oct 2025, the H100 median has moved +90%. The first median we recorded was $8.00 on 1 Jun 2023, and the peak was $8.00 on 1 Jun 2023. A training budget written in one quarter can be wrong in the next for this reason alone, which argues for fixing the rate in a contract when the run is large. Our guide on whether GPU rental prices are going up follows the direction of the market, and the H100 price guide covers both buying and renting.
A worked example on the index
Take a hypothetical team that wants to replicate a SmolLM3-sized run: about 221,000 H100 GPU-hours. The index gives the rate; the multiplication is theirs. Multiply 221,000 by the H100 median above and you have the cost at the market’s middle. Multiply by the floor and you have the best case, which assumes a provider with that quote has 384 GPUs free for 24 days. Multiply by the 12-month reserved rate, and you are pricing the run as if the team had signed a year-long contract. In practice a team does not get the floor for a block of this size, and the honest budget lies between the median and the highest quote. We do not print the products here because they would go stale as the index updates; the formula is the part that lasts.
What the headline cost leaves out
The ablations and the failed runs
Every published figure above is for a final run. Before the final run come smaller experiments on architecture, data mix and hyperparameters, and some full-size attempts that fail. DeepSeek’s report says outright that its cost excludes this work. Meta’s model card lists GPU-hours for the finished models, and says nothing about the experiments that chose their settings. We found no primary source that gives a general ratio of experiment compute to final-run compute, so we do not state one. If you budget a pre-training project, add an experiment line and write down your own assumption for it.
Failures during the run
Large runs fail all the time. Meta’s Llama 3 paper reports 466 job interruptions in a 54-day snapshot of the 405B training, of which 47 were planned and 419 were unexpected. The run still achieved an effective training time above 90 percent, with automated recovery, but that is the result of engineering effort. A team with a weaker setup loses more time to restarts, and a preemptible rate is a promise that interruptions will happen. The effective-throughput numbers in Table 1 already contain Meta’s losses. If your rate looks cheap, ask what fraction of hours will actually train.
People, data and everything else
Epoch AI’s study of frontier training costs gives a cost breakdown that shows how large the non-compute share is. For the models it examined, including GPT-4 and Gemini Ultra, hardware was 47 to 67 percent of the development cost, staff 29 to 49 percent including equity, and energy 2 to 6 percent. The study’s main method multiplies training chip-hours by a depreciated hardware cost, adds 23 percent for cluster networking, and adds energy. A second method uses flat cloud rental rates, and runs about twice as high on average as the amortised-hardware one.
The lesson is the same as with the DeepSeek table. GPU-hours priced at a rental rate are the cost of the machine time, which for the largest models is only around half of the project. For a small team renting GPUs the share is different, because the team pays rent where Epoch’s method looks at ownership, but staff time, data work and evaluation do not vanish. Data is the part our tables cannot price at all: licensing, cleaning, deduplication and storage vary with the project and are not in any figure we cite.
Ownership versus rental
Epoch’s two methods are a reminder that the same GPU-hours have two prices. An owner’s cost per hour reflects what the hardware cost, over how many years, at what utilisation. A renter’s reflects the provider’s margin and the market’s scarcity. A team that keeps its GPUs busy for most of their useful life can come out cheaper by owning, and a team that runs one pre-training project and then stops will not. Our guide on how to rent a GPU for AI covers the terms, and the H100 price guide covers the ownership side.
The trend: why the bills keep growing
Frontier cost grows by a factor of two to three a year
Epoch AI estimates that the amortised hardware and energy cost of the final training run of frontier models has grown by a factor of 2.4 a year since 2016, with a 95 percent confidence interval of 2.0 to 3.1. The cloud-rental method gives 2.6 a year. Its summary page describes the growth as 2 to 3 times a year over the past eight years, and says that if the trend continues, the largest training runs would cost more than $1 billion by 2027. A later note on the page changed the intervals to 90 percent confidence. The sample is 45 models that ranked in the top ten for training compute when they were released.
That is a statement about the frontier. It is not about what you will pay, since a model of last year’s quality is cheaper to train today than it was then. DeepSeek-V3 reached strong benchmark scores at a published compute budget that is a small fraction of Llama 3.1 405B’s. The market has two curves: the frontier cost rises, and the cost of any fixed capability falls as methods improve and GPUs get faster.
Newer GPUs shorten the bill, not always the invoice
A newer GPU generation does more work per hour, so the GPU-hours of a given run fall, but the price per hour rises. Table 3 shows the price premium of each generation. Whether a run is cheaper on the newer part depends on the speed-up against the price ratio, which is the calculation we set out in our guides to H100 against H200 and B200 against H200. For training, NVIDIA’s published MLPerf results suggest speed-ups of roughly two to three times per GPU for Blackwell over Hopper, with the caveats in those guides. A rule that holds is to price the job, not the hour.
Compute is a share of what you can actually buy
Behind the cost trend is a supply fact. Training at scale needs thousands of GPUs at the same time, in one place, on a fast network. Our census of AI campuses counts 685 campuses in 57 countries, with 111.7 GW of capacity in all stages. Few campuses can host a cluster of the size Meta used, and the table below shows how the census splits by status. A run on the scale of Llama 3.1 405B is limited by the availability of a cluster as much as by its price.
Table 5AI campuses in the census by status
| Status | Campuses | With published MW | Published MW |
|---|---|---|---|
| Under construction | 264 | 232 | 52,586 |
| Announced | 143 | 121 | 49,965 |
| Operational | 278 | 160 | 9,173 |
Compute Census AI campus census, records to 29 Nov 2026. MW summed only where a source publishes a figure. Full list: AI data center census.
Fine-tuning: what a few GPU-hours buy
What a fine-tune changes
Most teams that ask how to train an LLM on their own data want one of three things. They want a model to follow their format, to know their vocabulary, or to answer from their documents. The first two are fine-tuning. The third is often better served by retrieval, which needs no training at all, and which we leave out here because it is an inference cost. Fine-tuning starts from an open model that someone else paid to pre-train, and adjusts it on thousands to millions of examples. The cost scales with the number of tokens in the dataset and with the model size, and it is orders of magnitude below pre-training.
Alpaca: the reference small run
Stanford’s Alpaca project is the cleanest published reference. It fine-tuned Meta’s LLaMA 7B on 52,000 instruction examples. The training took about three hours on eight 80 GB A100 GPUs, which is 24 GPU-hours, and the authors say it cost less than $100 on most cloud compute providers. Generating the instruction data with the OpenAI API cost less than $500, which means that data, not compute, was the larger bill. The page gives a total under $600 for reproducing the project.
Run the numbers on the compute. Twenty-four GPU-hours for under $100 implies an upper bound of about $4 per GPU-hour,. Today the same work at our A100 median of $1.75 would cost 24 times that number. The point is the order of magnitude: a fine-tune of a 7B model is a one-day job on one node, and the rental price matters little compared with the time spent on the data.
LoRA and QLoRA lower the memory bill
Full fine-tuning updates every weight, and the optimizer states for a large model need several times the memory of the weights. Low-rank adaptation, or LoRA, freezes the base model and trains small added matrices. The LoRA paper reports that, against GPT-3 175B fine-tuned with Adam, it cuts the trainable parameters by about 10,000 times and the GPU memory requirement by about three times, with no added inference latency. QLoRA goes further by holding the frozen base in 4-bit precision, and its abstract reports that it can fine-tune a 65-billion-parameter model on a single 48 GB GPU while preserving the quality of 16-bit fine-tuning. A 48 GB card is a modest rental, and that is the reason why a 65B fine-tune is within reach of an individual.
The saving is in the number of GPUs and the price of each, not in the hours. We found no published GPU-hour count that compares the two on the same job, so we state no ratio.
Hosted fine-tuning, priced per token
Another route is to rent the fine-tune as a service, priced per training token and not per GPU-hour. Together AI’s pricing page lists supervised fine-tuning rates per million training tokens, where the training tokens are the dataset size multiplied by the number of epochs. We read the following on 24 November 2026. The page carries two lists, and we use the lower one; the other is about ten percent higher for the models it covers. Each job is subject to a minimum charge.
| Model | SFT per million training tokens | 30 million tokens (10,000 examples × 1,000 tokens × 3 epochs) | 1 billion tokens |
|---|---|---|---|
| Llama 3.1 8B | $0.34 | $10.20 | $340 |
| Llama 3.3 70B | $2.03 | $60.90 | $2,030 |
| Llama 4 Scout | $2.10 | $63.00 | $2,100 |
| Llama 4 Maverick | $5.60 | $168.00 | $5,600 |
| DeepSeek-V3.1 | $7.00 | $210.00 | $7,000 |
Table 6. Hosted supervised fine-tuning at Together AI’s listed per-token rates, applied to two dataset sizes. Our arithmetic. The minimum charge per job ($4 for the 8B and 70B models, $16 for Maverick, $20 for DeepSeek-V3.1) applies to small jobs. Source: Together AI pricing page, read 24 November 2026.
A 30-million-token fine-tune of a 70B model costs about $61 at that rate, and a billion-token one about $2,000. The same page lists H100 cluster capacity at $3.99 per GPU-hour on demand, so a per-token price implies how many GPU-hours the provider expects to use per million tokens, and a team can check whether renting the GPUs directly would be cheaper. The comparison is not exact, since the service includes the software, the checkpointing and the failures, and we do not know the provider’s throughput. For small and occasional jobs the per-token route is usually the cheaper one in time and money. For large or repeated ones, a rented node and your own training script gives more control.
The fine-tuning budget in one line
Count the training tokens, which is the dataset size times the epochs. Multiply by the per-token rate of a hosted service, or work out the GPU-hours from the formula above and multiply by the index rate. Then add the cost of preparing the data and of evaluating the result, which in most small projects is the larger share.
How to build your own estimate
Step 1: decide which job you are doing
There are four kinds of project, and their costs differ by orders of magnitude. A prompt-and-retrieval system costs no training GPU-hours at all. A fine-tune costs tens to thousands of dollars of compute. Continued pre-training of an open model on your domain text costs somewhere between a fine-tune and a from-scratch run, and the cost scales with the tokens you add. A from-scratch pre-training run costs what Table 2 shows, scaled to your model. If you cannot say which of the four you need, the answer is usually the first or the second.
Step 2: pick a reference run
Choose the published run that is closest to yours in parameters, tokens and hardware, from Table 1. Take its GPU-hours. If your model is larger or smaller, scale the hours by the ratio of parameters times tokens, then adjust for the effective throughput in the last column of the table: a small model on a small cluster will be nearer to 137 trillion operations per GPU per second than to 342. If your hardware differs, convert with care. A newer GPU does more work per hour, but we have no cited conversion factor across generations that we would trust for a budget, so use two runs on the same hardware where you can.
Step 3: price the hours, and bracket the price
Take at least three rates: the floor, the median and the reserved rate from our index, and a hyperscaler’s list rate for comparison. Compute the cost at each. If the high and the low are three times apart, as they are in Table 2, the decision about where to buy is worth more than the decision about how to tune. Remember that preemptible capacity needs a training script that can resume from a checkpoint without losing more than a few minutes of work, and that the cheapest rate is often limited to small blocks.
Step 4: add the lines that are not GPU-hours
Add the experiments before the final run, a failure allowance, storage and data transfer, the engineers’ time, and the cost of evaluating the model. Epoch’s breakdown suggests that, for the models it studied, non-hardware costs were roughly a third to a half of the total. For a small team the shares differ, but the lesson is that the invoice from the GPU provider is a part of the budget and not the whole.
Step 5: set the calendar
Divide the GPU-hours by the number of GPUs you can rent together, and check that the answer fits the deadline. DeepSeek-V3 took about 57 days on 2,048 GPUs, if the cluster was busy throughout. A team with 64 GPUs would need about 1,800 days for the same hours. If the calendar fails, the choices are a smaller model, fewer tokens, a larger cluster or a different goal. Many projects that start as pre-training runs end as fine-tunes after this step.
Six mistakes in reading a training cost
- Treating the DeepSeek-V3 figure as the cost of building a frontier model. It is the cost of one run at an assumed rate.
- Applying a rate for one GPU type to hours counted on another, as we did for DeepSeek’s H800 hours in Table 2. It is a stand-in, not a quote.
- Forgetting that preemptible capacity is interrupted. The effective rate is the price divided by the share of hours that train.
- Counting tokens once when the dataset is used for several epochs.
- Comparing a GPU-hour price across terms. An on-demand hour, a reserved hour and a spot hour are different products.
- Pricing the hardware and forgetting the data, the evaluation and the people.
How to source GPU-hours for training
Decide what you are buying
A training project needs GPUs that run together, so the first question is the size of the block, then the term, then the start date. A fine-tune that needs one GPU for a day is a different purchase from a run that needs sixty-four GPUs for a month, and the first can go to any provider with stock. The second needs a provider that can place the whole block on one fabric, and that is where a conversation about terms starts. Our index of GPU rental prices shows current quotes, the H100 model page lists them by provider, and the methodology explains how the figures are built.
Questions for a provider of rented capacity
- Is the rate for a dedicated cluster, a shared pool or preemptible capacity, and what happens to a job when capacity is taken back?
- How many GPUs can be placed together on one network, and at what speed per GPU?
- What is the minimum term, and is it possible to extend, shrink or end early?
- Who replaces a failed node, how fast, and does the downtime count against the bill?
- What is included: storage, data transfer, a scheduler and support?
- Can I run a short trial on the real configuration before committing to the full block?
Questions for a seller of hardware
- Which variant is it: an HGX board, a DGX system or an integrator’s server, and what is the lead time?
- New, refurbished or used, and with what warranty?
- What power and cooling does it need per server, and does the host site have them?
- What export paperwork applies to the destination country?
If the same hardware will stay busy for years, buying can be cheaper than renting, and our guides on the H100 and on AI data center servers cover that side. For a single run, rent.
We handle both routes. GPU capacity is available for rent and hardware for purchase, through different partners, and the terms are agreed individually for each request: there is no fixed commission and no fixed minimum. Tell us the GPU, the quantity, the term, the location and the start date in the form below, and we come back with what is available and on what terms.
