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 can make the same model available through multiple providers. When an eligible route returns a retryable error, the gateway can try another configured route without changing the client request.Using Provider Routing
Zero configuration required. Just request a model:- Finds all providers offering this model
- Routes to the cheapest available provider
- Tries another eligible route for configured retryable errors
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
- Planck’s managed keys (credits), using the published model or route price
What are credits?
What are credits?
Credits provide managed access to supported models without requiring a
separate account for every provider. Add funds to your Planck account and the
gateway uses eligible managed provider routes. Learn more about
credits.
OpenRouter
OpenRouter can serve the same model through several upstream providers, each with different prices and capabilities. Keep using your Planck API key and base URL, and choose the route in the request’smodel string.
sonnet-4.6 is an alias for anthropic/claude-sonnet-4.6; other models can use their full OpenRouter ID, such as openrouter/openai/gpt-6-astra. The suffix belongs inside the model value, not in the API URL.
POST /v1/chat/completions and POST /v1/responses routes. Use the same string in an OpenAI-compatible SDK’s model argument. Planck’s Chat page also supports these selections.
Choose in the chat picker
Click the chevron to the left of an OpenRouter model’s icon to compare its upstream prices and context limits. Click a provider row to select it, or Automatic to let OpenRouter choose. The ZDR button filters eligible choices and requires upstream ZDR when you select one, including Automatic. Chat browsing excludes dedicated batch variants and image generators. Use the Image tab for image generation models and their image, image-token, or megapixel prices.Pricing and credentials
With Planck credits, Automatic uses the model’s published automatic rate; an explicit upstream uses that route’s published rate. Automatic pricing covers multiple possible upstreams, so selecting a specific route can change the price. Adding?zdr to Automatic keeps the automatic rate. Compare the displayed input and output rates and their units before choosing.
Requests still go through OpenRouter. If you use BYOK, configure an OpenRouter key in Provider Settings, including when the selected upstream is Bedrock or another provider.
ZDR and request details
?zdr requires OpenRouter to use a Zero Data Retention endpoint. Planck checks route eligibility and sends the requirement to OpenRouter. It does not fall back to a non-ZDR endpoint to satisfy the request. OpenRouter account privacy restrictions still apply. See OpenRouter’s ZDR documentation.
Upstream ZDR governs inference at the selected endpoint. Planck’s request logging and retention are configured separately; this option does not establish HIPAA eligibility. See Data privacy and compliance.
In Requests, the provider appears as OpenRouter → Amazon Bedrock, for example, when OpenRouter reports who served the request. The request details distinguish that reported provider from the requested upstream and the ZDR requirement. Without a reported provider, the label remains OpenRouter.
Full endpoint names and explicit fallbacks
Full endpoint names and explicit fallbacks
bedrock is an alias for amazon-bedrock/global. Full endpoint tags work too:upstream is accepted as an alias for via, and zdr=true is equivalent to
bare zdr. A slash in the upstream value can also be encoded as %2F.A provider family such as via=openai covers its eligible standard
endpoints. A tag such as via=openai/fast selects that service tier when
available. Family selection excludes fast, flex, and priority tiers unless
explicitly selected. A family selection uses its published family rate,
whichever member serves the request. See OpenRouter provider
selection.A pinned route disables OpenRouter fallback outside the selected upstream.
For an explicit API fallback chain, pin every entry to an OpenRouter
upstream:model string. Combining these options with custom
targets or an OpenRouter-native provider request-body object is unsupported.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 Planck’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: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: Avoiding Provider Issues
You notice one provider is experiencing higher latency or errors today."!openai,!anthropic,gpt-4o-mini".
Next Steps
Browse Models
Explore all available models and providers
Add Provider Keys
Connect your provider accounts
Prompt Management
Combine routing with managed prompts