Files
openrouter-python-sdk-retry…/docs/models/chatcompletiontokenlogprob.md
T
2025-08-22 10:31:13 -05:00

13 lines
1.3 KiB
Markdown

# ChatCompletionTokenLogprob
Token log probability information
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `token` | *str* | :heavy_check_mark: | The token |
| `logprob` | *float* | :heavy_check_mark: | Log probability of the token |
| `bytes_` | List[*float*] | :heavy_check_mark: | UTF-8 bytes of the token |
| `top_logprobs` | List[[models.TopLogprob](../models/toplogprob.md)] | :heavy_check_mark: | Top alternative tokens with probabilities |