CompletionTokensDetails

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

Represents details about completion tokens.

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

The number of accepted prediction tokens.

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

The number of tokens used for reasoning.

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

The number of rejected prediction tokens.