# Probability Distribution

- **Canonical URL:** https://getaimath.com/dictionary/probability-distribution/
- **Topics:** [LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/)
- **Last updated:** 2026-11-25

## What is Probability Distribution?

**In one sentence:** A probability distribution is a list of every possible outcome with the chance of each one happening, adding up to 100%.

When a model picks the next token, it creates a probability distribution over its entire vocabulary. Most tokens get almost zero chance, and a few get most of it. Sampling then picks one token based on these chances.

![How ChatGPT & Claude Talk: Super-Powered Autocomplete — Simple cartoon diagram showing a sentence chopped into Lego word blocks (tokens), an AI brain weighing the odds of the next word ("mat" 75%, "couch" 18%, "roof" 5%), and snapping "mat" onto the end of the sentence.](https://getaimath.com/diagrams/llm-fundamentals.png)
*Napkin Diagram (LLM Fundamentals): Language models don’t plan whole essays at once—they play a super-smart game of "guess the very next word" over and over.*

## What is an example of Probability Distribution?

After "Once upon a," the distribution might give "time" 97%, "hill" 1%, and tiny chances to everything else.

## Why does Probability Distribution matter?

Seeing outputs as chances, not certainties, explains why AI answers can vary each time.

## Related Concepts

- [Softmax](https://getaimath.com/dictionary/softmax/): Softmax is a math function that turns a list of raw scores into probabilities that add up to 100%.
- [Next Token Probability](https://getaimath.com/dictionary/next-token-probability/): Next token probability is the chance a model gives to a specific token being the next one in the text.
- [Logits](https://getaimath.com/dictionary/logits/): Logits are the raw scores a model gives every possible next token before they are turned into probabilities.
- [Sampling](https://getaimath.com/dictionary/sampling/): Sampling is how a model picks the next token from its list of possible options, using their probabilities.
- [Repetition Penalty](https://getaimath.com/dictionary/repetition-penalty/): A repetition penalty is a setting that makes a model less likely to repeat the same words or phrases over and over.
- [Deterministic Generation](https://getaimath.com/dictionary/deterministic-generation/): Deterministic generation means the model gives the exact same output every time for the same input.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/probability-distribution/)
