Training Compute-Optimal Large Language Models
For a fixed training-compute budget, scaling model parameters and training tokens together can outperform simply making a model larger.
Key takeaway
The Chinchilla paper shows that many contemporary LLMs were undertrained. From experiments on 400+ models, it argues that model size and training tokens should grow at roughly equal rates as compute increases. Its 70B-parameter model trained on 1.4T tokens matched Gopher’s training compute and outperformed larger models on many benchmarks.
Updated on Nov 23, 2026
01
Abstract
Overview
The paper asks a practical question: if the total training-compute budget is fixed, how should it be split between model size and the number of training tokens? The authors find that many large language models of the time used too many parameters relative to the data they were trained on. Their compute-optimal model, Chinchilla, has 70B parameters and is trained on 1.4T tokens.
02
Background
Related Work
The paper revisits neural language-model scaling laws, especially Kaplan et al. (2020), and contrasts its conclusions with the earlier recommendation to scale model size faster than training data. It also situates the work among large dense Transformer models such as GPT-3 and Gopher, and discusses mixture-of-experts and retrieval-augmented approaches as complementary directions.
03
Methodology
Core Idea
A model should not simply become larger as more compute becomes available. Under the paper’s estimated compute-optimal relationship, parameter count and training-token count should increase at roughly the same rate. In plain terms: a smaller model trained on substantially more data can use a compute budget better than a much larger model trained on too few tokens.
Method
The team trained more than 400 language models, spanning roughly 70M to over 16B parameters and training runs from 5B to hundreds of billions of tokens. They compared training-loss curves at matched FLOPs, estimated the minimum-loss frontier, and used three complementary approaches to infer compute-optimal model and data allocations. They then trained Chinchilla to test the prediction at a much larger scale.
Approach 1: the minimum-loss envelope
Left: every training run, from 70M to 10B parameters, each trained with four different cosine learning-rate cycle lengths, plotted as training loss against FLOPs (colour shows model size). At any compute budget one run reaches the lowest loss, and the grey points trace that lower envelope. Centre and right: for each point on the envelope, the authors record which model size and how many training tokens produced it, then fit power laws N_opt ∝ C^a and D_opt ∝ C^b. Approach 1 gives a = b = 0.50: as compute grows, parameters and training tokens should grow at the same rate. The green lines extrapolate to Gopher's training budget (5.76 × 10^23 FLOPs), giving about 67B parameters and 1.5T tokens, far from Gopher's actual 280B parameters and 300B tokens. Matching the learning-rate schedule to each run's length matters here: the authors argue that Kaplan et al. used one fixed schedule and token count for every model, which distorted the losses of shorter runs and pushed that study's conclusion toward bigger models.
Figure 2 from Hoffmann et al. (2022), supplied by the user. Paper: NeurIPS 2022.
Approach 2: IsoFLOP profiles
Here the compute budget is fixed instead of the model size. For each of nine budgets, from 6 × 10^18 to 3 × 10^21 FLOPs, the authors train a range of model sizes and choose the number of tokens for each so that every run uses exactly that budget, with the cosine cycle length set to match. Left: each curve is one budget, plotted as final loss against model size. Each has a clear valley: a model that is too small cannot learn enough, while one that is too large sees too few tokens for the budget. A parabola fitted to each curve locates its minimum, the compute-optimal model for that budget. Centre and right: those minima fall on straight lines in log-log space, giving a = 0.49 for parameters and b = 0.51 for tokens. Extrapolated to Gopher's budget, the optimum is about 63B parameters trained on 1.4T tokens.
Figure 3 from Hoffmann et al. (2022), supplied by the user. Paper: NeurIPS 2022.
Approach 3: fitting a loss function
The third approach models final loss directly as a function of parameters N and training tokens D: L(N, D) = E + A/N^alpha + B/D^beta. E is the irreducible loss of natural text, the second term is the penalty for a finite model, and the third is the penalty for finite data. The constants are fitted to all the runs using a Huber loss, which is robust to outliers. Left: contours of equal predicted loss over training FLOPs and model size, with the actual runs as points and the isoFLOP budgets from Approach 2 as dashed vertical lines. The blue efficient frontier passes through each contour at its cheapest point; it is a straight line, giving a = 0.46 and b = 0.54. Right: the fitted function reproduces the isoFLOP valleys, and its curve for the Gopher budget (black) has its minimum near 40B parameters, the smallest of the three estimates.
Figure 4 from Hoffmann et al. (2022), supplied by the user. Paper: NeurIPS 2022.
04
Architecture
Chinchilla is a dense autoregressive Transformer language model, not a new neural-network architecture. The contribution is primarily a training-compute allocation strategy: choose the parameter count and token budget together, then train a conventional decoder-only language model with that allocation.
05
Training
Regularization and Training Setup
The paper is not proposing a new regularizer. Its central experimental concern is fair compute accounting across model sizes and training horizons. Learning-rate schedules were adjusted to match training duration; the authors emphasize that mismatched schedules can distort comparisons between models trained for different numbers of tokens.
Compute and Data Budget
Implementation Notes
To apply the lesson, estimate the available training FLOPs first, then jointly choose parameter count and token budget rather than selecting model size in isolation. Track tokens actually consumed, training loss, validation performance, and total accelerator-hours. Avoid assuming that the paper’s approximate parameter-to-token ratio is an exact recipe for every dataset or modern architecture.
Large models of the time were undertrained
The table lists five of the largest dense Transformer language models when the paper was written, with their size and the number of tokens they were trained on. Apart from LaMDA, they were all trained on about 300 billion tokens regardless of size, in line with the earlier advice to spend extra compute mostly on parameters. Chinchilla reverses that: at 70B parameters it is 4x smaller than Gopher, but it is trained on 1.4 trillion tokens, about 4.7x more, with the same compute budget. That works out to roughly 20 training tokens per parameter, against about 1 to 2 for GPT-3 and Gopher. The paper's projected optimum for larger budgets (Appendix Table A3) means a 175B model would need trillions of tokens, which makes collecting enough high-quality data a central constraint.
Table 1 from Hoffmann et al. (2022), supplied by the user. Paper: NeurIPS 2022.
06
Results
Evaluation
The authors compare smoothed pretraining loss at matched FLOPs to estimate the compute-optimal frontier, then evaluate trained models on downstream benchmarks including MMLU, TriviaQA, LAMBADA, HellaSwag, PIQA, WinoGrande, and BoolQ. The Chinchilla-vs-Gopher comparison is especially important because the models use similar training compute but very different parameter and token allocations.
All three approaches agree: smaller models, trained longer
The coloured lines are the compute-optimal model sizes predicted by the three approaches (Figures 2 to 4). The dashed black line is the projection from Kaplan et al. (2020), which had model size growing much faster than data (N ∝ C^0.73). The predictions are similar at small budgets but diverge as compute grows. At the compute used by the largest models of the time, all three approaches say the optimal model is several times smaller than what was built: GPT-3 (175B), Gopher (280B) and Megatron-Turing NLG (530B) sit well above the lines, close to the Kaplan projection. Together the approaches put the optimum for Gopher's budget at about 40B to 70B parameters. To test this, DeepMind trained Chinchilla (70B parameters, 1.4T tokens) with the same compute as Gopher. It outperforms Gopher and the other large models, reaching 67.5% average accuracy on MMLU, more than 7 points above Gopher. As a smaller model, it is also cheaper to fine-tune and serve.
Figure 1 from Hoffmann et al. (2022), supplied by the user. Paper: NeurIPS 2022.
07
Limitations
The scaling relationship is an empirical estimate under the paper’s data, architecture, and compute assumptions—not a universal constant for every model family or training regime. The largest models used to fit the frontier were much smaller than Chinchilla, so the final 70B result extrapolates beyond much of the experimental sweep. Data quality, deduplication, context length, architecture, optimization, and later training stages can all change the best allocation.
08
Conclusion
Key Contributions
The work provides empirical estimates of compute-optimal model/data allocation; demonstrates that several large LLMs were undertrained; validates the prediction with a 70B model trained on 1.4T tokens; and highlights that training decisions affect not only pretraining performance but also downstream serving costs.
Practical Takeaways
- Bigger is not automatically better when the training-data budget is fixed.
- Model size and training tokens must be planned together.
- A smaller, better-trained model can be cheaper to serve as well as more capable.
- The compute-optimal ratio is a useful starting hypothesis, not a universal law.
- Dataset quality and training setup remain critical.
Frequently Asked Questions
What is Chinchilla? A 70B-parameter language model trained on 1.4T tokens as a compute-optimal test case.\n\nWhat is the main insight? Scale training tokens along with model parameters instead of only increasing model size.\n\nDid Chinchilla use more compute than Gopher? The paper designed it to use approximately the same training-compute budget as Gopher.\n\nWhy did it outperform Gopher? It used many more training tokens with a smaller parameter count, reducing undertraining.\n\nIs the Chinchilla ratio a universal rule? No. It is an empirical result under particular assumptions and should be recalibrated for new data, architectures, and objectives.\n\nWhy does model size matter after training? Smaller models generally require less memory and compute for inference and fine-tuning.
09
References
Source trail
Primary papers, implementation pages, and external source records used to ground this explainer.
Training Compute-Optimal Large Language Models
Hoffmann et al., NeurIPS 2022
Primary paper introducing the compute-optimal training analysis and Chinchilla.
Scaling Laws for Neural Language Models
Kaplan et al., 2020
Earlier work on power-law scaling of language-model performance.
Language Models are Few-Shot Learners
Brown et al., NeurIPS 2020
GPT-3, one of the large language models compared in the study.
Scaling Language Models: Methods, Analysis & Insights from Training Gopher
Rae et al., 2021
Gopher, the compute-budget comparison model.
01NeurIPS 2022 conference paper02arXiv preprint (2203.15556)03HTML version of the paper04Google DeepMind research overview