v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03101355448.4 KB
OpenMeter LLM Cost

Get LLM cost price

Get a specific LLM cost price by ID. Returns the price with overrides applied if any.

get/openmeter/llm-cost/prices/{priceId}

Path parameters

priceIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Response

The request has succeeded.

idstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

currencystring required

Three-letter ISO4217 currency code. Custom three-letter currency codes are also supported for convenience.

source'manual' | 'system' required

Identifies where an LLM cost price came from.

effective_fromstring date-time required

RFC3339 formatted date-time string in UTC.

effective_tostring date-time

RFC3339 formatted date-time string in UTC.

created_atstring date-time required

RFC3339 formatted date-time string in UTC.

updated_atstring date-time required

RFC3339 formatted date-time string in UTC.

Example response

{
  "id": "01G65Z755AFWAKHE12NY0CQ9FH",
  "currency": "USD",
  "effective_from": "2023-01-01T01:01:01.001Z",
  "effective_to": "2023-01-01T01:01:01.001Z",
  "created_at": "2023-01-01T01:01:01.001Z",
  "updated_at": "2023-01-01T01:01:01.001Z"
}