Providers

Model providers, perimeters, circuit breakers and selection weights.

Model providers, perimeters, circuit breakers and selection weights.

This screen belongs to the Router deployment operator, not an ordinary hosted customer. Hosted customers have a separate account page with their own keys and limits; policy and service settings are not exposed there. Contact the operator to change protection. In the operator console, open the route listed above; a report tenant filter does not automatically scope a global setting.

Examples use educational data. Use your own authorized tenant in real integrations. Each screenshot shows the actual frontend, with the source and educational/demo mode stated below it.

Step-by-step actions

  1. Sign in to the operator console with the admin role using normal authentication and open Providers.
  2. Select Create provider or Edit in Provider settings. Enter the ID, protocol, perimeter and enabled state.
  3. Enter permitted API base URLs, select In order or Round robin, Fallback and timeout. Choose authentication and optionally enter a new key.
  4. Add models with public ID, upstream ID and actual USD prices per 1,000 input/output tokens. Select Save.
  5. In Virtual models, load the tenant, enter an alias, strategy, and model/provider pairs with priorities, then save the complete group.
  6. Verify the saved confirmation, the table after a full page reload and a synthetic model call. With Fallback disabled, failure of the chosen starting address is returned without trying the pool.
  7. Reload configuration rereads YAML; persisted database overrides retain priority and are not removed by this action.

Every control and its meaning

Control / parameterValues, units and effect
Модель, провайдер, периметрRoute inventory and provider editor. local is local, on_prem corporate, external remote. Changes apply globally to the deployment.
Цена, возможности, здоровьеCheck input/output pricing, supported modalities and upstream health before selecting a model.
Circuit breakerClosed permits calls, Open temporarily isolates the upstream, Half-open probes recovery.
Reload / Reset circuitReload rereads service configuration; Reset clears one provider circuit and does not repair credentials.
Адреса API / Балансировка / Fallback1–16 unique HTTP(S) API base URLs, one per line. In order starts at the first address; Round robin rotates starting addresses. Fallback tries remaining addresses on network failure, timeout, 429 or 5xx before a response is returned.
Ожидание заголовков, мс / Ключ APIThe 0–300000 ms timeout limits each address’s response headers, not its response body; 0 inherits the request lifetime. A blank new key preserves the current key; keys are encrypted and never returned by the API. One credential is used for all pool addresses.
Виртуальные модели / Virtual modelsA tenant-scoped alias combines any number of exact provider/model pairs. Lower numbers have higher priority; fallback follows order, while round robin rotates available routes in the equal best-priority tier.

Verify the result

After saving, Refresh and compare settings. For a virtual alias, make several synthetic calls using that model value and inspect provider/model in Routing Audit. For round robin, verify starting attempts within the priority tier; for fallback, verify movement only after failure.

Errors, disabling and reverting changes

On 409, refresh the list and reopen the editor: another revision was saved. On 400, correct URLs, models or policy references; the working configuration remains active. On 503, contact your administrator and check whether the change was saved before retrying. On 401/403, check operator authentication and the admin role; do not expand hosted-customer permissions. Private addresses require the deployment allowlist.

Model routing rules

Tenant virtual models

In Virtual models, load the exact tenant ID, enter an alias for the OpenAI model field, a display name, and a strategy. Add any number of exact model + provider pairs. Lower numeric priority is processed first. Fallback starts with the first available route and advances after an eligible failure. Round robin rotates routes sharing the lowest priority between requests; the next priority remains a fallback tier.

The alias belongs only to the selected tenant and cannot shadow a system model ID or auto. Any consumer holding a key for that tenant can discover it through GET /v1/models and send it in OpenAI API requests. Privacy policy and the permitted perimeter still take precedence: an external group route is not used for an on_prem or local decision.

After saving, make several synthetic requests and locate them in Routing Audit. Verify the actual provider/model and perimeter rather than only the alias in the catalogue. If saving is rejected, refresh the provider registry: a removed or disabled pair cannot be added as a new route.

The Model routing rules panel groups enabled bindings by their public model ID. A provider row’s Routing priority controls selection order: lower numbers are attempted first. When priorities are equal, Router applies the active perimeter and policy constraints, then cost and the normal selector. A saved priority applies to new requests.

IAM.Solution uses the dedicated iamsolution tenant and this order for the external deepseek-v4-flash model:

PriorityProviderUpstream model
-10first-party GB10deepseek-v4-flash-dspark
10Ollama Clouddeepseek-v4-flash:cloud
20DeepSeekthe model ID configured for that provider

Sharing a public ID does not prove provider health. After saving, inspect the status and run the diagnostic probe for every provider. 401 means its credential is missing or rejected, so that route is not a qualified fallback. 429 and 5xx participate in recovery only when the request contract permits fallback. Use a new Request ID in Routing Audit to verify the actual perimeter.

Addresses, balancing and recovery

In Create provider, enter the educational ID example-pool, OpenAI compatible protocol, a permitted perimeter and your API base URLs:

https://llm-a.example.com/v1
https://llm-b.example.com/v1

These are educational addresses, not a live service. Include the complete API base path without /chat/completions; the gateway appends the operation path. Line order defines fallback order. Every address must serve the same model/upstream IDs with the same authentication. One credential applies to the whole pool. Create separate providers for different credentials or model inventories.

Round robin rotates the starting address in turn. In order starts with the first line. Fallback independently enables trying remaining addresses on transport failure, response-header timeout, HTTP 429 or 5xx. HTTP 400, 401 and 403 do not trigger this traversal. Once successful headers have been received, an interrupted response body or SSE stream is never replayed. Client cancellation stops traversal. Explicit operator-enabled fallback applies to requests without a financial reservation. Calls reserving wallet funds or allowance retain one supplier attempt: fallback is disabled and round robin selects that single starting address. A retry after an ambiguous network failure may repeat upstream work; account for the supplier’s billing semantics.

Explicit model selection only excludes a model from automatic selection: callers must supply its ID. Use this for educational and standby models so qualification does not capture ordinary traffic.

The header timeout accepts 0–300000 milliseconds and includes DNS, connection and TLS through response headers, without limiting an ongoing streamed body. Zero adds no extra timeout. Private networks require deployment-allowlisted hosts; the form cannot change that allowlist. A model’s pinned separate address takes priority over the pool and is called out in its model group.

Credentials and concurrent editing

New API key is write-only. Leave it blank to preserve the current value. Clear the saved API key removes it; choose No authentication for a keyless endpoint. Keys are encrypted at rest and never returned in the list. Environment-secret, egress-proxy and OAuth bindings belong to deployment configuration; the system caller-token forwarding provider is read-only.

Editing requires appropriate permissions and an available service. On revision conflict 409, refresh the list, reopen the editor and compare your changes with the saved version. Do not resubmit stale content with an arbitrarily incremented revision. Settings survive full page reloads and gateway restarts. Reload configuration does not undo them: database overrides take priority over YAML. To retire a provider, clear Enabled and save.

Illustrative example: ID провайдера
Illustrative example: ID провайдера
Illustrative data. Available controls depend on your edition and permissions.
  1. ID провайдера
  2. Адреса API
  3. Балансировка
  4. Таймаут
  5. Fallback
Illustrative example: ID модели
Illustrative example: ID модели
Illustrative data. Available controls depend on your edition and permissions.
  1. ID модели
  2. Upstream ID
  3. Только явный выбор
  4. Добавить модель
  5. Сохранить

Interface controls

  1. Участие по весу
  2. Вес провайдера anthropic
  3. Сохранить
  4. Исключён по весу

Detailed security settings · Traffic analysis · FAQ · All application sections