# Parameters

> The numbers inside a model — often billions — tuned during training. Everything the model knows lives in them. Also called weights.

The numbers inside a [model](https://ai9k.vercel.app/en/model) — often billions of them — tuned during [training](https://ai9k.vercel.app/en/training). Everything the model "knows" lives in them. Training sets them; [inference](https://ai9k.vercel.app/en/inference) uses them unchanged. Also called _weights_.

Mechanically, the parameters are what turn input into output. [Next-token prediction](https://ai9k.vercel.app/en/next-token-prediction) is a giant calculation: the [tokens](https://ai9k.vercel.app/en/token) in the [context window](https://ai9k.vercel.app/en/context-window) go in, get multiplied through the parameters, and a prediction for the next token comes out. There is no database of facts inside the model, no code lookup table — just these numbers, arranged so that the calculation tends to produce useful output. Facts the model can recite from training, like a standard library API, are [parametric knowledge](https://ai9k.vercel.app/en/parametric-knowledge): stored in the parameters, not retrieved from anywhere.

The detail worth internalising is that parameters are frozen after training. Nothing you do in a [session](https://ai9k.vercel.app/en/session) changes them — no correction you make, no codebase you show it, no mistake it learns from. Every session runs on the same numbers. This is why the model is [stateless](https://ai9k.vercel.app/en/stateless), why its built-in knowledge stops at the [knowledge cutoff](https://ai9k.vercel.app/en/knowledge-cutoff), and why anything project-specific has to arrive via [context](https://ai9k.vercel.app/en/context) instead. The only way parameters change is more training — which produces, in effect, a different model.

**Usage**

"Can we fine-tune it on our codebase?"

"That'd update the parameters — different model afterwards. For one project it's almost always cheaper to load the codebase as context than to retrain."

---

- Section 1 — The Model · Term 3 of 72
- Page: https://ai9k.vercel.app/en/parameters
- Learn step by step: https://ai9k.vercel.app/en/learn#/parameters
- On the map: https://ai9k.vercel.app/en?term=parameters
- JSON: https://ai9k.vercel.app/data/terms/parameters.json
- Mentioned in: [Model](https://ai9k.vercel.app/en/model.md), [Training](https://ai9k.vercel.app/en/training.md), [Inference](https://ai9k.vercel.app/en/inference.md), [Next-token prediction](https://ai9k.vercel.app/en/next-token-prediction.md), [Model provider](https://ai9k.vercel.app/en/model-provider.md), [Stateless](https://ai9k.vercel.app/en/stateless.md), [Stateful](https://ai9k.vercel.app/en/stateful.md), [Agent](https://ai9k.vercel.app/en/agent.md), [Parametric knowledge](https://ai9k.vercel.app/en/parametric-knowledge.md), [Knowledge cutoff](https://ai9k.vercel.app/en/knowledge-cutoff.md), [Attention degradation](https://ai9k.vercel.app/en/attention-degradation.md)
- Previous: [Model](https://ai9k.vercel.app/en/model.md)
- Next: [Training](https://ai9k.vercel.app/en/training.md)

Every term page has a markdown copy: add .md to its address.
