Prompt Recipes
LLM Confidence Score: 4 Recipes That Ship (2026)
An LLM confidence score tells you how sure the model was. Which providers return logprobs in 2026, what to do on Claude which returns none, and 4 copy-paste recipes.
6 min read111
Tag
3 posts tagged.
An LLM confidence score tells you how sure the model was. Which providers return logprobs in 2026, what to do on Claude which returns none, and 4 copy-paste recipes.
Five copy-paste top_p (nucleus sampling) recipes for the OpenAI and Anthropic APIs in 2026: the default that ships, clamping the tail for extraction, focused creative, steadier JSON, and the one-knob rule.
Four copy-paste logit_bias recipes for the OpenAI API in 2026: ban a token, pin a classifier, fix the tokenizer mismatch, and know when it is the wrong tool.