Optional
audio?: undefined | numberAudio tokens.
Optional
cache_Input tokens that were cached and there was a cache miss.
Since there was a cache miss, the cache was created from these tokens.
Optional
cache_Input tokens that were cached and there was a cache hit.
Since there was a cache hit, the tokens were read from the cache. More precisely, the model state given these tokens was read from the cache.
Optional
document?: undefined | numberDocument tokens. e.g. PDF
Optional
image?: undefined | numberImage (non-video) tokens.
Optional
text?: undefined | numberText tokens. Does not need to be reported, but some models will do so.
Optional
video?: undefined | numberVideo tokens.
Breakdown of input token counts.
Does not need to sum to full input token count. Does not need to have all keys.