Interface CountTokensResponse (1.7.0)

Response returned from countTokens method.

Package

@google-cloud/vertexai

Properties

totalBillableCharacters

totalBillableCharacters?: number;

Optional. The total number of billable characters counted across all instances from the request.

totalTokens

totalTokens: number;

The total number of tokens counted across all instances from the request.