totalCachedTokens

Number of tokens in the cached part of the prompt (the cached content).

Throws

if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).