OpenAI::BatchUsageInputTokensDetails
Inherits JSON::Serializable < Reference < Object
A detailed breakdown of the input tokens.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cached_tokens
The number of tokens that were retrieved from the cache. More on prompt caching.
cached_tokens=(cached_tokens : Int64)
The number of tokens that were retrieved from the cache. More on prompt caching.