Skip to navigation

List the models this key can reach

Returns every model the calling key can use right now, and for each one the vendors that can serve it and the formats each vendor accepts. Call it after you store a provider key to check that routing sees it, and to pick a model id.

A model is listed only when the account has a stored key for at least one of its vendors, that key is enabled for the calling key’s project, and the allowed_models of the calling key and of every key above it permit it. A vendor the project’s routing excludes, or one outside the allowed_providers of the calling key or a key above it, is left out. azure is listed for a model only when the stored deployments map names it. With no usable provider key the list is empty.

The list is not paginated. It is Meadow’s own catalog. A model that is missing from it can still be called with a prefixed id such as openrouter/<vendor id>.

A plain id that is not in the catalog resolves in this order:

  1. A vendor’s documented alias for a listed model routes like that model. claude-haiku-4-5 is Anthropic’s alias for claude-haiku-4-5-20251001.
  2. An id of the claude-, gpt- (also chatgpt-, o1, o3, o4), gemini- or grok- family goes to that family’s own vendor (anthropic, openai, google, xai) as written, when the project has a provider key for it. No other provider is tried for such an id, and the vendor’s own 404 comes back if the vendor does not know it. Project routing still applies.
  3. Anything else returns 404 with error.code model_not_found, in the format’s own envelope, as OpenAI and Anthropic answer a model they do not serve. The message names the id and shows how to pin it.

allowed_models stays exact: an unlisted id is served only when the list names that plain id or pins it to that same vendor. An alias and the id it names count as the same model.

The envelope and each item also carry OpenAI’s list fields (object, created, owned_by), so an OpenAI SDK’s models.list() reads the response. Meadow keeps no release dates, so created is always 0.

Scope: models.

Authentication

AuthorizationBearer

A Meadow API key, sent as Authorization: Bearer mdw_.... The header x-api-key: mdw_... is accepted in its place.

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 models, sorted by id.
datalist of objects
One entry per model. Empty when no stored key can serve any model.
objectenumOptional

Always list, as on OpenAI.

Allowed values:
has_morebooleanOptional
Always false. This list is not paged.

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error