Class GenerateContentResponseUsageMetadata

Usage metadata about response(s).

Constructors

Properties

cachedContentTokenCount?: number

Output only. Number of tokens in the cached part in the input (the cached content).

candidatesTokenCount?: number

Number of tokens in the response(s).

promptTokenCount?: number

Number of tokens in the request. When cached_content is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.

totalTokenCount?: number

Total token count for prompt and response candidates.

MMNEPVFCICPMFPCPTTAAATR