Skip to content
All use cases
BYOK
Your keys

Bring your own keys, $0 markup

Attach OpenAI, Anthropic, Google, Groq, NVIDIA, and more. Requests bill the provider. AnyRouter does not take a per-token cut.

01

The problem

What this is for

You already pay providers. A second gateway invoice is waste if all you needed was one URL, logs, and failover across the keys you have.

02

What to do

Three steps, then copy

  1. 1.Open /byok and add each provider key.
  2. 2.Call AnyRouter with your sk-ar key. Matching models go out on your BYOK key.
  3. 3.Optionally donate idle quota, or fall through to credits when a key is exhausted.
curl · anyrouter/auto
bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anyrouter/auto",
    "messages": [{ "role": "user", "content": "Say hello in one sentence." }]
  }'

Ready to try it

The guide has the full walkthrough. Sign up if you still need a key.