Token log probabilities

Token log probabilities describe the model's probability assignments to generated tokens on a logarithmic scale.

Where supported, APIs expose probabilities for chosen tokens and sometimes alternative candidates. These values describe the model's text distribution, not a calibrated probability that a factual statement is true. Support and the number of alternatives depend on the endpoint and model.

Source: OpenAI Chat API reference

All AI terms