How It Works
- You assign a FQDN on a domain managed in Pangolin and set the resource type to AI Gateway.
- You attach one or more org-level providers. The resource speaks the API formats those providers advertise.
- A user retrieves a virtual API key by visiting the URL in a browser and logging in, or from the Resource Launcher or
https://app.pangolin.net/<org-id>/keys. - Coding agents send that key to the same FQDN. Pangolin checks the key and proxies to the selected provider.
Providers, Not Targets
AI Gateway public resources do not use HTTP targets. Traffic goes to providers configured under AI Gateway → Providers, then attached on the resource. Cloud APIs (OpenAI, Anthropic, and similar) need no site. Custom providers can use Site Targets when the model server sits on a site network. That routing is on the provider, not on the resource.Authentication and Access Rules
Authentication is always on. You cannot turn Platform SSO off the way you can on an HTTPS resource. Assign users and roles the same way as a public HTTPS resource. Those grants control who can use an identity key. Manual keys grant access as soon as you create them, regardless of users and roles on the resource. When the call uses an identity key, or a manual key attributed to a user, Pangolin forwards that identity upstream asRemote-* headers. An unattributed manual key authenticates without sending them.
HTTPS resources can add PIN, passcode, header auth, shareable links, or email OTP. AI clients authenticate programmatically, so this type uses virtual API keys instead of those methods. See Virtual API Keys and public authentication.
You can still attach a resource policy for users, roles, and access rules.
More Than One Resource
Give different users and roles their own providers with more than one AI Gateway resource. Distinct hostnames are the usual approach. Unlike HTTP / HTTPS, they can also share a FQDN because they all route to the gateway inside Pangolin. See Multiple Gateway Resources.Compared to Private AI Gateway
For providers, keys, model routing, and connecting Claude Code, Codex, and other clients, see AI Gateway.

