OptionalcachedThe number of tokens in the prompt that were served from the cache. If implicit caching is not active or no content was cached, this will be 0.
OptionalcacheDetailed breakdown of the cached tokens by modality (for example, text or image). This list provides granular insight into which parts of the content were cached.
OptionalcandidatesOptionalpromptOptionalthoughtsThe number of tokens used by the model's internal "thinking" process.
OptionaltoolThe number of tokens used by tools.
OptionaltoolA list of tokens used by tools, broken down by modality.
Usage metadata about a GenerateContentResponse.