Definition · AI basics
Parameters
Parameters are the numbers that an AI model learns in training: its weights and biases. The model uses them to make predictions. A count such as 816B means about 816 billion parameters. The count shows how large a model is and how much memory it uses. The count does not show the quality of the model.
Last reviewed
Key points
- Parameters are the weights and biases that a model learns in training. Training sets them, and inference uses them.
- The B in 816B means billion. It is a count of numbers, not a quantity of bytes.
- Total parameters set the memory use. Active parameters set the compute for each token in a mixture of experts model.
- A larger count does not always give a better model. In a 2022 study, Chinchilla (70B) outperformed Gopher (280B) on the same compute budget.
- A hyperparameter is different. A person or a tuning service sets it, and the model does not learn it.
How a model gets its parameters: 2 steps
- Training. Gradient descent adjusts the weights and biases to decrease loss, the measure of model error.
- Inference. The model uses the learned weights to make predictions.
How to count the parameters of one layer
A count is arithmetic on the shape of each layer. A linear layer in PyTorch has one weight matrix and one bias vector. We calculated this example for a layer with 1,000 inputs and 1,000 outputs:
| Part | Shape | Parameters |
|---|---|---|
| Weights | 1,000 x 1,000 | 1,000,000 |
| Bias | 1,000 | 1,000 |
| Total | 1,001,000 |
What a parameter count tells you: 3 questions
Read a parameter count as a measure of how large a language model is, not as a score.
| Question | What the count tells you | Source example |
|---|---|---|
| How much memory? | The total count sets it | Muse Spark Open keeps all 256 experts in memory |
| How much compute for each token? | The active count sets it | Muse Spark Open runs at the speed of a 42B model |
| How good is the model? | The count does not tell you | Chinchilla (70B) outperformed Gopher (280B) |
In practice
Published counts, 2020 to 2026
These counts come from the paper or the model card of each model. They are the claims of the authors. “Not given” means that the source of this page gives no active count.
| Model | Date | Total | Active for each token |
|---|---|---|---|
| GPT-3 | May 2020 | 175B | Not given |
| Gopher | Compared in March 2022 | 280B | Not given |
| Chinchilla | March 2022 | 70B | Not given |
| Llama 2, largest released | July 2023 | 70B | Not given |
| Mixtral 8x7B | January 2024 | 47B | 13B |
| Muse Spark Open | October 2026 | 816B | 42B |
3 numbers to read on a model card
Use Muse Spark Open as the example, an open weight model from Meta, released on 15 October 2026:
- Total: 816B. This mixture of experts model holds 256 experts, and all of them stay in memory.
- Active: 42B. The model uses 8 experts for each token, which is about 42B parameters.
- Hub count: 822B. The header of the Hugging Face page shows this number. The card does not tell why it is different from 816B. Write which count you use.
From a count to a memory estimate
Model precision gives the bytes for each parameter. BF16 uses 16 bits, which is 2 bytes.
- We calculated: 816B x 2 bytes = about 1.6 TB for the weights in BF16.
- The Meta model card: a GPU with a minimum of 2TB of VRAM for BF16, and 700GB for the NVFP4 version.
Use the value on the model card when you buy hardware. The calculated value is only a lower limit.
Parameters vs hyperparameters
| Parameters | Hyperparameters | |
|---|---|---|
| Who sets them | The model learns them in training | A person or a tuning service |
| Examples | Weights, biases | Learning rate, iterations |
| When they change | During training | During successive training runs |
Parameters behind an API are not fully hidden
Model extraction attacks can get some parameters through usual API access. In 2024, Carlini and colleagues got the embedding projection layer of production language models:
- OpenAI Ada and Babbage: the full projection matrix, for less than $20.
- gpt-3.5-turbo: the hidden dimension size, and an estimate of less than $2,000 in queries for the full matrix.
The attack got one layer, not all the parameters of a model.
Trade-offs
More parameters use more memory, and they do not always give more quality. Hoffmann and colleagues trained more than 400 language models. Their Chinchilla model used the same compute budget as Gopher, with a quarter of the parameters, and it outperformed Gopher.
That result compares two models on one budget. It does not show that a smaller model is always better.
Questions and answers
What does 816B parameters mean?
The phrase 816B parameters means that a model holds about 816 billion learned numbers. Hugging Face writes "approximately 816 billion parameters" for Muse Spark Open, a Meta model of October 2026. The B is not bytes. In BF16, each parameter uses 2 bytes. We calculated about 1.6 TB for the weights.
What is the difference between a parameter and a hyperparameter?
A model learns its parameters in training. A person or a tuning service sets hyperparameters, such as learning rate, and adjusts them during successive training runs.
Does a model with more parameters give better results?
Not always. Chinchilla, with 70B parameters, outperformed Gopher, with 280B, on the same compute budget in a 2022 study. That result compares two models on one budget. It does not show that a smaller model is always better.
Sources
- Machine Learning GlossaryGoogle for Developers
- torch.nn.Linear (PyTorch 2.15 documentation)PyTorch
- meta-models/Muse-Spark-Open-816B-A42B model cardMeta, on Hugging Face, 15 Oct 2026
- Introducing Muse Spark OpenMeta AI Research, 15 Oct 2026
- Welcome Muse Spark Open: open-weight frontier multimodal mixture-of-experts model from MetaHugging Face, 15 Oct 2026
- BFloat16: The secret to high performance on Cloud TPUsGoogle Cloud, 24 Aug 2019
- Language Models are Few-Shot LearnersarXiv (Brown et al.), May 2020
- Training Compute-Optimal Large Language ModelsarXiv (Hoffmann et al.), 29 Mar 2022
- Llama 2: Open Foundation and Fine-Tuned Chat ModelsarXiv (Touvron et al.), Jul 2023
- Mixtral of ExpertsarXiv (Jiang et al.), 8 Jan 2024
- Stealing Part of a Production Language ModelarXiv (Carlini et al.), 11 Mar 2024
Guides that use this term
Related topics
In the news
- A new training method adds 24 points to AI win rates in games
- Anthropic adds a text watermark to four more Claude models
- A ChatGPT hyperlink could read chats until OpenAI repaired it
- Nemotron 3.5 Super gets 51.78% on a software engineering test
- Groups of LLM agents agree on incorrect claims in each network shape
- AWS repairs a file write bug in its Transform MCP server
- Mistral releases Large 4 open weights under a modified MIT license
- Mistral says Le Chonk is the top open-weight model for coding
- Sarvam got 87% of the $399 million Indic AI funding in 2026
- RLWRLD puts its robot dexterity model on the AWS Marketplace
- Liquid releases LFM3, a family of small models for devices
- Ant Group publishes Ling-3.1-flash-1019, a 574 GB open model
- Baidu releases Unlimited OCR 2 to read 100 pages at one time
- Anthropic says in a US document that gas supply limits its growth
- Cisco opens Model Foundry for partners to tune its AI models
- A 120B AI model did no better than a 20B model with tool faults
- A new open image model gets 96.3 on long text in pictures
- Kimi K3.1 Pro is 4th on the Artificial Analysis index with 55 points
- Reflection releases Beam, an open model with 501 billion parameters
- Small AI models play an incorrect move again after they see it
- MiniMax puts M3.1 Flash weights online with a $20 million limit
- Hugging Face gives out Carbon-X, a DNA model for a laptop
- NVIDIA expands Cosmos with 5 data blueprints for physical AI
- Mistral Large 4 scores 82% on a cyber test and gets open weights
- Nvidia shows open models for document search at GTC Berlin
- Google releases vLLM and SGLang engines for its TPU chips
- GoTo makes a free AI model for 5 Indonesian languages
- Mistral launches Voxtral 3 voice models and an agent SDK
- Dream Labs raises $90M seed for one AI model for many robots
- Guardrail safety scores change with the policy used for labels
- Stored user traits change tool calls in all 8 models in the test
- Google releases EmbeddingGemma 2 to find text, images and audio
- Small AI agents ignore most attacks and do not refuse them
- Anthropic will not change MCP command execution, OX Security finds
- Chinese draft export rules include 23 AI technologies
- Reflection releases Beam, an open model, free on Ollama for a time
- China writes new export controls for 23 AI technologies
- Zephon data loader gives the same results on 8 to 64 GPUs
- AWS releases two open-source tools to control AI agents
- Meta releases Muse Spark Open, a model with 816B parameters
- Nscale adds the NVIDIA Nemotron 3.5 Super VL model
- Small AI models suit short agent tasks, and large models long tasks
- Mistral releases Large 4 with 1.05 trillion parameters
- LFM2.5-24B-A2B has an agent score above a model with more parameters
- Anthropic operated a 26 billion parameter model on 15 TV boxes
- EvoBelief checks and changes the environment rules of an LLM agent
- Flagged models are in use in more than 5,000 repositories
- A 7M-parameter model gets 97.9% exact accuracy on Sudoku-Extreme
- A hypernetwork makes LoRA adapters for the 284B DeepSeek v4 Flash
- DeltaReplay increases mobile agent success by a maximum of 25.0 points
- Researchers make TypedBench, a test for typed decision models