struct

Anthropic::Usage

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

cache_creation_input_tokens
Source
cache_creation_input_tokens=(cache_creation_input_tokens : Int32 | Nil)
Source
cache_read_input_tokens
Source
cache_read_input_tokens=(cache_read_input_tokens : Int32 | Nil)
Source
input_tokens
Source
input_tokens=(input_tokens : Int32)
Source
output_tokens
Source
output_tokens=(output_tokens : Int32)
Source
server_tool_use
Source
server_tool_use=(server_tool_use : ServerToolUse | Nil)
Source