Interface: TokenWindowTotals
Aggregate token counts for a given window.
Properties
tokensIn
tokensIn: number;
Prompt tokens consumed during the window.
tokensOut
tokensOut: number;
Completion tokens produced during the window.
total
total: number;
Combined prompt and completion tokens.
updatedAt
updatedAt: number;
Last time the totals were updated, represented as a UNIX timestamp.