Configure Channels and Models

Scenario

Create a channel when you need to connect a new model provider, private inference service, or OpenAI-compatible service. Then synchronize and enable models.

Prerequisites

  • You have the upstream service URL and credential.
  • The gateway node can access the upstream URL.
  • The upstream URL complies with the SSRF protection policy.

Create a Channel

  1. Go to Channel Management.
  2. Click Create Channel.
  3. Enter a channel name, for example openai-prod-east.
  4. Select the channel or protocol type.
  5. Enter the upstream service URL.
  6. Enter the upstream credential.
  7. Configure timeout, priority, weight, and health probe options.
  8. Click Save.

Synchronize Models

  1. Select the target channel in Channel Management.
  2. Click Synchronize Models.
  3. Wait for the synchronization task to complete.
  4. Open Model Management or the channel detail page to view synchronized models.
  5. Enable the models that should be available to users.

Field Description

FieldDescription
Channel NameIdentifies the upstream model service in Route Policies and logs.
Upstream URLAddress of the upstream model service. It must be reachable from the gateway node.
CredentialAuthentication information used by the gateway to access the upstream service.
TimeoutMaximum wait time for one request. Configure it according to upstream SLA.
Priority and WeightUsed by Route Policies to select channels.
Health ProbeUsed to determine whether the channel can receive traffic.

Verification

  • Run Test Connection or a health probe on the channel detail page.
  • Call a target model through /v1/chat/completions.
  • Confirm the selected channel in Usage Log.

Notes

Note:

A channel without enabled model rows does not participate in routing. After creating a channel, synchronize models and enable the target models. Otherwise calls may fail with no_available_channel.