Connect an OpenAI-compatible gateway
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
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.
Before you start
Section intitulée « Before you start »- Any gateway that serves
GET {base_url}/modelsand/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).
At the gateway
Section intitulée « At the gateway »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.
Permissions
Section intitulée « Permissions »api_key only lists models. run_key can call the models you allow: that is where the damage is bounded,
so bound it there.
In Tranibor
Section intitulée « In Tranibor »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.
When it fails
Section intitulée « When it fails »- An empty models list: the
api_keycannot list, orbase_urlis 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 |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
the gateway's host