Aller au contenu
EN English versionDemander une démo

Connect an OpenAI-compatible gateway

For the person who operates the platform. Procedure connector.gateway.openai-compatible, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type gateway/openai-compatible.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • Any gateway that serves GET {base_url}/models and /chat/completions (Portkey, Kong AI Gateway, Envoy AI Gateway, OpenRouter, a vLLM router…).
  • Read the limits first. This adapter gives discovery only: no per-run virtual key, no hard budget at the source, no measured cost (spend is “not measured”, not “free”). Tranibor alone holds the budget (the reservation, turns and minutes).

Create two credentials: one for discovery (api_key), and one that runs will use (run_key). Every run receives the same run_key, so scope it at the gateway: a consumer of its own, with its own token rate limit.

api_key only lists models. run_key can call the models you allow: that is where the damage is bounded, so bound it there.

Chart (global.gateway.type: openai-compatible) or Connectors, Gateway: base_url, optional headers and timeout_s, then api_key and run_key in their password fields.

With sandbox.llm_security_analyzer in the project’s policy (the team and regulated presets), this gateway is refused: it has no guard to mask secrets on the LLM path. Use the LiteLLM gateway, or turn the flag off in the policy.

Open the administration’s models list: it shows what GET {base_url}/models returns.

  • An empty models list: the api_key cannot list, or base_url is wrong (it must be the base of the API).
  • 401: wrong key, or a header the gateway needs is missing (headers).
  • Spend always shows nothing: expected with this adapter.
Field What to put in it
api_key the key used to discover models, typed once
base_url the gateway’s address, ending where /models and /chat/completions hang
headers extra headers the gateway requires
run_key the key every run receives, typed once
timeout_s request timeout in seconds

Hosts the platform must be allowed to reach:

  • the gateway's host