toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.decision
/
DecisionInputTokensDetails
Decision
Input
Tokens
Details
@
Serializable
data
class
DecisionInputTokensDetails
(
val
cachedTokens
:
Int
,
val
cacheWriteTokens
:
Int
)
Input-token cache usage.
Members
Constructors
Decision
Input
Tokens
Details
Link copied to clipboard
constructor
(
cachedTokens
:
Int
,
cacheWriteTokens
:
Int
)
Properties
cached
Tokens
Link copied to clipboard
@
SerialName
(
value
=
"cached_tokens"
)
val
cachedTokens
:
Int
Input tokens read from cache.
cache
Write
Tokens
Link copied to clipboard
@
SerialName
(
value
=
"cache_write_tokens"
)
val
cacheWriteTokens
:
Int
Input tokens written to cache.