Estimated context usage for a session.
Instance methods
available_tokens
Estimated tokens available before hitting the limit.
Sourceestimated_tokens
Estimated number of tokens consumed by the transcript.
Sourcemax_tokens
Maximum tokens configured for the session.
Sourceover_limit?
Whether the estimate exceeds the available budget.
Sourcereserved_response_tokens
Tokens reserved for the next response.
Sourceutilization
Estimated utilization ratio (0.0 - 1.0+).
Source