What are model weights in AI?
Model weights are the learned numbers that set how a model turns input into output. Training adjusts them, and they stay fixed when it runs.
In short. Model weights are the learned numbers that set how a model turns input into output. Training adjusts them, and they stay fixed when the model runs. An open-weight model publishes them for anyone to download, as OpenAI did with gpt-oss in 2025. What a model knows without retrieval comes from its weights, so it ends where its training data ends.
On this page 7 sections
The evidence
- Confirmed:
Google's machine learning glossary defines a weight as a value that a model multiplies by another value. Training finds a model's ideal weights, and inference uses the learned weights to make predictions.1Google for Developers. Checked Dec 1, 2026
- Confirmed:
- Confirmed:
- Confirmed:
Anthropic's glossary says retrieval-augmented generation lets a model use information beyond its training data and reduces its reliance on memorization.3Claude API documentation. Checked Dec 1, 2026
Confirmed by the platform
A model's weights hold what it learned in training, and they do not change when it answers. That is why an AI assistant without search cannot know about a page published after its training data was collected.
#How do model weights work?
A weight is a number that a model multiplies by an input value. Google's machine learning glossary gives an example with a linear model that has a bias of 2.2 and two weights, 1.5 and 0.4. For inputs of 6 and 10, the model predicts 2.2 + (1.5 × 6) + (0.4 × 10) = 15.2. A weight of 0 means its input has no effect on the result.1
A large language model applies the same idea with billions of weights. The glossary counts weights and biases together as the model's parameters.1
#What happens to weights in training and inference?
Training sets the weights, and inference uses them. Google's glossary describes training as the process of finding a model's ideal weights, and inference as the process of using those learned weights to make predictions.1 Further training, such as fine-tuning, changes the weights again and produces a new version of the model. A prompt does not change them. How do large language models work? covers both phases.
#What are open weights?
An open-weight model is one whose developer publishes the trained weights for download. OpenAI's gpt-oss announcement released gpt-oss-120b and gpt-oss-20b in August 2025 under the Apache 2.0 license, on Hugging Face. OpenAI called them its first open-weight language models since GPT-2.2
Weights are large files. The gpt-oss weights come quantized, stored at lower precision in the MXFP4 format. That lets gpt-oss-120b run within 80 GB of memory and gpt-oss-20b within 16 GB. OpenAI says the models can run locally, on devices, or through third-party inference providers.2
#How do model weights affect AI search?
Fixed weights mean fixed knowledge. A model can only recall what was in its training data. Anthropic's glossary says retrieval-augmented generation lets a model use information beyond its training data and reduces its reliance on memorization.3 AI search products retrieve pages for this reason. What is a knowledge cutoff, and why do AI answers go out of date? covers the date at which a model's training data ends.
Read next
LLMs
How do large language models work?
LLMs predict text one token at a time from what fits in their context window. Tokens, context window sizes and the lost-in-the-middle effect.
LLMs
What is a knowledge cutoff, and why do AI answers go out of date?
A knowledge cutoff is the last date covered by a model's training data. Current cutoffs from OpenAI, Anthropic and Google, and how web search works around them.
LLMs
What does LLM training data look like?
LLM training data comes from web crawls such as Common Crawl, licensed data, books, code, human feedback and synthetic data. Real examples and site controls.
AI search
When does AI answer from training data, and when does it search?
AI assistants answer from what the model learned in training or from pages they retrieve. How ChatGPT, Claude, Gemini, Copilot and Perplexity decide.
Used in
Related terms
Questions
What is the difference between weights and parameters?
Weights are one kind of parameter. Google's glossary defines parameters as the weights and biases that a model learns in training. A weight is multiplied by an input value, and a bias is added to the result.
What is an open-weight model?
An open-weight model is one whose trained weights the developer publishes, so anyone can download and run it. OpenAI's gpt-oss models are open-weight and available on Hugging Face under the Apache 2.0 license.
Can model weights be changed after release?
Yes, by further training such as fine-tuning. OpenAI says that once an open-weight model is released, adversaries may be able to fine-tune it for malicious purposes. It tested adversarially fine-tuned versions of gpt-oss-120b before the release.
About this page
Researched and reviewed by Promptly Found. Reviewed Dec 1, 2026. Next review due Mar 2027.
Notes
- 1
- 2
- 3
Cite this page
Promptly Found. (2026, December 1). What are model weights in AI? https://promptlyfound.com/glossary/model-weights
Revisions 1
- First published.