Interface TokenUsage

interface TokenUsage {
    inputTokens: number;
    model: string;
    outputTokens: number;
    requestId: string;
    timestamp: Date;
}

Properties

inputTokens: number

The input token count

model: string

The model identifier

outputTokens: number

The output token count

requestId: string

Request identifier

timestamp: Date

The timestamp of when the tokens were used