Logprobs are the model’s internal scores, generated with each token at zero extra cost. A sudden confidence drop almost always signals trouble — you can even spot uncertainty on a specific word, like a date.
How to read this: confident output is not necessarily correct output — but unconfident output is almost always worth a second look.
The pros
- Zero latency cost: logprobs ride along with the token; no extra API calls.
- Early warning: a confidence dip is the cheapest hallucination alarm there is.
- Granular: word-level uncertainty, not just answer-level.
The cons
- Sycophancy: RLHF-tuned models are often confidently wrong to please you.
- Closed models: several APIs still don’t expose logprobs at all.
- Calibration drift: confidence behavior changes between model versions.






