struct

Anthropic::CacheCreation

Inherits JSON::Serializable < Struct < Value < Object

Breakdown of cached tokens by TTL

Constructors

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

Instance methods

ephemeral_1h_input_tokens
Source
ephemeral_5m_input_tokens
Source