> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-a46887cf.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatTokenLogprob - Go SDK

> ChatTokenLogprob type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Token log probability information

## Fields

| Field         | Type                                                                                                        | Required             | Description                               |
| ------------- | ----------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------------- |
| `Bytes`       | \[]`int64`                                                                                                  | :heavy\_check\_mark: | UTF-8 bytes of the token                  |
| `Logprob`     | `float64`                                                                                                   | :heavy\_check\_mark: | Log probability of the token              |
| `Token`       | `string`                                                                                                    | :heavy\_check\_mark: | The token                                 |
| `TopLogprobs` | \[][components.ChatTokenLogprobTopLogprob](/client-sdks/go/api-reference/models/chattokenlogprobtoplogprob) | :heavy\_check\_mark: | Top alternative tokens with probabilities |
