Skip to navigation

Read the prices Meadow charges usage at

Returns the price table Meadow uses to put a cost on a model call and a sandbox: the same table, at the same version, that price_version on GET /v1/usage names. It needs no key. OpenRouter’s model list is public in the same way and carries each model’s prices as decimal strings (https://openrouter.ai/docs/api-reference/models/get-models).

Prices are decimal strings in US dollars, written as the vendor’s page shows them: per million tokens for a model, per hour for a sandbox. Each entry names the page it was read from (source) and the day (checked). confirmed is false when no call has been compared with the vendor’s bill.

prices_as_of gives, for each vendor, the day every one of its entries was last compared with the vendor’s page. A vendor whose date is more than stale_after_days days old, or that has entries and no date, is listed in stale_vendors. Its prices may be out of date: check them on the vendor’s page before you rely on them. The same 30-day rule fails Meadow’s own price check (docs/runbooks/pricing.md).

Response headers

x-request-idstringOptional

Meadow’s id for this request, req_ and 24 hex characters. Every response carries it, including errors, streams and unknown routes. Every error in the Error schema repeats it as request_id. Quote it when you report a problem.

Response

The price table.
versionstring

The table’s version. The same string as price_version on GET /v1/usage.

currencyenum
Allowed values:
unitstring
The unit of the prices
prices_as_ofmap from strings to dates

For each vendor, the day (YYYY-MM-DD) every one of its entries was last compared with its pricing page.

stale_after_daysinteger

The age in days after which a vendor’s prices_as_of counts as stale.

stale_vendorslist of strings

Vendors whose prices_as_of is older than stale_after_days, or that have entries and no date. Empty when every vendor is current.

modelslist of objects
toolslist of objects
modifierslist of objects
sandboxeslist of objects
unpriced_providerslist of objectsOptional

Model providers whose calls Meadow stores with no cost on purpose, and why. A call through one has cost_status price_unknown with this reason as cost_reason, and a key with a dollar limit refuses a route that includes it.

Errors

500
Internal Server Error