struct

Anthropic::Messages::CountTokensResponse

Inherits JSON::Serializable < Struct < Value < Object

Response from the count_tokens endpoint.

Constructors

new(input_tokens : Int32 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

input_tokens
Source