CompletionTokensDetails

data class CompletionTokensDetails(val reasoningTokens: Int, val acceptedPredictionTokens: Int, val rejectedPredictionTokens: Int)(source)

Detailed breakdown of completion tokens by category.

See also

Constructors

Link copied to clipboard
constructor(reasoningTokens: Int, acceptedPredictionTokens: Int, rejectedPredictionTokens: Int)

Properties

Link copied to clipboard
@SerialName(value = "accepted_prediction_tokens")
val acceptedPredictionTokens: Int

Tokens from predictions that were accepted.

Link copied to clipboard
@SerialName(value = "reasoning_tokens")
val reasoningTokens: Int

Tokens generated as part of reasoning.

Link copied to clipboard
@SerialName(value = "rejected_prediction_tokens")
val rejectedPredictionTokens: Int

Tokens from predictions that were rejected.