RealtimeResponseUsageInputTokenDetails interface
model interface RealtimeResponseUsageInputTokenDetails
Properties
| audio_tokens | The number of audio tokens used as input for this response. |
| cached_tokens | The number of input tokens reused from the cache for this response. |
| cached_tokens_details | The breakdown of cached input tokens by content type. |
| image_tokens | The number of image tokens used as input for this response. |
| text_tokens | The number of text tokens used as input for this response. |
Property Details
audio_tokens
The number of audio tokens used as input for this response.
audio_tokens?: number
Property Value
number
cached_tokens
The number of input tokens reused from the cache for this response.
cached_tokens?: number
Property Value
number
cached_tokens_details
The breakdown of cached input tokens by content type.
cached_tokens_details?: RealtimeResponseUsageInputTokenDetailsCachedTokensDetails
Property Value
image_tokens
The number of image tokens used as input for this response.
image_tokens?: number
Property Value
number
text_tokens
The number of text tokens used as input for this response.
text_tokens?: number
Property Value
number