OpenAI::RealtimeResponseUsage
Inherits JSON::Serializable < Reference < Object
Usage statistics for the Response, this will correspond to billing. A Realtime API session will maintain a conversation context and append new Items to the Conversation, thus output from previous turns (text and audio tokens) will become the input for later turns.
Constructors
Instance methods
Details about the input tokens used in the Response. Cached tokens are tokens from previous turns in the conversation that are included as context for the current response. Cached tokens here are counted as a subset of input tokens, meaning input tokens will include cached and uncached tokens.
Details about the input tokens used in the Response. Cached tokens are tokens from previous turns in the conversation that are included as context for the current response. Cached tokens here are counted as a subset of input tokens, meaning input tokens will include cached and uncached tokens.
The number of input tokens used in the Response, including text and audio tokens.
The number of input tokens used in the Response, including text and audio tokens.
Details about the output tokens used in the Response.
The number of output tokens sent in the Response, including text and audio tokens.
The number of output tokens sent in the Response, including text and audio tokens.
The total number of tokens in the Response including input and output text and audio tokens.