# Use your own API keys

> Add your own keys for Gemini, OpenAI, Anthropic, OpenRouter, Together, Perplexity or DeepSeek so those models run on your key instead of your RoGenie quota.

You never need an API key to use RoGenie. But if you already pay a provider, you can add your own key and that provider's models will run **on your key, not on your RoGenie quota**. This is often called BYOK, "bring your own key".

## Supported providers

**Settings › Providers** takes keys for:

| Provider | Key looks like |
|---|---|
| Gemini | `AIza...` |
| OpenAI | `sk-...` |
| Anthropic | `sk-ant-...` |
| OpenRouter | `sk-or-...` |
| Together | `together-...` |
| Perplexity | `pplx-...` |
| DeepSeek | `sk-...` |

## Add a key

1. Open **Settings › Providers**.
2. Paste the key into the provider's field and save.
3. RoGenie checks the key with the provider when you save it, and the field shows its status.

| Status | Meaning |
|---|---|
| **Configured** | Your key is saved. This provider's models run on your key, not on your RoGenie quota. |
| **Default** | You have not added a key. RoGenie's own access covers this provider, so its models use your RoGenie quota. |
| **Rejected — replace this key** | The provider refused the key. Until you replace it, runs fall back to RoGenie's own route and spend your RoGenie quota. |
| **Not set** | No key saved. |

In the [model picker](https://rogenie.ai/docs/models), models on your key are marked **Your API key · no RoGenie quota**.

## How your keys are kept

- Keys are stored securely on RoGenie's server and used only to route **your** account's requests.
- A saved key is never shown again, not even to you. To change it, paste a new one.
- **Clear** removes a key. RoGenie stops using it right away; you can add it again any time.
- RoGenie redacts known secret formats in its logs. Never paste keys into chat messages.

## When your quota runs out

Calls on your own keys are billed to you by the provider and never count toward your RoGenie quota, on every plan. They keep working when your RoGenie quota is used up. See [How usage is counted](https://rogenie.ai/docs/usage-and-quota#when-you-run-out).

## If a key is rejected

When a provider refuses your key during a run, the error card says so and offers **Open Settings › Providers**. Common causes: the key was revoked or mistyped, the provider account is out of credit, or the key lacks access to that model. Replace the key, then [regenerate](https://rogenie.ai/docs/message-actions#regenerate).

## Keys and routes

Many models are offered by more than one provider. RoGenie picks the route for each model by itself: the best available one, falling back automatically if it fails. RoGenie's own routes are shown as *Provider 1*, *Provider 2* and so on. You do not need to set an order; see [Routes and fallback](https://rogenie.ai/docs/models#routes-and-fallback).

## Your own Claude accounts

On the Builder plan and above you can also connect your own Claude subscription accounts. See [Your Claude accounts](https://rogenie.ai/docs/claude-accounts).
