AI 101

Logits

Also known as: logit

Inference

Logits are the raw output numbers a model produces for each token in the vocabulary โ€” before they’re converted into probabilities.

The pipeline:

  1. Model computes logits (raw scores).
  2. Temperature is applied to the logits.
  3. Softmax turns them into a probability distribution.
  4. Sampling picks a token.

Why you'd care: "logit bias" is a feature in many APIs that lets you manually boost or suppress specific tokens. It's a blunt but sometimes very useful tool.