struct

Anthropic::OutputTokensDetails

Inherits JSON::Serializable < Struct < Value < Object

Breakdown of output tokens by type (e.g. thinking tokens)

Constructors

new(thinking_tokens : Int32)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

thinking_tokens

Number of output tokens generated as internal reasoning

Source