Cost to train · prices checked 2026-11-19

How much does it cost to train Mixtral 8x7B?

Fine-tuning Mixtral 8x7B with LoRA on 100 million tokens takes about 3.9 GPU-hours on an MI300X: $10.14 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 MI300XBF163.93.9 hours$10.14DigitalOcean 
2 x H100 SXMBF165.22.6 hours$10.29Voltage Parkfrom $4.09
5 x RTX 4090BF16316.2 hours$10.53RunPod 
3 x L40SBF16144.7 hours$11.17RunPodfrom $10.46
3 x RTX A6000BF163311.0 hours$11.57Thunder Compute$15.13
1 x B200BF162.32.3 hours$12.35Massed Computefrom $2.25

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

Full fine-tune, by GPU

MachineGPU-hoursTime on itOn-demandInterruptible
5 x MI300XBF165511.0 hours$142DigitalOcean 
11 x H100 SXMBF16726.6 hours$144Voltage Parkfrom $57.21
35 x RTX 4090BF1643412.4 hours$147RunPod 
18 x L40SBF1619811.0 hours$156RunPodfrom $146
18 x RTX A6000BF1646325.7 hours$162Thunder Compute$212
5 x B200BF16326.4 hours$173Massed Computefrom $31.53

Pretraining on 934 billion tokens, 20 per parameter · 8K context · 35% MFU

Pretraining, by GPU

MachineGPU-hoursTime on itOn-demandInterruptible
5 x MI300XBF1651,190426.6 days$132,581DigitalOcean 
11 x H100 SXMBF1667,642256.2 days$134,609Voltage Parkfrom $53,438
35 x RTX 4090BF16405,118482.3 days$137,740RunPod 
18 x L40SBF16184,851427.9 days$146,033RunPodfrom $136,790
18 x RTX A6000BF16432,3351,000.8 days$151,317Thunder Compute$197,793
5 x B200BF1629,745247.9 days$161,513Massed Computefrom $29,447

Mixtral 8x7B: 46.7 billion parameters, 12.9 billion used by each token, 32 layers, 32 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

Mixtral 8x7B, answered

How much does it cost to fine-tune Mixtral 8x7B?

Fine-tuning Mixtral 8x7B with LoRA on 100 million tokens takes about 3.9 GPU-hours on an MI300X: $10.14 at today's cheapest on-demand price (DigitalOcean), at 35% MFU. Training every weight of Mixtral 8x7B on 1 billion tokens takes about 55 GPU-hours on an MI300X: $142 at today's cheapest on-demand price (DigitalOcean), at 35% MFU.

How much would it cost to pretrain Mixtral 8x7B from scratch?

On the compute-optimal 934 billion tokens (about 20 tokens per parameter, as Chinchilla found), about 51,190 GPU-hours on an MI300X: $132,581 at today's cheapest on-demand price, before any failed runs or experiments. Mixtral 8x7B is a mixture of experts: the FLOPs count the 12.9 billion parameters each token uses, and the 20-per-parameter rule was found for dense models.

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.