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 OofChef quota.
On this page
You never need an API key to use OofChef. 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 OofChef 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
- Open Settings › Providers.
- Paste the key into the provider's field and save.
- OofChef 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 OofChef quota. |
| Default | You have not added a key. OofChef's own access covers this provider, so its models use your OofChef quota. |
| Rejected — replace this key | The provider refused the key. Until you replace it, runs fall back to OofChef's own route and spend your OofChef quota. |
| Not set | No key saved. |
In the model picker, models on your key are marked Your API key · no OofChef quota.
How your keys are kept
- Keys are stored securely on OofChef'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. OofChef stops using it right away; you can add it again any time.
- OofChef 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 OofChef quota, on every plan. They keep working when your OofChef quota is used up. See How usage is counted.
Asset Tools never use your keys: they always use your OofChef usage, at official prices, and stop when it runs 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.
Keys and routes
Many models are offered by more than one provider. OofChef picks the route for each model by itself: the best available one, falling back automatically if it fails. OofChef'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.