Providers are defined under the top-levelDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Excurs1ons/MonoRelay/llms.txt
Use this file to discover all available pages before exploring further.
providers key in config.yml. Each entry is a named block that describes how MonoRelay connects to a specific upstream API — its base URL, authentication keys, timeout, and optional features like retry logic or request cloaking. You can enable or disable any provider at runtime; the configuration is hot-reloaded without a server restart.
Provider configuration tabs
- OpenRouter
- NVIDIA NIM
- OpenAI
- Anthropic
- ChatGPT Web
OpenRouter aggregates hundreds of models behind a single OpenAI-compatible endpoint. It is the recommended default provider.
config.yml
Common provider fields
| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Whether this provider is active |
base_url | string | — | Upstream API base URL |
keys | object[] | [] | List of API keys; see key fields |
headers | object | {} | Extra HTTP headers sent with every request |
rate_limit_cooldown | integer | 60 | Seconds a key stays on cooldown after a 429 response |
timeout | integer | 120 | Request timeout in seconds |
models.include | string[] | [] | Explicit allowlist of models; empty means all models |
models.exclude | string[] | [] | Models to exclude from this provider |
Retry configuration
Retry logic is disabled by default. Enable it per-provider to automatically retry failed requests with exponential backoff.config.yml
Enable automatic request retries.
Maximum number of retry attempts per request.
HTTP status codes that trigger a retry.
Error type strings that trigger a retry (e.g.,
"rate_limit_error", "timeout_error").Multiplier for exponential backoff delay between attempts.
Maximum backoff delay in seconds.
Ignore configuration
When certain upstream error types should be silently swallowed rather than surfaced to the client, use theignore block.
config.yml
Enable error ignoring.
Error type strings to suppress. Requests that trigger these errors return an empty successful response.
Request cloaking
Cloaking lets you override HTTP headers so outbound requests appear to originate from a different client. This is most useful with thechatgpt_web provider or when a provider restricts access by User-Agent.
config.yml
Override the
User-Agent header sent to the upstream provider.Override the
Referer header.Override the
Origin header.Override the
Accept header.Override the
Accept-Language header.ChatGPT web reverse-proxy fields
Theweb_reverse block is only used when provider_type: "web_reverse".
Proof-of-work difficulty string required by the ChatGPT web gateway.
When
true, only the conversation endpoint is used (no streaming backend).Prevent conversations from appearing in the ChatGPT history sidebar.
Optional HTTP/SOCKS proxy URL for outbound ChatGPT web requests.
Base URL for the ChatGPT web interface.
Maps OpenAI model names in the request to internal ChatGPT web model identifiers. For example,
"gpt-3.5-turbo" maps to "text-davinci-002-render-sha".