totalTokens property

int totalTokens
final

The number of tokens that the model tokenizes the prompt into.

Always non-negative.

Implementation

final int totalTokens;