Anthropic::Messages::CountTokensResponse
Inherits JSON::Serializable < Struct < Value < Object
Response from the count_tokens endpoint.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
input_tokens
Source