AnthropicUsage

data class AnthropicUsage(val inputTokens: Int, val outputTokens: Int)(source)

Represents the usage statistics of the Anthropic LLM API.

Constructors

Link copied to clipboard
constructor(inputTokens: Int, outputTokens: Int)

Properties

Link copied to clipboard

The number of tokens sent as input to the LLM.

Link copied to clipboard

The number of tokens received as output from the LLM.