Skip to content

Logprobs

Logarithms of the probabilities assigned by the LLM to each generated token. Shows how confident the model was in its choice.

Why

  • to assess the model's confidence;
  • to find hallucinations — low token probability often signals;
  • to use in evaluation and research.

How to read

The closer the logprob is to zero, the higher the probability. Negative values are logarithms of fractions, so «smaller in absolute value» = «more confident».

See also

← All terms