struct

Anthropic::GeneratedMessage::Usage

Inherits JSON::Serializable / Anthropic::Resource / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

cache_creation_input_tokens
Source
cache_read_input_tokens
Source
input_tokens
Source
output_tokens
Source