Guides
Add a Provider
Enable a new provider in minutes — no code, no redeploy.
Providers are gateway configuration, not application code. Adding one changes what the gateway can route to — your application keeps calling the same endpoint with the same key.
1. Open Providers in the dashboard
- Go to Providers in the sidebar.
- Find the provider you want and select Enable.
- Choose how the provider is billed: bring your own key, or gateway-managed.
With a managed key, OpenLink pays the provider and itemizes it on your invoice. With a bring-your-own key, you paste the provider's API key and billing stays on that provider's account.
2. Verify it shows up
curl https://openlink-1.onrender.com/v1/providers \
-H "Authorization: Bearer $OPENLINK_API_KEY"The enabled provider now appears in the list, and requests with "provider": "Sarvam" or "model": "sarvam" will start routing to it.
3. Make a routed call
const response = await client.chat({
provider: "sarvam",
messages: [{ role: "user", content: "रेसिपी बताइए" }],
});
console.log(response.provider); // "sarvam"Disabling a provider
Disabling a provider stops routing to it on the next request cycle. In-flight requests finish; nothing else changes — existing logs and analytics remain available.