The Problem
Provider Outages
Provider downtime breaks your app and frustrates users
Rate Limits
Hit provider quotas and block your users from accessing your service
Regional Restrictions
Limited availability in certain regions reduces your global reach
Vendor Lock-in
Tied to one provider prevents cost optimization and flexibility
The Solution
Provider routing gives you access to the same model across multiple providers. When OpenAI goes down, your app automatically switches to Azure or AWS Bedrock using Helicone’s managed keys. When you hit rate limits, traffic flows to another provider. All without setup or code changes.Using Provider Routing
Zero configuration required. Just request a model:- Finds all providers offering this model
- Routes to the cheapest available provider
- Fails over instantly if a provider has issues
How It Works
The gateway uses the Model Registry to find all providers supporting your requested model, then applies smart routing: Routing Priority:- Your provider keys (BYOK) if configured
- Helicone’s managed keys (credits) - automatic fallback at 0% markup
What are credits?
What are credits?
Credits let you access 100+ LLM providers without signing up for each one. Add funds to your Helicone account and we manage all the provider API keys for you. You pay exactly what providers charge (0% markup) and avoid provider rate limits. Learn more about credits.
Advanced: Customizing Routing
The default routing handles most use cases. Customize only if you need specific control:Lock to Specific Provider
Force requests to only use one provider by adding the provider name after a slash:Use Your Own Deployment
Target a specific deployment you’ve configured in Provider Settings:Manual Fallback Chain
Specify exactly which providers to try, in order:Bring Your Own Keys (BYOK)
Add your provider API keys in Provider Settings: What happens: Your keys are always tried first, then Helicone’s managed keys as fallback. This gives you control over provider accounts while maintaining reliability. Benefits: Use provider credits, meet compliance requirements, or maintain direct provider relationships while still getting automatic failover.The gateway forwards any model/provider combination, even models not yet in our registry. Unknown models only route through your BYOK deployments.
Exclude Specific Providers
Prevent automatic routing from using specific providers:"!openai,!anthropic,gpt-4o-mini".
Failover Triggers
The gateway automatically tries the next provider when encountering these errors:| Error | Description |
|---|---|
| 429 | Rate limit errors |
| 401 | Authentication errors |
| 400 | Context length errors |
| 408 | Timeout errors |
| 500+ | Server errors |
Real World Examples
Scenario: OpenAI Outage
Your production app uses GPT-4. OpenAI goes down at 3am.Scenario: Using Azure Credits
Your company has $100k in Azure credits to burn before year-end.Scenario: EU Compliance Requirements
GDPR requires EU customer data to stay in EU regions.Scenario: Avoiding Provider Issues
You notice one provider is experiencing higher latency or errors today."!openai,!anthropic,gpt-4o-mini".