struct

AI::OpenAI::Responses::InputTokensDetails

Inherits JSON::Serializable < Struct < Value < Object

Input tokens details from OpenAI Responses API

Constructors

new(cached_tokens : Int32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cached_tokens
Source