InteractionTokenUsageItem
A number of tokens of one kind, the same for every provider.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
type | string | The kind of token: input, output, cache_read, cache_creation_5m, cache_creation_1h or reasoning. |
count | integer | How many tokens of that kind. |
Example
Section titled “Example”{ "type": "...", "count": 0}Where it’s used
Section titled “Where it’s used”- Inside
InteractionProcessTokenUsage