Why use your own API key?
By default, you use the global AI token pool. Your own API key allows:- No limits - use as much as you want (within your budget)
- Model choice - access to latest models
- Cost control - pay directly to provider
Supported providers
| Provider | Models |
|---|---|
| OpenAI | GPT-4o, GPT-4o-mini, GPT-4-turbo |
| Anthropic | Claude 3.5 Sonnet, Claude 3 Opus |
| Gemini 1.5 Pro, Gemini 1.5 Flash | |
| OpenRouter | Access to many models |
| xAI | Grok |
| Mistral | Mistral Large, Mistral Medium |
How to add your key
1
Get API key
Register with a provider (e.g., OpenAI) and generate an API key.
2
Open settings
Go to Settings → AI.
3
Select provider
Click on the provider whose key you want to add.
4
Paste key
Paste the API key into the text field.
5
Save
Click “Save”. Key will be encrypted.
Where to get keys
| Provider | Link | Approximate price |
|---|---|---|
| OpenAI | platform.openai.com | ~$0.01/1K tokens |
| Anthropic | console.anthropic.com | ~$0.01/1K tokens |
| ai.google.dev | Free tier available | |
| OpenRouter | openrouter.ai | Depends on model |
Budget settings
You can set a monthly spending limit:- Go to Settings → AI → Budget
- Enter maximum amount (in USD)
- System will stop generating after exceeding
Key security
Your keys are secure:
- Encrypted in database
- Never displayed in full form
- Accessible only to you
Recommendations
Model selection
After adding a key, you can choose preferred model:For OpenAI
- GPT-4o - newest, best
- GPT-4o-mini - faster, cheaper
- GPT-4-turbo - good balance
For Anthropic
- Claude 3.5 Sonnet - very good for text
- Claude 3 Opus - best, but more expensive
Removing a key
To remove a key:- Settings → AI
- Click “Remove key” next to provider
- Confirm deletion