AutoTweaker API
Toggle table of contents
0.1.0-alpha.35+c07218c5
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AutoTweaker API
AutoTweaker API
/
io.github.autotweaker.api.types.llm
/
ModelData
/
TokenPrice
Token
Price
jvm
@
Serializable
data
class
TokenPrice
(
val
inputPrice
:
List
<
ModelData.TokenPrice.PriceTier
>
,
val
outputPrice
:
List
<
ModelData.TokenPrice.PriceTier
>
)
(
source
)
Members
Constructors
Token
Price
Link copied to clipboard
jvm
constructor
(
inputPrice
:
List
<
ModelData.TokenPrice.PriceTier
>
,
outputPrice
:
List
<
ModelData.TokenPrice.PriceTier
>
)
Types
Companion
Link copied to clipboard
jvm
object
Companion
Price
Tier
Link copied to clipboard
jvm
@
Serializable
data
class
PriceTier
(
val
fromTokens
:
Int
,
val
toTokens
:
Int
?
=
null
,
val
price
:
Price
,
val
cachedPrice
:
Price
?
=
null
)
Properties
input
Price
Link copied to clipboard
jvm
val
inputPrice
:
List
<
ModelData.TokenPrice.PriceTier
>
output
Price
Link copied to clipboard
jvm
val
outputPrice
:
List
<
ModelData.TokenPrice.PriceTier
>