http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-ai-anthropic
/
org.http4k.connect.anthropic.action
/
Usage
Usage
@
JsonSerializable
data
class
Usage
(
val
input_tokens
:
Int
?
=
null
,
val
cache_creation_input_tokens
:
Int
?
=
null
,
val
cache_read_input_tokens
:
Int
?
=
null
,
val
output_tokens
:
Int
?
=
null
)
(
source
)
Members
Constructors
Usage
Link copied to clipboard
constructor
(
input_tokens
:
Int
?
=
null
,
cache_creation_input_tokens
:
Int
?
=
null
,
cache_read_input_tokens
:
Int
?
=
null
,
output_tokens
:
Int
?
=
null
)
Properties
cache_
creation_
input_
tokens
Link copied to clipboard
val
cache_creation_input_tokens
:
Int
?
cache_
read_
input_
tokens
Link copied to clipboard
val
cache_read_input_tokens
:
Int
?
input_
tokens
Link copied to clipboard
val
input_tokens
:
Int
?
output_
tokens
Link copied to clipboard
val
output_tokens
:
Int
?