totalInputTokens

Number of tokens in the prompt (context).

Throws

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