Core Concepts
Providers
The providers OpenLink can route to, and how to know which one answered.
A provider is a company whose models the gateway can call on your behalf — Anthropic, Google, Sarvam. Applications never talk to providers directly; they talk to OpenLink, and the gateway talks to whichever provider serves a given request.
Provider IDs
| Provider | ID | Region | Availability |
|---|---|---|---|
| Anthropic | anthropic | us | Operational |
| global | Operational | ||
| Sarvam | sarvam | in-1 | Operational |
Use the ID whenever the API needs a provider — the provider request field, the x-openlink-provider header, or in dashboard filters.
Listing providers
curl https://openlink-1.onrender.com/v1/providers \
-H "Authorization: Bearer $OPENLINK_API_KEY"{
"object": "list",
"data": [
{
"id": "anthropic",
"name": "Anthropic",
"status": "operational",
"regions": ["us"]
},
{
"id": "sarvam",
"name": "Sarvam",
"status": "operational",
"regions": ["in-1"]
}
]
}Selecting a provider
Two ways to influence routing: pass "provider": "sarvam" in the request body, or send the x-openlink-provider: sarvam header. Omit both and routing is automatic.
Forced providers
A forced provider is honored as long as it is enabled and healthy. If it is not, the gateway returns 503 provider_unavailable rather than silently routing elsewhere.
Adding providers
Providers are enabled from the dashboard under Providers. See the Add a Provider guide for the full walkthrough.