The usage information for the request.

interface Usage {
    prompt_tokens: number;
    total_tokens: number;
}

Properties

prompt_tokens: number

The number of tokens used by the prompt.

total_tokens: number

The total number of tokens used by the request.