Get LLM cost price
Get a specific LLM cost price by ID.
Returns the price with overrides applied if any.
Path Parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Match pattern:^[0-7][0-9A-HJKMNP-TV-Z]{25}$
Example:01G65Z755AFWAKHE12NY0CQ9FH
Response
application/json
Response
The request has succeeded.
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
Path Parameters
OpenMeter Features
Features represent product capabilities backed by meters, with optional per-unit cost configuration.
Query feature cost
Query the cost of a feature.
Path Parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Match pattern:^[0-7][0-9A-HJKMNP-TV-Z]{25}$
Example:01G65Z755AFWAKHE12NY0CQ9FH
Body
application/json
Body
MeterQueryRequest
A meter query request.
The start of the period the usage is queried from.
Example:2023-01-01T01:01:01.001Z
The end of the period the usage is queried to.
Example:2023-01-01T01:01:01.001Z
The size of the time buckets to group the usage into.
If not specified, the usage is aggregated over the entire period.
Allowed values:PT1MPT1HP1DP1M
The value is the name of the time zone as defined in the IANA Time Zone Database (http://www.iana.org/time-zones).
The time zone is used to determine the start and end of the time buckets.
If not specified, the UTC timezone will be used.
Default:UTC
The dimensions to group the results by.
<= 100 items
Example:["model","type"]
Filters to apply to the query.
Show Child Parameters
Response
application/json
Response
The request has succeeded.
FeatureCostQueryResult
Result 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
Authentication
Path Parameters
Body
OpenMeter Tax
Tax codes are used to calculate taxes for customers.
Create tax code
Body
application/json
Body
CreateTaxCodeRequest
TaxCode create request.
Display name of the resource.
Between 1 and 256 characters.
>= 1 characters<= 256 characters
Optional description of the resource.
Maximum 1024 characters.
<= 1024 characters
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.
Example:{"env":"test"}
A key is a unique string that is used to identify a resource.
Match pattern:^[a-z0-9]+(?:_[a-z0-9]+)*$
>= 1 characters<= 64 characters
Example:resource_key
Mapping of app types to tax codes.
Show Child Parameters
Response
application/json
Response
TaxCode created response.
BillingTaxCode
Tax codes by provider.
ULID (Universally Unique Lexicographically Sortable Identifier).
Match pattern:^[0-7][0-9A-HJKMNP-TV-Z]{25}$
Example:01G65Z755AFWAKHE12NY0CQ9FH
Display name of the resource.
Between 1 and 256 characters.
>= 1 characters<= 256 characters
Optional description of the resource.
Maximum 1024 characters.
<= 1024 characters
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.
Example:{"env":"test"}
An ISO-8601 timestamp representation of entity creation date.
Example:2023-01-01T01:01:01.001Z
An ISO-8601 timestamp representation of entity last update date.
Example:2023-01-01T01:01:01.001Z
An ISO-8601 timestamp representation of entity deletion date.
Example:2023-01-01T01:01:01.001Z
A key is a unique string that is used to identify a resource.
Match pattern:^[a-z0-9]+(?:_[a-z0-9]+)*$
>= 1 characters<= 64 characters
Example:resource_key
Mapping of app types to tax codes.