Cost to train · prices checked 2026-11-19

How much does it cost to train Qwen2.5 72B?

Fine-tuning Qwen2.5 72B with LoRA on 100 million tokens takes about 22 GPU-hours on an MI300X: $55.85 at today's cheapest on-demand price (DigitalOcean), at 35% MFU.

LoRA fine-tune on 100 million tokens · 8K context · 35% MFU

LoRA fine-tune, by GPU

MachineGPU-hoursTime on itOn-demandInterruptible
1 x MI300XBF162221.6 hours$55.85DigitalOcean 
3 x H100 SXMBF16289.5 hours$56.70Voltage Parkfrom $22.51
8 x RTX 4090BF1617121.3 hours$58.02RunPod 
4 x L40SBF167819.5 hours$61.52RunPodfrom $57.62
4 x RTX A6000BF1618245.5 hours$63.74Thunder Compute$83.32
1 x B200BF161312.5 hours$68.04Massed Computefrom $12.40

Full fine-tune on 1 billion tokens · 8K context · 35% MFU

Full fine-tune, by GPU

MachineGPU-hoursTime on itOn-demandInterruptible
7 x MI300XBF1630443.4 hours$787DigitalOcean 
17 x H100 SXMBF1640223.6 hours$799Voltage Parkfrom $317
54 x RTX 4090BF162,40544.5 hours$818RunPod 
27 x L40SBF161,09740.6 hours$867RunPodfrom $812
27 x RTX A6000BF162,5674.0 days$898Thunder Compute$1,174
8 x B200BF1617722.1 hours$959Massed Computefrom $175

Pretraining on 1.5 trillion tokens, 20 per parameter · 8K context · 35% MFU

Pretraining, by GPU

MachineGPU-hoursTime on itOn-demandInterruptible
7 x MI300XBF16441,8732,630.2 days$1,144,451DigitalOcean 
17 x H100 SXMBF16583,8941,431.1 days$1,161,949Voltage Parkfrom $461,276
54 x RTX 4090BF163,497,0022,698.3 days$1,188,981RunPod 
27 x L40SBF161,595,6492,462.4 days$1,260,563RunPodfrom $1,180,780
27 x RTX A6000BF163,731,9435,759.2 days$1,306,180Thunder Compute$1,707,364
8 x B200BF16256,7581,337.3 days$1,394,194Massed Computefrom $254,190

Qwen2.5 72B: 72.7 billion parameters, 80 layers, 64 attention heads of size 128, from its published configuration. Peak throughput from each GPU's vendor (gpu-specs.json). Try other settings on the calculator.

Questions

Qwen2.5 72B, answered

How much does it cost to fine-tune Qwen2.5 72B?

Fine-tuning Qwen2.5 72B with LoRA on 100 million tokens takes about 22 GPU-hours on an MI300X: $55.85 at today's cheapest on-demand price (DigitalOcean), at 35% MFU. Training every weight of Qwen2.5 72B on 1 billion tokens takes about 304 GPU-hours on an MI300X: $787 at today's cheapest on-demand price (DigitalOcean), at 35% MFU.

How much would it cost to pretrain Qwen2.5 72B from scratch?

On the compute-optimal 1.5 trillion tokens (about 20 tokens per parameter, as Chinchilla found), about 441,873 GPU-hours on an MI300X: $1,144,451 at today's cheapest on-demand price, before any failed runs or experiments.

How is this worked out?

Training FLOPs: for each token, 6 x the parameters a token uses for a full update (2 forward, 4 backward), or 4 x for LoRA, whose frozen weights need no weight gradients; plus attention's 12 x layers x heads x head size x context (PaLM, Appendix B). GPU-hours: those FLOPs over the GPU's peak dense throughput, from its vendor, times the share of it training reaches (model FLOPs utilisation, MFU; 35% unless you change it). Cost: GPU-hours times each GPU's cheapest price per GPU-hour in the index. Machines: enough GPUs to hold the model for that kind of training (see Will it fit?); the time on them assumes the work splits evenly. Every GPU gets the same MFU, a simplification: real utilisation differs by GPU, software and job, so treat rows within about 20% of each other as a tie.