Scaling laws in plain English: why small models read so much
Bigger models and more data cut loss predictably. Chinchilla said ~20 tokens per parameter; labs now train small models far longer, as serving costs more.
Meta trained Llama 3 8B on over 15 trillion tokens of text (Meta, 2024). That's more than 1,875 tokens for every parameter in the model. Qwen3 went further: every model in the family, down to the smallest with 0.6 billion parameters, was trained on over 30 trillion tokens (Qwen Team, 2025). A few years earlier, GPT-3 had 175 billion parameters and saw only 300 billion tokens. Why do labs now feed small models so much more text? The answer comes from scaling laws, and once you see them, model sizes and price lists start to make sense.
The short answer
A model's error falls smoothly and predictably as you give it more parameters, more training data and more compute, so labs can test ideas on small models and forecast what a big one will do. For a fixed training budget, DeepMind's Chinchilla paper found that model size and data should grow together, which in practice means about 20 training tokens per parameter. But a model is trained once and then used billions of times, so labs now deliberately train small models on far more data than that: it costs more to train, and much less to run.
Three dials and one budget
Training a language model means choosing three numbers:
- N, the number of parameters: the learned numbers inside the model. More parameters means a bigger model that can store more patterns, and costs more to run. (Count a model's parameters from its config file shows where they live.)
- D, the number of training tokens: how much text the model reads while it learns. A token is a word or a piece of one (tokens explained).
- C, the training compute: how much arithmetic the whole run takes, counted in floating-point operations (FLOPs).
The three are tied together by one rule of thumb: . For every training token, each parameter costs about 2 FLOPs on the way forward (a multiply and an add) and about 4 more on the way back, when the model works out how to adjust itself (Kaplan et al., 2020, section 2.1). Llama 3 8B: FLOPs.
So think of the budget as a rectangle with a fixed area. One side is model size, the other is data. You can have a tall thin rectangle (a huge model that reads little) or a short wide one (a small model that reads a lot), at the same cost. Scaling laws tell you which shape gives the best model. The shape that does is called compute-optimal.
What is a scaling law?
First, what "best" means. During training, a model is scored on how well it predicts the next token of text it hasn't seen. That score is its loss: roughly, how surprised the model is by the real next token, on average. Lower is better. Loss isn't the same as being useful, but lower loss generally goes with better results on real tasks.
A scaling law is a formula that predicts the loss from N and D. The one in the Chinchilla paper has three parts:
- is the floor: the loss no model could beat on this data, because some text is genuinely unpredictable. It's an estimate, and different fits of the same data put it in slightly different places.
- is the penalty for having too few parameters. It shrinks as the model grows.
- is the penalty for reading too little. It shrinks as the data grows.
, and are fitted constants. The exponents and say how fast each penalty shrinks. All five come from training hundreds of models and drawing the best curve through their results. A 2024 replication that refitted the Chinchilla data (Besiroglu et al., Equation 3) gives , , , and , with wide error bars on some of them ( is ). For an 8-billion-parameter model trained on 15 trillion tokens, that's .
Each penalty follows a power law: every time you multiply the parameters by 10, the size penalty shrinks to 45% of what it was, and every 10× more data shrinks the data penalty to 43%. Drawn on a chart where both axes go up in powers of ten, each penalty is a straight line, and a straight line can be extended. Kaplan et al. showed loss following such lines over many orders of magnitude, as long as neither size nor data is holding the other back. Labs such as Meta plan their big runs by extending them.
Kaplan, Chinchilla and the 20-tokens rule
The first big scaling-law paper, Kaplan et al. (2020) at OpenAI, concluded that as budgets grow, most of the extra compute should go into a bigger model. GPT-3 and most large models of the next two years followed that approach: very large, trained on about 300 billion tokens (Chinchilla paper, Table 1).
In 2022, DeepMind's Chinchilla paper trained over 400 models and reached a different answer: "the model size and the number of training tokens should be scaled equally: for every doubling of model size the number of training tokens should also be doubled." To test it, they trained Chinchilla, a 70B model on 1.4 trillion tokens, with the same compute as their 280B Gopher. The smaller, better-fed model beat Gopher across a wide range of tasks. Chinchilla's 1.4T tokens for 70B parameters is where the rule of thumb of 20 tokens per parameter comes from.
| year | model | parameters | training tokens | tokens per parameter |
|---|---|---|---|---|
| 2020 | GPT-3 | 175B | 300B | about 1.7 |
| 2022 | Chinchilla | 70B | 1.4T | 20 |
| 2024 | Llama 3 8B | 8B | over 15T | over 1,875 |
| 2025 | Qwen3-8B | 8.2B | over 30T | over 3,600 |
Why did the two papers disagree? The Chinchilla authors pointed out that Kaplan's runs used the same number of training tokens and the same learning-rate schedule for every model size. Two 2024 papers traced most of the rest. Pearce and Song showed that much of the gap comes from Kaplan leaving the vocabulary tables out of the parameter count and working with small models. Porian et al. reproduced Kaplan's result, corrected three details of how it was measured, and got close agreement with Chinchilla. Separately, Besiroglu et al. found that one of Chinchilla's three fits pointed to about 70 tokens per parameter; refitted, it agrees with the other two at about 20.
How labs use scaling laws
Scaling laws are a planning tool. The Llama 3 paper (section 3.2.1) shows the loop:
Meta's fit for its FLOPs budget suggested a 402B model on 16.55T tokens. It trained a 405B model on 15.6T, about 38 tokens per parameter on its own data. That's not 20. The best ratio depends on the data and the architecture, which is why each lab fits its own.
Meta also hit the main limit of scaling laws: they predict loss, not benchmark scores. To forecast accuracy on a benchmark, it first predicted how likely the model would find the benchmark's correct answers, from the training compute. It then mapped that to accuracy, using its small scaling-law models and the older Llama 2 models, whose scores it already knew.
Worked example: one budget, three models
Take the compute that trained Llama 3 8B, FLOPs, and ask what else it could have bought. The losses come from the fit above, and they come with a health warning. Chinchilla's runs went up to 16B parameters and 500B tokens, at ratios of no more than about 100 tokens per parameter by Sardana et al.'s (2023) account, so all three plans below extend the fit beyond its data. Sardana et al. also found that fits made at ordinary ratios overestimate how much extra tokens help at extreme ones. So plan B's real loss is probably somewhat higher than 2.02. Read the table as the shape of the trade-off, not as a forecast for Llama. A model trained far past its compute-optimal point, like plan B, is called over-trained.
| plan | size | training tokens | tokens per parameter | training compute | predicted loss | FLOPs per generated token |
|---|---|---|---|---|---|---|
| A compute-optimal | 81B | 1.48T | 18 | 7.2 × 10²³ | 1.97 | 162 billion |
| B over-trained | 8B | 15T | 1,875 | 7.2 × 10²³ | 2.02 | 16 billion |
| C matches B, Chinchilla-style | 33B | 0.66T | 20 | 1.3 × 10²³ | 2.02 | 66 billion |
Plan A is the best model this budget can buy, as Chinchilla promised. Plan B is a little worse, but each token it generates takes about a tenth of the arithmetic, since generating costs about 2 FLOPs per parameter. (Real serving cost also depends on memory speed and hardware, so treat that as a rough guide.)
Plan C is the interesting comparison. To reach B's quality the compute-optimal way, you'd train a 33B model, which costs only 18% of B's training compute. So over-training B spent about 5.5 times the compute needed for that quality. What it bought was a model about four times smaller to run, which saves 50 billion FLOPs on every token it generates. Meta's announcement says the same in words: larger models can match the small ones with less training compute, "but smaller models are generally preferred because they are much more efficient during inference."
The extra FLOPs of training pays for itself after about 12 trillion tokens served. Whether that's a lot depends on use: at a billion tokens a day it takes 32 years, at 100 billion a day about four months. In money, the payback comes sooner than in FLOPs, because serving hardware runs far less efficiently than training hardware: as low as about 1% of its peak against 40–60% for training, by the figures Sardana et al. quote. If plan B's real loss is higher than the fit says, the matching model C is smaller and the payback comes later. Sardana et al. work through this trade properly and conclude that with large expected demand (around a billion requests), you should train smaller and longer than Chinchilla-optimal.
Try other budgets and model sizes. The calculator compares your choice with the compute-optimal model for the same budget, so you can see how much loss you give up for how much cheaper generation:
- Training tokens this buys
- 15.00trillion
- Tokens per parameter
- 1,875
- Predicted loss, your model
- 2.02
- Compute-optimal size for this budget
- 81billion parameters
- Predicted loss, compute-optimal model
- 1.97
- FLOPs per generated token, your model
- 16billion
- FLOPs per generated token, compute-optimal model
- 162billion
Starts at the worked example: Llama 3 8B's budget and size. Losses use the Chinchilla fit as refitted by Besiroglu et al. (2024), extended beyond the data it was fitted on: good for the shape of the trade-off, not a forecast for any real model.
Five things scaling laws don't say
"Scaling laws predict what a model can do." They predict loss. Whether lower loss means your model can follow a tricky instruction or fill in a form correctly is an empirical question. That's why Meta needed a separate step to forecast benchmark scores, and why you test models on your own tasks.
"Abilities appear suddenly at a certain size." Wei et al. (2022) collected tasks where performance jumped from near zero once models passed a certain scale. Schaeffer et al. (2023) argued that many of those jumps come from all-or-nothing scoring: measured with a smoother metric, the same models improve gradually. The debate isn't settled, but a sudden jump in a benchmark score is weaker evidence of a new ability than it looks.
"20 tokens per parameter is a law of nature." It's a rule of thumb from Chinchilla's data and architecture. Meta's own fit landed nearer 40. And it only answers "what's the best model for this training budget", not "what's the best model to deploy".
"Scaling stops when we run out of new text." High-quality text is finite, and that is a real limit. But Muennighoff et al. (2023) found that, in their runs of up to 9B parameters, reading the same data up to about four times was almost as good as reading new data. Beyond that, each extra pass is worth less and less. Repetition stretches the supply; it doesn't make it endless.
"Bigger is always better." Only when data isn't the limit. At a fixed budget, Chinchilla's 70B beat the 280B Gopher.
What this means for the models you can buy
- Parameter count isn't quality. Two 8B models trained on 2T and 30T tokens are different products. Technical reports usually state the training tokens; look for them.
- Small open models are over-trained on purpose, and that's good news if you're the one running them: you get much of a bigger model's quality at a fraction of the serving cost. Meta reports that its 8B and 70B models were still improving at 15T tokens. Choosing models shows how to compare models on cost per completed task.
- Pick the smallest model that passes your own evals. Scaling laws describe averages over web text, not your task.
- There's now a second axis. Reasoning models spend extra compute when they answer, by thinking before replying. Snell et al. (2024) found that spending that compute well can beat a much larger model on some problems. Reasoning models covers when that's worth paying for.
Questions people ask
What is a scaling law in AI?
A formula, fitted from many training runs, that predicts a model's loss from its number of parameters, its training data and its compute. Labs use it to forecast a large model's quality from small experiments.
What does Chinchilla-optimal mean?
The model size and amount of data that give the lowest loss for a fixed training budget. DeepMind's Chinchilla paper found they should grow together; the rule of thumb from it is about 20 training tokens per parameter.
Why are small models trained on so much data?
Because training happens once and serving happens billions of times. Training a small model far past the Chinchilla point costs more up front but makes every request cheaper, and it pays back once the model is used enough.
Do scaling laws still hold?
For pretraining loss, they have held across many orders of magnitude, and labs such as Meta still plan runs with them. They don't predict specific skills, and newer gains also come from post-training and from spending more compute at answer time.
Sources & further reading
- Training Compute-Optimal Large Language ModelsPaper · Hoffmann et al. · DeepMind · 2022The Chinchilla paper. The abstract and Section 3 give the result: for a fixed training budget, grow model size and training data at the same rate. Over 400 training runs back it.
- Scaling Laws for Neural Language ModelsPaper · Kaplan et al. · OpenAI · 2020The first systematic power-law fits of loss against parameters, data and compute. Figure 1 shows the straight lines; Section 2.1 derives C ≈ 6ND.
- Chinchilla Scaling: A replication attemptPaper · Besiroglu, Erdil, Barnett, You · 2024Refits Chinchilla's loss formula from the paper's own data and finds the published fit inconsistent with the 20 tokens per parameter Chinchilla used; the corrected fit agrees with it. This post's worked example uses their Equation 3.
- Reconciling Kaplan and Chinchilla Scaling LawsPaper · Pearce, Song · 2024Why the two famous results disagreed: Kaplan counted non-embedding parameters and worked at small scale. Short, and the abstract is enough.
- Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling LawsPaper · Sardana, Portes, Doubov, Frankle · 2023Adds the cost of serving to the trade-off and finds that with large inference demand you should train smaller models for longer; quality kept improving up to 10,000 tokens per parameter.
- The Llama 3 Herd of ModelsPaper · Llama Team, Meta · Meta · 2024Section 3.2.1 shows a lab using scaling laws for real: the fit that chose the 405B model's size, and the two-step method that turned predicted loss into predicted benchmark scores.
- Scaling Data-Constrained Language ModelsPaper · Muennighoff et al. · 2023NeurIPS 2023. What happens when unique data runs out: up to about 4 passes over the same data is almost as good as new data, and the value of more passes then falls away.
- Are Emergent Abilities of Large Language Models a Mirage?Paper · Schaeffer, Miranda, Koyejo · 2023NeurIPS 2023. Argues that many abilities that seem to appear suddenly with scale are an effect of all-or-nothing metrics. Read it alongside Wei et al. (2022), which made the original case for emergence.
- Resolving Discrepancies in Compute-Optimal Scaling of Language ModelsPaper · Porian, Wortsman, Jitsev, Schmidt, Carmon · 2024Reproduces Kaplan's scaling law and traces the gap with Chinchilla to three measurement details (the last layer's compute, warm-up length, optimiser tuning). Once those are fixed, the two agree.
- Qwen3 Technical ReportPaper · Yang et al. · Qwen Team · 2025Section 3.2: every Qwen3 model, from 0.6B up, is pre-trained on over 30 trillion tokens, an extreme example of over-training small models.
- Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model ParametersPaper · Snell, Lee, Xu, Kumar · 2024The newer axis: spending more compute when the model answers, rather than when it trains. The abstract and introduction are enough for this post.
- Introducing Meta Llama 3Lab research · Meta · 2024The short announcement: over 15T training tokens, 8B and 70B still improving at that point, and why smaller models are preferred for inference.
