Research & Models · Explainer
AI Scaling Laws: Kaplan, Chinchilla and Test-time Compute
Learn how AI scaling laws link model size, data and compute, why Chinchilla changed training, and what test-time reasoning adds.
How this article was made: Researched and drafted with AI tools and checked against its sources. Umair reviews our articles and corrects them in public. How we work
The short answer
The rules help teams weigh a bigger model against more training text or more time spent on an answer.
AI scaling laws estimate how prediction error changes as a model grows. Chinchilla revised the balance between model size and training text. Later methods use extra work to adapt a trained model or improve its answers.
In brief
- The background
- OpenAI's 2020 study and DeepMind's 2022 Chinchilla work produced different rules for dividing a training budget.
- Why it matters
- The model that makes best use of its training budget may not be the cheapest to run for users.
- What to watch
- After initial training come model adaptation and user queries, where NVIDIA describes two further ways to spend compute.
Key facts
- Outcome School reports that DeepMind's Chinchilla also outperformed Megatron-Turing NLG, a model with 530 billion parameters.
- Amazon Web Services says choices such as layer count matter less within reasonable bounds than parameters, data size and training compute.
- NVIDIA lists reasoning models from OpenAI, DeepSeek and Google DeepMind; examples include o3-mini, R1 and Gemini 2.0 Flash Thinking.
AI scaling laws link a model’s prediction error to its size, training data and compute, the math work used by AI. OpenAI studied these patterns in 2020, and DeepMind revised them in 2022. The rules help teams plan how to spend a training budget.
What are AI scaling laws and how does C ≈ 6ND work?
AI scaling laws are based on patterns seen in training runs. They estimate how prediction error changes when teams add model size, text or compute. A common cost estimate is C ≈ 6 x N x D. It links training compute, C, to the parameter count, N, and training tokens, D.
Parameters are values a model learns as it trains. Tokens are pieces of text, which may be words or parts of words. Pretraining is the model’s first broad round of learning, before later work adapts it for specific tasks.
FLOPs count floating-point operations, a measure of the math work done. Outcome School explains the factor of 6 as a rough count per parameter for each token. About 2 operations make the prediction, and about 4 help the model learn from it.
The approximation matters: C ≈ 6ND estimates a training budget, not a model’s skill. To assess predictions, researchers use loss, a score of how far the guesses miss. Lower loss means better predictions.
The fitted relationships often take the form of power laws. These describe proportional changes, rather than the same absolute drop in loss each time a resource grows. The cost formula and the loss curve serve different purposes: one estimates work, while the other estimates prediction error.
How did Chinchilla change OpenAI’s 2020 scaling rule?
DeepMind’s Chinchilla study changed how researchers split a fixed training budget. The 2020 OpenAI work favored putting most added compute into model size. In 2022, the DeepMind team found that size and data should grow at the same rate. Its rule of thumb was about 20 training tokens for each parameter.
Jared Kaplan led the OpenAI team. Under its rule, a tenfold rise in compute called for about five times the model size. The amount of training data would only double.
Jordan Hoffmann led the DeepMind study, published as Training Compute-Optimal Large Language Models. The team trained more than 400 models to test how size and training length changed loss.
One reason for the shift was how the runs were set up, according to Outcome School. A learning rate controls the size of each change during training. Its schedule sets how that rate changes over the run. The 2020 study did not match the schedule to each shorter run, the account says.
DeepMind matched those schedules and found more value in added text, Outcome School explains. That led to D ≈ 20 x N. Combined with the compute estimate, it gives C ≈ 120 x N x N.
Outcome School works through a budget of 1.2 x 10^22 FLOPs. Using these rules gives N = 10^10, or 10 billion parameters.
DeepMind then tested the idea with Chinchilla and compared it with Gopher. The figures reported by Outcome School show the trade-off:
| Model | Parameters | Training tokens |
|---|---|---|
| Gopher | 280 billion | 300 billion |
| Chinchilla | 70 billion | 1.4 trillion |
The models used roughly the same training compute. Chinchilla did better on a broad set of tasks. On MMLU, a test across many subjects, its score was 67.5%. That was more than 7 percentage points above Gopher.
Why train smaller models beyond the Chinchilla rule?
The Chinchilla rule seeks low loss for a given training budget, not the lowest bill over a model’s life. Inference means using a trained model to produce an answer. Smaller models cost less to run. That gives teams a reason to use more training text than the rule suggests.
A team may spend more upfront to reduce the cost of each later answer. A smaller model trained on far more text can be cheaper to serve. The best choice for training alone may not be best once later use is counted.
Amazon Web Services, or AWS, makes a related point about hardware. It says smaller models can fit on a single GPU, while larger ones may need two or more. AWS describes a trade-off between accuracy, speed and cost.
Scaling laws also became part of the case for funding labs. ChatGPT Is Eating the World cites Spark Capital partner Clay Fisher’s account of two memos from his colleague Yasmin Razavi. Written in January 2023, they covered scaling laws, access to compute and the size of the market for intelligence.
The post links Razavi’s work to Anthropic’s $450 million financing round. It also describes an IPO-day origin video released by the company’s seven co-founders. The blog reports that the video focused on how scaling laws helped drive Anthropic’s research and growth.
What are post-training and test-time scaling?
NVIDIA groups scaling into three stages: pretraining, post-training and test-time work. Post-training adapts a model after its first broad training run. Test-time scaling gives it more compute while it answers a query. The aim is to improve the answer by working through a hard problem, rather than replying in one pass.
Post-training can target accuracy, the amount of math needed or skill in a given field, NVIDIA says. Fine-tuning uses more data to adapt the model for a task. Reinforcement learning uses rewards to steer it toward desired results. Distillation is another method NVIDIA lists.
The workload can add up across many versions of one base model. NVIDIA estimates that an ecosystem of models built for different uses could need about 30 times the compute of the original pretraining run. That figure covers the ecosystem, not each post-training job.
Test-time work happens when the model is already in use. One method splits a problem into smaller steps. Another generates several answers, then picks the answer that appears most often. Search methods explore different paths toward a result.
NVIDIA says hard queries can take minutes or hours with this approach. They can use more than 100 times the compute of a single pass through a traditional language model. This is a possible cost for hard queries, not a minimum for every reply.
What are the limits of AI scaling laws?
AI scaling laws predict training loss, not a model’s score on every task. Text has some built-in uncertainty, which limits how well its next token can be predicted. The fitted curves also depend on the data, model design and training method. They are planning tools with limits, not exact guarantees.
Nor does a fitted curve apply unchanged to every setup. A new model design or better data can shift it. A curve fitted under one set of conditions therefore does not settle what happens under another.
Questions answered
What is model distillation?
A smaller student model is trained to imitate a larger teacher model. NVIDIA includes distillation among the ways to adapt models after their initial training.
What is reinforcement learning from human feedback?
RLHF uses feedback from people to guide learning through rewards. NVIDIA gives the example of a chatbot receiving positive feedback through users' thumbs-up reactions.
What training data beyond text does NVIDIA discuss?
NVIDIA's account looks ahead to training on images, audio, video and sensor information, alongside text.
Sources used
Editorial standards
How this article was made: Researched and drafted with AI tools and checked against its sources. Umair reviews our articles and corrects them in public. See our editorial policy and corrections policy.
Join the newsletter
New stories and explainers, free in your inbox.
By joining you agree to receive our email newsletter. Unsubscribe any time. Privacy policy