ModelPricing
Defined in: core/src/types/models.ts:16
List price of a model, in USD per million tokens. Cache, batch and long-context tiers are ignored, so a cost computed from it is an estimate.
Properties
checkedOn
checkedOn:
string
Defined in: core/src/types/models.ts:31
Date the price was checked against the provider, YYYY-MM-DD.
Pattern
^\d{4}-\d{2}-\d{2}$
inputUsdPerMillion
inputUsdPerMillion:
number
Defined in: core/src/types/models.ts:21
Price of one million input tokens in USD.
Minimum
0
outputUsdPerMillion
outputUsdPerMillion:
number
Defined in: core/src/types/models.ts:26
Price of one million output tokens in USD.
Minimum
0