Configure
- Pick a site that can reach the public internet. That box’s public IP is what the vendor will see.
- Sidebar → AI Gateway → Providers → Create. Set Provider Type to Custom.
-
Select capabilities that match the cloud API:
- OpenAI: OpenAI Chat Completions and OpenAI Responses
- Anthropic: Anthropic Messages and Anthropic Models
- Set Routing Mode to Site Targets.
-
Set Auth Type to Bearer for OpenAI, or
x-api-keyfor Anthropic, and paste the vendor API key. - Allow the model ids you plan to call, then save.
-
On the Network tab, add a target on that site. Use the API hostname as the address so TLS Host and SNI match:
The target address is sent as the Host header.
- Attach the provider to an AI Gateway resource.

