Skip to content

InteractionTokenUsageItem

A number of tokens of one kind, the same for every provider.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
typestringThe kind of token: input, output, cache_read, cache_creation_5m, cache_creation_1h or reasoning.
countintegerHow many tokens of that kind.
{
"type": "...",
"count": 0
}