Skip to main content
The Gateway is not limited to public vendors. Register a model you run yourself — vLLM, Ollama, TGI, SGLang, or anything that speaks the OpenAI wire format — and Egis governs and routes to it with the same policies, audit trail, and cost accounting as OpenAI or Anthropic. Each registered endpoint is a custom provider, addressed everywhere on the platform as:
So a provider with slug verda serving llama-3-70b is called as custom-verda/llama-3-70b — in the Playground, in Smart Routing, in cost reports, and from your own client code.

Register one

Open Model Center → LLM providers → Custom models (workspace owner or admin) and add a model. The fields: Test connection probes the endpoint before you save, so a typo or a wrong key fails in the dialog, not on your first real call.

Two ways Egis reaches your model

1

Direct — the cloud dials your URL

For a model on the public internet, or any endpoint the Egis cloud can reach, the Gateway connects to the base URL itself. The URL is validated against SSRF (private, loopback, and cloud-metadata addresses are refused for direct connections, and redirects are not followed to a blocked host).
2

Via Egis Connector — for a private network

For a model with no inbound — inside a VPC, behind a firewall, on a laptop — pick Via Egis Connector. You run a small outbound relay next to the model; it dials out to the Gateway, and the Gateway rides that connection to reach the model. The cloud never needs a route into your network. See Egis Connector.
A connector-mode model is fail-closed: if no healthy connector is currently registered for your organization, calls return egis_connector_offline (503). Egis never silently falls back to a public provider for a model you marked private.

Keys stay in the vault

A custom model’s key is handled exactly like a BYOK provider key: encrypted at rest (Fernet / AES-128), decrypted only in memory on the forward path, never logged, never returned by the API. The dashboard shows only the last four characters. Managing custom models is restricted to workspace owners and admins and requires the inline Gateway add-on.

Call it

Once registered, custom-<slug>/<model> works anywhere a model name does — through the first-party client, raw HTTP, or the SDK:
Streaming and tool calling work unchanged — the Gateway governs the custom model with the same two-phase policy engine it runs for every provider, and the request appears on the Requests page with its custom-<slug>/<model> id.

What’s next

Egis Connector

Reach a private model with no inbound access.

SDK with self-hosted models

Govern direct calls to your own model from Python.

Smart model routing

Let routing pick a custom model as a target.

Gateway overview

How inline governance works end to end.