Information about token usage.

interface LDTokenUsage {
    input: number;
    output: number;
    total: number;
}

Properties

Properties

input: number

Number of tokens in the input.

output: number

Number of tokens in the output.

total: number

Combined token usage.