Skip to main content
The /v1/models endpoint returns all models that MonoRelay can currently route to. Rather than reflecting a single provider’s catalog, it aggregates model lists from every enabled provider in your configuration and returns them as a unified list. This means clients that enumerate available models — such as certain chat UIs and SDKs — will see the full set of models across OpenRouter, OpenAI, NVIDIA NIM, and any other configured provider. The endpoint is unauthenticated by default and does not require a Bearer token, making it convenient for model discovery.

Method and path

Request body

This endpoint takes no request body.

Response

The response follows the standard OpenAI models list format.
string
Always "list".
object[]
Array of model objects, one per available model.
The model list is built from all enabled providers. If a provider is disabled in config.yml, its models are excluded. Duplicate model IDs across providers are deduplicated, with the first occurrence kept.

Example


GET /v1/credits

The /v1/credits endpoint returns the credit balance from the upstream provider associated with the authenticated token. This is primarily useful when using providers that expose a credits or balance API (such as OpenRouter).
This endpoint requires authentication:

Example

The exact fields returned depend on what the upstream provider exposes. MonoRelay passes the response through without modification.