Breakdown of tokens used in the prompt.

interface PromptTokensDetails {
    audio_tokens?: number;
    cached_tokens?: number;
}

Properties

audio_tokens?: number

Audio input tokens present in the prompt.

cached_tokens?: number

Cached tokens present in the prompt.