UsageInfo
io.cequence.openaiscala.domain.responsesapi.UsageInfo
case class UsageInfo(inputTokens: Int, inputTokensDetails: Option[InputTokensDetails], outputTokens: Int, outputTokensDetails: Option[OutputTokensDetails], totalTokens: Int)
Represents token usage details including input tokens, output tokens, a breakdown of output tokens, and the total tokens used.
Attributes
- inputTokens
The number of input tokens.
- inputTokensDetails
A detailed breakdown of the input tokens.
- outputTokens
The number of output tokens.
- outputTokensDetails
A detailed breakdown of the output tokens.
- totalTokens
The total number of tokens used.
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any