OptionalcacheInput tokens written to a provider cache. Billed, and on Anthropic above base rate.
OptionalcachedInput tokens served from a provider cache.
OptionalinputTokens read from the request.
OptionaloutputTokens generated in the response.
OptionalreasoningTokens used for model reasoning.
OptionaltotalTotal input and output tokens.
Token counts reported by an LLM provider.