Compute for Training
The headline cost of a large language model is not the research and not the data — it is the rented silicon and electricity of one long run. Compute for training is the total arithmetic that run consumes, and it is the quantity the whole field organises itself around.
How much, and measured howThe standard estimate for a dense transformer is 6 × N × D FLOPs for N parameters and D training tokens — the forward pass costs about 2ND and the backward pass twice that again. Frontier runs land in the 1023 to 1025 FLOP range, which translates to thousands of accelerators held for weeks. The number practitioners actually watch is not peak throughput but model FLOPs utilisation: the fraction of the hardware's theoretical speed the run really achieves, commonly 30–50%, with the remainder lost to communication, memory stalls and pipeline bubbles.
Where it goes besides arithmetic- No single accelerator holds the job, so weights, gradients and optimizer states are split by tensor parallelism, pipeline parallelism and ZeRO-style sharding — and every split adds communication the FLOP count ignores.
- Activation memory forces recomputation: deliberately doing some arithmetic twice because storing the result is more expensive than repeating it.
- Hardware fails. A run of weeks checkpoints constantly and restarts from the last checkpoint, and that lost time is paid for in full.
Because the spend is committed upfront and cannot be improved by trying harder later, teams forecast with scaling laws before booking the cluster, and treat the split between model size and token count as the decision it is.
Compute for training is the total arithmetic consumed by a pretraining run — about 6 × parameters × training tokens FLOPs for a dense transformer, reaching 1023 to 1025 FLOPs at the frontier, or thousands of accelerators running for weeks. It is committed before any result is known, which is why scaling laws are used to forecast it, and why model FLOPs utilisation — the share of peak hardware throughput actually achieved — matters as much as cluster size.
Picture thousands of specialised computers in a warehouse, running day and night for weeks, while a system reads its way through more text than any person could get through in a thousand lifetimes. Compute for training is the total amount of calculation that takes.
It is staggeringly large, and it is paid in advance: you book the machines, start the run, and wait weeks to learn whether the result was any good. Two consequences follow. Only well-funded organisations can build one of these systems from scratch. And everyone else starts from a finished model somebody else paid for, then adapts it — which is far cheaper, and is what most AI products quietly do.