/api/v1/modelsReturn display information for OpenRouter models linked in GR; actual routability still depends on model relations, tenant permissions, and provider status.
Back to Models and Providers endpoint listRequest parameters
| Field | Type | Required | Description |
|---|---|---|---|
query.provider | string | No | query parameters。 |
query.available_only | boolean | No | query parameters。 |
query.modality | string | No | query parameters。 |
query.capability | string | No | query parameters。 |
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
object | string | No | See the OpenAPI schema for field details. |
data | Model[] | No | See the OpenAPI schema for field details. |
data[].id | OpenRouterPublicModelId | No | GR public model ids used in request bodies. |
data[].name | string | No | See the OpenAPI schema for field details. |
data[].context_length | integer | No | See the OpenAPI schema for field details. |
data[].pricing | object | No | See the OpenAPI schema for field details. |
data[].providers | object[] | No | See the OpenAPI schema for field details. |
data[].supported_parameters | string[] | No | See the OpenAPI schema for field details. |
Errors
401
UNAUTHORIZEDMissing or invalid Authorization Bearer token.
403
FORBIDDENThe current API key is not authorized for this scope, model, or management capability.
422
VALIDATION_ERRORThe request body, path parameters, or query parameters do not match the endpoint schema.
Notes
- Use a GlobalRouter API key; upstream OpenRouter API keys are never exposed to tenants.