TokenDetails

data class TokenDetails(val cachedTokens: Int? = null)(source)

Detailed breakdown of prompt tokens by category.

See also

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "cached_tokens")
val cachedTokens: Int?

Number of tokens that were cached and reused.