What 7B and 70B mean: LLM parameters explained
The B in 70B is a billion parameters. What parameters are, where they sit in a model, why bigger isn’t always better, and how mixture-of-experts changes the count.
2 min readPart 8 of 21
On this page
Model names such as Llama 3.1 70B end in a size. B is for billion: the model has about 70 billion parameters, the numbers it learned in training. Running the model means multiplying and adding your text's numbers with these.
Counting every one
The count isn't a secret recipe. It follows from the model's published dimensions: how many layers, how long the list of numbers for each token is, how large the vocabulary is. For Llama 3.1 70B you can work out every parameter:
Attention gets the headlines, but four-fifths of the parameters are in the feed-forward layers, which process each token after attention has mixed in its context. The vocabulary tables, with one entry per token, take 3%.
No single parameter stores a fact. "Paris is the capital of France" is spread over many of them, and each takes part in a great many facts. That's why you can't open a model and edit one line.
Why models grew
In 2020 OpenAI researchers published scaling laws: as model size, data and computing grow, prediction error falls along a smooth, predictable curve. That made a large model something you could plan for, and sizes climbed.
Why bigger isn't simply better
In 2022 DeepMind asked how to split a fixed computing budget between size and data. The answer, in the Chinchilla paper, was that the models of the day were far too large for the amount of text they'd read. Size and training tokens should grow together: double one, double the other.
Later models went further, training smaller models on far more text than this rule suggests, because a smaller model is cheaper every time it's used, not just once. What happens after pre-training matters as much: people preferred a 1.3B model trained with human feedback to the 175B GPT-3.
So compare sizes only within a family of the same generation. Between generations, a newer small model can beat an older large one.
Mixture of experts: 671B, but 37B at a time
Many recent models split their feed-forward layers into many "experts" and use only a few for each token. DeepSeek-V3 has 671 billion parameters, of which 37 billion are used for any one token.
That gives two answers to "how big is it?" All 671 billion must be held in memory, but the calculation per token is about that of a 37-billion-parameter model. When you see one number for such a model, check which it is.
What you can and can't tell from a size
- Memory: yes, quite exactly. See how much memory a model needs.
- Speed: roughly, if you use the active parameters.
- Quality: only loosely.
- How much it has read: no. That's a different number, and often unpublished.
Companies behind most leading commercial models don't disclose a size at all. Figures you see quoted for them are estimates.