GRGlobalRouter Docs
Console

Models and Providers / GET

List models

Read the synchronized OpenRouter model catalog.

endpoint list

Mobile view shows the endpoint list. Use desktop view for parameters and examples.

MethodEndpointDescription
GET/api/v1/modelsRead the synchronized OpenRouter model catalog.
GET/api/v1/models/countCount OpenRouter models matching the filters.
GET/api/v1/models/{model_id}/endpointsRead the OpenRouter endpoint snapshot for a model.
GET/api/v1/providersRead the OpenRouter provider display list.
GET/api/v1/models

Return 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 list

Request parameters

FieldTypeRequiredDescription
query.providerstringNoquery parameters。
query.available_onlybooleanNoquery parameters。
query.modalitystringNoquery parameters。
query.capabilitystringNoquery parameters。

Response fields

FieldTypeRequiredDescription
objectstringNoSee the OpenAPI schema for field details.
dataModel[]NoSee the OpenAPI schema for field details.
data[].idOpenRouterPublicModelIdNoGR public model ids used in request bodies.
data[].namestringNoSee the OpenAPI schema for field details.
data[].context_lengthintegerNoSee the OpenAPI schema for field details.
data[].pricingobjectNoSee the OpenAPI schema for field details.
data[].providersobject[]NoSee the OpenAPI schema for field details.
data[].supported_parametersstring[]NoSee the OpenAPI schema for field details.

Errors

401UNAUTHORIZED

Missing or invalid Authorization Bearer token.

403FORBIDDEN

The current API key is not authorized for this scope, model, or management capability.

422VALIDATION_ERROR

The 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.