# 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.


# Unblock free-model rate limits with your own OpenRouter key

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` type | Cause | Fix |
|---|---|---|
| `rate_limit_exceeded` | Your account went over its plan's free-model requests per minute. | Wait `Retry-After` seconds and slow down, or upgrade. |
| From the upstream provider | Shared 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](/features/free-tier) and [Rate Limits](/features/rate-limits).

## Add your OpenRouter key

1. Create a key at [openrouter.ai/keys](https://openrouter.ai/keys) (starts with `sk-or-`) and copy it.
2. Open [Dashboard → BYOK](https://anyrouter.dev/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](/features/credential-selection).

## 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](https://anyrouter.dev/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](https://anyrouter.dev/models).

## Donate your key

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](/features/shared-pool).

## Troubleshooting

| Symptom | Fix |
|---|---|
| Key won't save | The live check failed. Copy the whole key including `sk-or-` and make sure it is enabled in OpenRouter. |
| `429` from OpenRouter | Your 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](/guides/free-capacity-with-your-own-keys). |
| `401 upstream_401` | OpenRouter rejected the key (revoked or deleted). Add a new one in Dashboard → BYOK and delete the old one. |
| Charged on OpenRouter | You called a paid model. Use `:free` ids only, or set a credit limit on the key. |


## Related

- [Free Tier](/docs/features/free-tier.md)
- [Bring Your Own Key (BYOK)](/docs/features/byok.md)
- [How AnyRouter Chooses a Credential](/docs/features/credential-selection.md)
- [Share a Key to the Shared Pool](/docs/features/shared-pool.md)
- [Rate Limits](/docs/features/rate-limits.md)
- [Free capacity with your own keys](/docs/guides/free-capacity-with-your-own-keys.md)
