# 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.

Canonical: https://promptlyfound.com/glossary/model-weights
Updated: 2026-12-01

## Short answer

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.

## Key findings

- 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. [1]
- OpenAI released the weights of gpt-oss-120b and gpt-oss-20b for download in August 2025, under the Apache 2.0 license. They were its first open-weight language models since GPT-2. [2]
- The gpt-oss weights come quantized in the MXFP4 format, so gpt-oss-120b runs within 80 GB of memory and gpt-oss-20b within 16 GB. [2]
- Anthropic's glossary says retrieval-augmented generation lets a model use information beyond its training data and reduces its reliance on memorization. [3]

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](https://developers.google.com/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](https://promptlyfound.com/glossary/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?](https://promptlyfound.com/llms/how-llms-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](https://openai.com/index/introducing-gpt-oss/) 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](https://platform.claude.com/docs/en/about-claude/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?](https://promptlyfound.com/llms/knowledge-cutoff) covers the date at which a model's training data ends.

## Sources

1. Machine Learning Glossary. Google for Developers. https://developers.google.com/machine-learning/glossary
2. Introducing gpt-oss. OpenAI, 2025-08-05. https://openai.com/index/introducing-gpt-oss/
3. Glossary. Claude API documentation. https://platform.claude.com/docs/en/about-claude/glossary

---

This is a plain-text copy of https://promptlyfound.com/glossary/model-weights from Promptly Found. The web page is the canonical version and includes the charts.
