Glossary · Models & inference

Logits

The model's unnormalized numeric scores for candidate outcomes before a normalization function or decoding rule converts them into selections.

Why it matters

Temperature, softmax, top-k, and top-p operate on or derive from logits, so logits connect model computation to generated tokens.

In practice

Inspect logits or log probabilities when the API exposes them, apply masks before sampling, and avoid interpreting raw magnitude as calibrated confidence.

Common confusion

Logits are not probabilities and are not comparable across unrelated positions, models, or tasks without a defined transformation.

Related terms

Sources

Browse the learning paths to see this term in context — every lesson is free to read.