OutputTokensDetails

@Serializable
class OutputTokensDetails(val reasoningTokens: Int? = null)

Breakdown of the output tokens counted in ResponseUsage.outputTokens.

Constructors

Link copied to clipboard
constructor(reasoningTokens: Int? = null)

Properties

Link copied to clipboard

Number of chain-of-thought tokens the model produced in thinking mode.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String