OpenMeter LLM Cost
LLM cost database providing normalized pricing data for language models across providers. Prices are synced from multiple external sources and auto-confirmed when they agree.
List LLM cost overrides
List per-namespace price overrides.
Query Parameters
Filter options for listing LLM cost prices.
Show Child Parameters
Determines which page of the collection to retrieve.
Show Child Parameters
Response
application/json
Response
Page paginated response.
PricePagePaginatedResponse
Page paginated response.
An LLM cost price record, representing the cost per token
for a specific model from a specific provider.
Show Child Parameters
returns the pagination information
Show Child Parameters
Authentication
Query Parameters
Create LLM cost override
Create a per-namespace price override.
Body
application/json
Body
LLMCostOverrideCreate
Input 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
Response
application/json
Response
Price created response.
LLMCostPrice
An 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
Authentication
Body
Delete LLM cost override
Delete a per-namespace price override.
Path Parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Match pattern:^[0-7][0-9A-HJKMNP-TV-Z]{25}$
Example:01G65Z755AFWAKHE12NY0CQ9FH
Response
Response
Deleted response.
Authentication
Path Parameters
List LLM cost prices
List global LLM cost prices.
Returns prices with overrides applied if any.
Query Parameters
Filter options for listing LLM cost prices.
Show Child Parameters
The asc suffix is optional as the default sort order is ascending.
The desc suffix is used to specify a descending order.
Multiple sort attributes may be provided via a comma separated list.
JSONPath notation may be used to specify a sub-attribute (eg: ‘foo.bar desc’).
Example:created_at desc
Determines which page of the collection to retrieve.
Show Child Parameters
Response
application/json
Response
Page paginated response.
PricePagePaginatedResponse
Page paginated response.
An LLM cost price record, representing the cost per token
for a specific model from a specific provider.
Show Child Parameters
returns the pagination information