RouterPlus BYOK sends your requests through your organization's own OpenAI, Anthropic or Azure API keys, or through an AWS Bedrock workload role once RouterPlus approves one. You still call one gateway with a RouterPlus key. RouterPlus stores the provider credential encrypted, the provider bills you directly, and RouterPlus charges nothing for BYOK inference. BYOK needs no marketplace credit.
Updated December 4, 2026
BYOK and marketplace
One account can use both. Here is what changes when a request runs on your own key.
BYOK
Marketplace
Who bills the tokens
Your provider, on your own account
Your RouterPlus prepaid balance
RouterPlus charge
0. The request records cost_usd 0
Listed per-token price, stated in usage.cost
Credit needed
None
Prepaid credits
Models
The exact model ids on your connection
Catalog models your key can call
Limits that apply
Key RPM, org token and concurrency limits
Key RPM limits and spend caps
Providers you can bring
OpenAI
API key. Also covers GPT Image models on /v1/images/generations, billed to your OpenAI account.
Anthropic
API key. Anthropic token counting runs on the same connection.
Azure
API key plus a resource and deployment mapping, on Azure v1 public endpoints.
AWS Bedrock
A workload role instead of a key. Selectable once RouterPlus approves a role for your org.
Set it up
In the console it takes five steps. Owners and admins make changes; viewers can read.
Add a connection
In the console, open Access > Provider connections and click Add connection. Name it, choose the provider, enter its credential and list the exact model ids you will call, from 1 to 100, with no wildcards.
Save and validate
For API-key providers, validation makes one authenticated model-list call with no generated tokens. If it fails, the connection stays pending until you rotate the credential or retry.
Set the account limits
Choose an existing provider account's limits, or enter RPM, TPM, concurrency and headroom for a new one. A connection with no quota pool cannot serve requests.
Issue a RouterPlus key
Create a new key bound to the connection, or pick an existing one. Copy it once and use the request example the console generates.
Call the gateway
Send requests to /v1/chat/completions or /v1/messages with that key. Both request formats and streaming work with each provider profile, within the wire compatibility limits.
Or use the API
Connection management runs on the site origin with your console session. An inference key cannot manage connections. After binding, declare a quota pool for the provider account, since a route with no pool returns 503.
# 1. Create the connection (site origin, console session)
POST https://app.routerplus.com/api/connections
{"profile":"openai","models":["your-exact-provider-model-id"],"api_key":"YOUR_PROVIDER_KEY"}
# 2. Validate it
POST https://app.routerplus.com/api/connections/{connection_id}/validate
{}
# 3. Bind a RouterPlus key to it
POST https://app.routerplus.com/api/connections/{connection_id}/bind
{"key_id":"YOUR_VIRTUAL_KEY_UUID"}
Requests from the BYOK docs. Responses never return your provider key.
Mix keys and marketplace
A routing policy decides which of your connections and which marketplace deployments a key may use, in what order, and who pays. Bind it to an org, a workspace or a key.
Your keys only
The default. Requests use your connections and never marketplace supply.
byok_only
Your keys, then marketplace
Every BYOK route comes first. Marketplace deployments are the last phase and charge credit only when a request reaches them.
byok_with_house_fallback
Marketplace only
Marketplace deployments and no connections, billed to your prepaid balance.
A routing policy body, from the routing policy docs. Under a policy, fallback stays within the first selected provider.
Rules worth knowing
Exact model idsA bound key calls just its connection's models. /v1/models lists them.
No silent fallbackA BYOK key never moves to marketplace supply unless a policy allows it.
Secrets stay hiddenRouterPlus never returns provider secrets or relays provider error bodies.
Fast rotationNew calls see a rotation or disable within 5 seconds.
Fixed connectionsTo change the provider or model list, create a new connection.
Your provider's termsBYOK gives no private-link, residency or retention guarantee of its own.
Questions teams ask
Does RouterPlus charge a fee on BYOK requests?
No. RouterPlus charges nothing for BYOK inference. Each BYOK attempt records billing_source byok and cost_usd 0, and your provider bills your own account for the tokens.
Do I need to buy RouterPlus credits to use BYOK?
No. BYOK needs no marketplace credit. Credit is spent in one case: a routing policy with marketplace fallback, when a request reaches a marketplace deployment.
Which providers can I bring?
OpenAI, Anthropic and Azure with an API key, and AWS Bedrock with a workload role once RouterPlus approves one for your organization. Other image models, such as those served by Replicate, Krea and Recraft, have no BYOK.
Can BYOK fall back to marketplace models?
Only if you allow it. A bound key stays on its connection's models. A routing policy with funding byok_with_house_fallback tries your BYOK routes first and marketplace deployments last, charged at the listed prices. Automatic fallback stays within the first selected provider.
Which endpoints work with a BYOK key?
/v1/chat/completions and /v1/messages, in both the OpenAI and Anthropic request formats, with streaming, within the wire compatibility limits. Image generation works through an OpenAI connection for GPT Image models.
Do spend caps limit my provider bill?
No. Marketplace spend caps do not limit what your provider bills you. Key RPM limits and your organization's token and concurrency limits still apply to BYOK traffic.