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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product