FeatureCostQueryResult
objectResult of a feature cost query.
Start of the queried period.
Example:2023-01-01T01:01:01.001Z
End of the queried period.
Example:2023-01-01T01:01:01.001Z
A row in the result of a feature cost query.
Show Child Parameters
FeatureCostQueryRow
objectA row in the result of a feature cost query.
The metered usage value for the period.
Match pattern:^\-?[0-9]+(\.[0-9]+)?$
The computed cost amount (usage × unit cost).
Null when pricing is not available for the given combination of dimensions.
Match pattern:^\-?[0-9]+(\.[0-9]+)?$
The currency code of the cost amount.
Match pattern:^[A-Z]{3}$
>= 3 characters<= 3 characters
Example:USD
Detail message when cost amount is null, explaining why the cost could not be resolved.
The start of the time bucket the value is aggregated over.
Example:2023-01-01T01:01:01.001Z
The end of the time bucket the value is aggregated over.
Example:2023-01-01T01:01:01.001Z
The dimensions the value is aggregated over.
subject and customer_id are reserved dimensions.
LLMCostOverrideCreate
objectInput for creating a per-namespace price override.
Unique per provider, model and currency.
If an override already exists for the given provider, model and currency, it will be updated.
If an override does not exist, it will be created.
Provider/vendor of the model.
Canonical model identifier.
Human-readable model name.
Token pricing data.
Show Child Parameters
Currency code.
Match pattern:^[A-Z]{3}$
>= 3 characters<= 3 characters
Example:USD
When this override becomes effective.
Example:2023-01-01T01:01:01.001Z
When this override expires.
Example:2023-01-01T01:01:01.001Z
LLMCostPrice
objectAn LLM cost price record, representing the cost per token
for a specific model from a specific provider.
Unique identifier.
Match pattern:^[0-7][0-9A-HJKMNP-TV-Z]{25}$
Example:01G65Z755AFWAKHE12NY0CQ9FH
Provider of the model.
Show Child Parameters
The model.
Show Child Parameters
Token pricing data.
Show Child Parameters
Currency code (currently always “USD”).
Match pattern:^[A-Z]{3}$
>= 3 characters<= 3 characters
Example:USD
Where this price came from.
Allowed values:manualsystem
When this price becomes effective.
Example:2023-01-01T01:01:01.001Z
When this price expires (null = current).
Example:2023-01-01T01:01:01.001Z
Creation timestamp.
Example:2023-01-01T01:01:01.001Z
Last update timestamp.
Example:2023-01-01T01:01:01.001Z
ListCostBasesParamsFilter
objectFilter options for listing cost bases.
Filter cost bases by fiat currency code.
Match pattern:^[A-Z]{3}$
>= 3 characters<= 3 characters
Example:USD