BYOK is currently in development. Contact support@arouter.ai to join the beta.
- Zero markup on token costs — pay providers directly at their list price
- Your quota — requests count against your own provider rate limits, not ARouter’s shared pool
- Your data policy — your existing provider agreements and data terms apply
- Unified gateway — still get ARouter’s routing, fallback, and observability on top
How BYOK Works
- You register provider API keys in the ARouter Dashboard
- When ARouter routes a request to that provider, it substitutes your key
- Your account is not charged for token costs (only ARouter service fees, if any)
usage.is_byok: trueis returned in the response
Registering Keys
Add provider keys in the ARouter Dashboard. Supported providers and their key formats:BYOK with Provider Ordering
Combine BYOK withprovider.order to control when your key is used:
OpenAI is in the order list and you have an OpenAI BYOK key registered, ARouter automatically uses your key for that provider.
Partial BYOK
You can register keys for some providers while using ARouter’s shared pool for others:Azure OpenAI
Register your Azure OpenAI endpoint and key:AWS Bedrock
Two authentication options: Option 1: Bedrock API Keys (recommended)Google Vertex AI
Identifying BYOK Requests
Responses includeis_byok: true in the usage object when your key was used:
is_byok: true, usage.cost reflects your direct provider cost (not ARouter markup).