EvaluateStatistics.totalInputTokens property
Cumulative token counts. Together with the provider’s published per-token prices these give the running cost of the session (cached input tokens are usually billed at a steep discount — subtract totalCachedTokens from totalInputTokens for the full-price share).
Signature:
totalInputTokens: number;