Zenaique
Glossary · Inference

Log Probabilities

Also known as: Logprobs, Token probabilities

Per-token log probabilities from the model: confidence signal, eval input, and classification trick.

The log of the probability the model assigned to each generated token. Returned by most LLM APIs (logprobs flag). Useful for confidence scoring, eval, structured-output validation, and classification via constrained sampling.

In practice

Underrated production tool. Interviews probe using logprobs for confidence thresholds and as judges in evals.

Related topics

Related terms