Unblock free-model rate limits with your own OpenRouter key

Hitting 429s on :free models? Add your own OpenRouter key so free models run on your OpenRouter quota instead of the shared pool.

If anyrouter/free or a :free model keeps returning 429, add your own OpenRouter key. Free-model requests then run on your own OpenRouter account first.

429 typeCauseFix
rate_limit_exceededYour account went over its plan's free-model requests per minute.Wait Retry-After seconds and slow down, or upgrade.
From the upstream providerShared free capacity is busy at peak.Add your own key (below).

Free models need the Go plan ($2/mo, or donate one working key) and have no daily cap. See Free Tier and Rate Limits.

Add your OpenRouter key

  1. Create a key at openrouter.ai/keys (starts with sk-or-) and copy it.
  2. Open Dashboard → BYOK, find OpenRouter under Available, click Add key, paste it, and click Save. No base URL is needed.
  3. AnyRouter checks the key against OpenRouter before saving. A bad key shows OpenRouter's error and nothing is saved. A saved key is encrypted and never shown again.

How routing uses your key

For models your key can serve, AnyRouter tries your key before the shared pool and your credits, and sets it aside briefly if it fails. Always use restricts matching models to your key (no fallback; failures fail). With several keys, pick a strategy (Fallback, Round Robin, Weighted, Random) on the OpenRouter card. See How AnyRouter Chooses a Credential.

Cost

  • AnyRouter charges nothing for requests served by your key: no markup, no fee, no credits.
  • :free models stay free, under OpenRouter's free-model limits on your account.
  • Paid models bill your OpenRouter account at OpenRouter's price. Call only :free models or set a spending limit on the key in OpenRouter to avoid that.

Verify

bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nvidia/nemotron-nano-9b-v2:free", "messages": [{"role": "user", "content": "Say hello."}]}'

In Dashboard → Logs the newest row shows the serving Provider and Cost $0. If that model is gone, pick a current :free model from the catalog.

Turn on Donate to pool on the key in Dashboard → BYOK to give you Go plus free Pool access. Your own requests come first. Check that OpenRouter's terms allow sharing. See Share a Key to the Shared Pool.

Troubleshooting

SymptomFix
Key won't saveThe live check failed. Copy the whole key including sk-or- and make sure it is enabled in OpenRouter.
429 from OpenRouterYour own free limit is used up. Wait, add a second key, or add a key from another provider. See Free capacity with your own keys.
401 upstream_401OpenRouter rejected the key (revoked or deleted). Add a new one in Dashboard → BYOK and delete the old one.
Charged on OpenRouterYou called a paid model. Use :free ids only, or set a credit limit on the key.

AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer