Compute Budget
Before a pretraining run starts, someone decides how much arithmetic it is allowed to consume. That number — total FLOPs, or equivalently accelerator-hours on a known cluster — is the compute budget, and nearly every other decision about the model follows from it.
What the budget buysFor a dense transformer, training compute is approximately 6 × N × D: six FLOPs per parameter per token, where N is the parameter count and D the number of training tokens. The budget therefore fixes the product of model size and data volume, not either one on its own. A bigger model means fewer tokens; more tokens means a smaller model. Once the cluster is booked and the learning-rate schedule is set to decay across a planned token count, there is no third option.
Why it is decided first- It is the largest irreversible cost in the project — a frontier run means thousands of accelerators held for weeks.
- Stopping early does not save money gracefully: a run halted mid-schedule leaves a model worse than one planned for that smaller budget from the start.
- It sets the data requirement, which can exceed the high-quality text that actually exists.
- It is the x-axis of every scaling-law forecast, which is how a team predicts the loss of a model nobody has trained yet.
The discipline that follows is to spend a small slice of the budget on a ladder of short runs, fit the curve, and only then commit the rest. A badly allocated budget does not fail loudly — it yields a model that works, trails a competitor that spent the same, and cannot be rescued without paying again.
A compute budget is the total arithmetic allocated to a training run, measured in FLOPs or accelerator-hours. For a dense transformer it is approximately 6 × parameters × training tokens, so the budget fixes the product of model size and data volume and forces a trade between them. It is settled before training begins because it is the project's largest irreversible cost and it determines the learning-rate schedule, the data requirement and the loss the run can reach.
Training one of these language systems is like chartering a factory. You book a vast number of machines for a fixed number of weeks, and that booking is your entire allowance. The compute budget is that allowance — the total amount of calculation the project can afford to spend.
Here is the awkward part. You can spend it on something bigger that reads less, or something smaller that reads far more, but you cannot have both. And the bill is paid before anyone sees the result, because the run itself takes weeks. So the single most important choice about the finished system is made while it is still a plan on paper.