/api/v1/models/{model_id}/endpointsShow model providers, prices, context length, capabilities, and availability from the synchronized OpenRouter catalog.
Back to Models and Providers endpoint listRequest parameters
| Field | Type | Required | Description |
|---|---|---|---|
path.model_id | OpenRouterPublicModelId | Yes | path parameters。 |
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
data | ModelEndpoint[] | No | See the OpenAPI schema for field details. |
data[].name | string | No | See the OpenAPI schema for field details. |
data[].model_id | OpenRouterPublicModelId | No | GR public model ids used in request bodies. |
data[].provider_id | string | No | See the OpenAPI schema for field details. |
data[].provider_model_id | OpenRouterInitialModelId | No | OpenRouter upstream model ids covered by the initial #551 sync allowlist. |
data[].upstream_model_id | OpenRouterInitialModelId | No | OpenRouter upstream model ids covered by the initial #551 sync allowlist. |
data[].provider_name | string | No | See the OpenAPI schema for field details. |
data[].endpoint_tag | string | No | See the OpenAPI schema for field details. |
data[].pricing | object | No | See the OpenAPI schema for field details. |
data[].synced_at | string | No | Format: date-time. |
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.