---
title: "Logprob"
---

## Fields

| Field                                                                                          | Type                                                                                           | Required                                                                                       | Description                                                                                    |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `bytes_`                                                                                       | List[*int*]                                                                                    | :heavy_check_mark:                                                                             | N/A                                                                                            |
| `logprob`                                                                                      | *float*                                                                                        | :heavy_check_mark:                                                                             | N/A                                                                                            |
| `token`                                                                                        | *str*                                                                                          | :heavy_check_mark:                                                                             | N/A                                                                                            |
| `top_logprobs`                                                                                 | List[[components.ResponseOutputTextTopLogprob](../components/responseoutputtexttoplogprob.mdx)] | :heavy_check_mark:                                                                             | N/A                                                                                            |