Fine-Tune Cost Lab

Scenario · 34B parameters · LoRA or QLoRA

34B LoRA fine-tune on 1 billion tokens: cost estimate

34 billion parameters, 1 billion tokens, lora or qlora. The lowest estimate across 11 GPU entries is $112 on Vultr with MI355X, 43 h of GPU time at 35% MFU. An estimate, not a quote.

Step by step

The arithmetic

  1. 1. Training FLOPs. 4 × 34 × 10^9 parameters × 1 billion tokens = 1.36 × 10^20 FLOPs. The forward pass costs about 2 x parameters x tokens and the backward pass about 2 x, because gradients for the frozen base weights are not computed. The small adapter matrices and QLoRA dequantisation are not counted.
  2. 2. Useful throughput per GPU. Dense BF16 TFLOPS × 10^12 × 35% MFU. The table gives it for each GPU.
  3. 3. GPU-hours. FLOPs ÷ throughput ÷ 3,600. For L40S (362.05 TFLOPS): 1.36 × 10^20 ÷ 1.27 × 10^14 ÷ 3,600 = 298 GPU-hours.
  4. 4. Wall-clock. GPU-hours ÷ 8 GPUs, assuming the work spreads evenly.
  5. 5. Cost. GPU-hours × each provider's lowest listed on-demand price per GPU-hour for that GPU.

Result

Estimated cost by GPU

GPUDense BF16 TFLOPSGPU-hours8 GPUsProvidersLowestMedianHighest
MI355X2500435.4 h2$112Vultr$242$371Oracle Cloud
MI300X1307.48310 h4$153Vultr$249$495Oracle Cloud
MI325X1307.48310 h2$165Vultr$239$314DigitalOcean (Paperspace)
H100 SXMpreliminary100010813 h6$318Thunder Compute$342$549Verda
GH20099010914 h2$217Vultr$463$709CoreWeave
H100 PCIepreliminary80013517 h2$337Hyperstack$364$390RunPod
L40S362.0529837 h14$164Runcrate$458$1,043Oracle Cloud
A100 80GB31234643 h12$377Thunder Compute$656$1,187Amazon Web Services
L40181.055963.1 days6$471Thunder Compute$554$751Runcrate
A40149.77213.8 days3$425RunPod$1,234$1,918Runcrate
A101258634.5 days4$863OVHcloud$1,662$2,763Microsoft Azure

Prices are each provider's lowest listed on-demand rate per GPU-hour, read 12 November 2026. Only GPUs whose maker prints a dense BF16 figure appear; the coverage page says which are out and why.

Sensitivity

What if MFU were different? (L40S)

MFU assumedGPU-hours8 GPUsLowest cost
20%5222.7 days$287
35% (default)29837 h$164
50%20926 h$115

The 20% and 50% rows are what-if inputs chosen to show sensitivity, not measurements. Lowest cost uses Runcrate at $0.55 per GPU-hour.

Try it

Change the assumptions

Estimate, step by step

  1. 1. Training FLOPs = 4 × 34 billion parameters × 1000 million tokens = 1.36 × 10^20
  2. 2. Useful FLOP/s per GPU = 362.05 TFLOPS × 35% MFU = 1.27 × 10^14
  3. 3. GPU-hours = step 1 ÷ step 2 ÷ 3,600 = 298.1
  4. 4. Wall-clock on 8 GPUs = step 3 ÷ 8 = 37 h, assuming the work spreads evenly
  5. 5. Cost = step 3 × each provider's lowest listed price per GPU-hour
ProviderBilling$/GPU-hrEstimated cost
Runcrateours, liveper second$0.55$164
CloudRiftper second$0.69$206
Massed Computebilling not stated$0.97$289
RunPodper second$1.09$325
Koyebper second$1.20$358
Civoper hour$1.29$385
Crusoeper hour$1.50$447
DigitalOcean (Paperspace)per second$1.57$468
Vultrper hour$1.67$498
OVHcloudper hour$1.80$537
Amazon Web Servicesper second$1.86$555
Verdabilling not stated$2.00$596
CoreWeavebilling not stated$2.25$671
Oracle Cloudbilling not stated$3.50$1,043

Range $164 to $1,043, median $458 across 14 providers. An estimate, not a quote: real runs differ in utilisation, memory fit, communication and restarts, and providers that bill per hour round up.

Questions

34B LoRA fine-tune on 1 billion tokens: common questions

How many FLOPs does this take?

About 1.36 × 10^20: 4 × 34 billion parameters × 1 billion tokens. The forward pass costs about 2 x parameters x tokens and the backward pass about 2 x, because gradients for the frozen base weights are not computed. The small adapter matrices and QLoRA dequantisation are not counted.

What does it cost at the low end?

$112, on Vultr with MI355X at $2.59 per GPU-hour, for 43 GPU-hours.

Is this a quote?

No. It is an estimate from a stated formula and published list prices. Real runs differ in utilisation, memory fit and restarts, and the MFU is an assumption.

Why are some GPUs missing?

A GPU needs a dense BF16 figure printed by its maker. Those that print only a sparse figure are excluded rather than halved.

Related

Disclosure

Fine-Tune Cost Lab is published by the Runcrate team, who also run Runcrate, an AI cloud. Runcrate is listed in the table, marked "ours, live". It is sorted by price like every other row, with no pinned position. Other providers' prices are read from their own public pricing pages. We have no paid placement.