ChannelDocsOpen workspace ↗

Models and routing

Choose a route

Use gpt-5.4-mini for OpenAI or gemini-3.1-flash-lite for Google. Both have completed metered production checks. claude-haiku-4-5-20251001 selects Anthropic; the last provider test required account credit. Model availability and provider account funding are separate conditions.

Selection and fallbacks

Use model to pin a single model, or models to authorise an ordered list. Each of Channel’s three model IDs has one upstream host. For an automatic cross-provider fallback, name both models:

{"models":["claude-haiku-4-5-20251001","gemini-3.1-flash-lite"],
 "provider":{"only":["anthropic","google"],"allow_fallbacks":true},
 "messages":[{"role":"user","content":"What measures wind speed?"}]}

provider.only is a strict allowlist. Use provider.ignore to exclude providers before ordering and fallback. For example, "provider":{"ignore":["google"]} removes Google even if it appears first in the preference order. An empty exclusion list leaves all otherwise eligible routes available. If the filters exclude every requested model, the API returns HTTP 400 before reserving credit. These settings apply to this request only. Optional provider.order prioritises providers within the requested models; unlisted eligible providers remain last. With allow_fallbacks:false only the first eligible route can run. Unknown policies return 400. Omitting a fallback list preserves single-model behaviour.

Channel reserves the largest eligible route’s hold once. A missing credential, a recognised provider-credit rejection, or a retryable upstream HTTP 401, 402, 404 or 429 can advance to the next eligible model. Other rejections stop the chain. On an ambiguous timeout or server error Channel records a pending hold and stops routing. Its ten-minute reconciliation job releases recorded uncertain holds aged ten minutes or more at zero client charge.

Inspect channel.provider and channel.attempts on success. The client statement stores the attempt sequence as routing_attempts alongside the winning model and its single charge. A fully rejected chain returns an error and request ID; definitive unbilled failures release the hold.

Catalogue, variants and modalities

A model’s catalogue namespace can identify its publisher rather than its host. A context limit on a model card does not change the gateway’s 4,096-byte request limit. The current inference route supports text only. Model variants, image/PDF/audio inputs and video generation in a discovery catalogue do not imply support through the chat endpoint.

Deployment and privacy

Client keys scope accounting to a Channel workspace. The upstream provider receives the question to perform inference. Channel’s public endpoint does not accept a region, retention, private-endpoint, cheapest-host or latency-routing selector. A UK domain and GBP wallet do not establish UK-only inference.

Who selects the model?

Your application chooses the eligible models. For example, to try Gemini first and GPT second, send "models":["gemini-3.1-flash-lite","gpt-5.4-mini"] alongside your message. The same order applies to a coding question and a translation request unless you change the policy. A fallback handles an availability failure. It does not evaluate answer quality or run both models to choose a winner.

Moving routing settings from OpenRouter

Automatic model selection
Use an explicit model ID or ordered list on Channel. General-purpose, coding, free-model and multi-model research router IDs from OpenRouter are unsupported. Channel does not score prompts, choose reasoning effort or publish benchmark scores for an automatic router.
Provider preferences and traffic distribution
Use provider.only for a hard restriction and provider.order for a preference. For example, putting Google first in an order still allows a listed OpenAI model to receive the prompt on fallback. Each connected model has one host. Channel does not divide traffic between hosts using latency, cache state, throughput or price. Set "provider":{"sort":"price"} to try the lowest-priced eligible model first. Channel compares one regular input token plus one output token using its billing rates. Exclusions and ceilings apply before sorting. An explicit provider order takes priority, with unlisted eligible routes then ordered by price. Equal prices preserve the original model order. Disabling fallbacks tries only the first eligible route. Throughput and latency sorting are unavailable.
Private endpoints and location
A Channel client key identifies the billing client. It does not reserve upstream capacity. There is no private endpoint provisioning, region pinning or zero-retention routing control. If a workload requires one of these, keep it on an endpoint with that guarantee.
Model variants
Pass the connected model ID exactly. Suffixes such as :free, :nitro and :floor do not select a price tier or change the order. The gateway rejects unknown IDs before reserving wallet funds.
Decision records and pricing
On success, read model for the serving model and channel.attempts for the routes actually attempted. An eligible model after a successful attempt will have no entry. The statement records the serving model’s usage once. There is no separate model-selection call or routing charge.

Set input and output price ceilings

For example, send "provider":{"max_price":{"prompt":0.25,"completion":1.5}} with your model list. Both numbers are USD per million tokens. Channel compares the regular input and output rates it uses for billing, before discounts for cached input. You may omit either ceiling. A rate exactly equal to its ceiling qualifies. Channel removes every route above a supplied ceiling before ordering or fallback. If no route qualifies, the gateway returns 400 before reserving funds. These limits constrain unit prices. Use the output-token limit to constrain response length.