Models
List all available models, one entry per model however many providers serve it.
Each id is the model's catalog id (deepseek/deepseek-v4.1-flash), which a request sends as model to let the gateway choose the provider: it tries the model's offerings best first and falls back down the list. An entry's price, token limits and capabilities are those of the offering tried first, at the caller's own rate. A value nobody knows is omitted rather than sent as null.
Aliases and routing policies are listed beside the models. An instance:model selector still pins a request to one provider, and GET /api/v1/catalog/models/{model_id} lists the offerings of a model.
Enter your API key here (sent as Otari-Key header).
Only the models this provider instance serves, described as served there.
For a signed-in caller, only the models a request billed to this workspace may call.
Successful Response
OpenAI-compatible model list response.
listValidation Error
GET /api/v1/models HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"architecture": {
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
},
"context_window": 1,
"created": 1,
"deployment_managed": false,
"id": "text",
"max_output_tokens": 1,
"name": "text",
"object": "model",
"owned_by": "text",
"pricing": {
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "token"
},
"pricing_source": "none",
"supported_parameters": [
"text"
],
"type": "chat"
}
],
"object": "list"
}List every model the configured provider credentials can reach.
Operator-facing counterpart to GET /api/v1/models, which serves a curated catalog to API callers. This reports each provider separately and keeps its error, so a provider with a bad key is distinguishable from one with no models. It is operator-gated because a provider error message describes the gateway's own configuration.
Covers the configured provider instances and every hosted provider switched on, whatever organization it is restricted to. A hosted provider that a configured instance of the same name shadows is not listed.
Answers from the discovery cache, which a background refresher keeps warm, so the call does not wait on a slow or unreachable provider. Each provider carries the checked_at its result was produced at; a null one has not been dialed yet. Pass refresh=true to force a live re-dial of every provider.
Enter your API key here (sent as Otari-Key header).
Re-dial every provider instead of answering from the discovery cache.
falseSuccessful Response
Per-provider discovery results for operator model selection.
Validation Error
GET /api/v1/models/discoverable HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
"providers": [
{
"checked_at": "text",
"discovery_unsupported": false,
"error": "text",
"models": [
{
"id": "text",
"key": "text"
}
],
"ok": true,
"provider": "text"
}
]
}Per-model metadata for the dashboard's detail view, from models.dev.
Covers every model models.dev lists under a configured provider, keyed by the instance:model selector the dashboard uses. Until models.dev has been fetched, and always when models_dev_metadata is off, it comes from the catalog bundled with the gateway. available is false only when no catalog could be read; the response is then empty. Operator-gated: it describes the gateway's configured providers.
Answers from the cached catalog, kept warm by a background refresher, so the dashboard never waits on the models.dev fetch timeout.
Enter your API key here (sent as Otari-Key header).
Successful Response
models.dev metadata keyed by provider:model.
False when no models.dev catalog could be read, not even the one bundled with the gateway.
models.devGET /api/v1/models/metadata HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
Successful Response
{
"available": true,
"models": {
"ANY_ADDITIONAL_PROPERTY": {
"attachment": false,
"context_window": 1,
"cost_input": 1,
"cost_output": 1,
"deprecated": false,
"description": "text",
"family": "text",
"input_modalities": [
"text"
],
"knowledge_cutoff": "text",
"last_updated": "text",
"max_output_tokens": 1,
"name": "text",
"open_weights": false,
"output_modalities": [
"text"
],
"reasoning": false,
"release_date": "text",
"structured_output": false,
"temperature": false,
"tool_call": false,
"type": "chat"
}
},
"source": "models.dev"
}Get details for a specific model, by catalog id, alias or instance:model selector.
A value the gateway does not know is omitted rather than sent as null.
Enter your API key here (sent as Otari-Key header).
Successful Response
OpenAI-compatible model object.
falsemodelnoneValidation Error
GET /api/v1/models/{model_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
"architecture": {
"input_modalities": [
"text"
],
"output_modalities": [
"text"
]
},
"context_window": 1,
"created": 1,
"deployment_managed": false,
"id": "text",
"max_output_tokens": 1,
"name": "text",
"object": "model",
"owned_by": "text",
"pricing": {
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "token"
},
"pricing_source": "none",
"supported_parameters": [
"text"
],
"type": "chat"
}Last updated
Was this helpful?
