OptionalcachedNumber of tokens in the cached part of the prompt (the cached content).
OptionalcacheList of modalities that were processed in the cache input.
OptionalpromptNumber of tokens in the prompt. When cached_content is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.
OptionalpromptList of modalities that were processed in the request input.
OptionalresponseTotal number of tokens across all the generated response candidates.
OptionalresponseList of modalities that were returned in the response.
OptionalthoughtsNumber of tokens of thoughts for thinking models.
OptionaltoolNumber of tokens present in tool-use prompt(s).
OptionaltoolList of modalities that were processed in the tool-use prompt.
OptionaltotalTotal token count for prompt, response candidates, and tool-use prompts(if present).
OptionaltrafficTraffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.
Usage metadata about response(s).