Bring Your Own Key (BYOK)
The Pro + BYOK plan lets you use your own API key from Anthropic (Claude), OpenAI, or Google (Gemini) for AI suggestions. This gives you unlimited suggestions — you pay the AI provider directly for token usage.
Supported providers
Section titled “Supported providers”| Provider | Models |
|---|---|
| Anthropic Claude | Claude 4 Sonnet, Claude 3.5 Sonnet, Claude 3.5 Haiku |
| OpenAI | GPT-4o, GPT-4o mini |
| Google Gemini | Gemini 2.0 Flash, Gemini 2.5 Flash |
Setting up your API key
Section titled “Setting up your API key”- Make sure you’re on the Pro + BYOK plan. If not, upgrade first.
- Go to Settings in the app sidebar.
- In the AI Provider section, select your provider from the dropdown.
- Select the model you want to use.
- Paste your API key into the text field.
- Click Save.
The app validates your key by making a test request to the provider. If the key is invalid or the provider returns an error, you’ll see an error message.
Once saved, the app shows a key hint (last 4 characters) and the active provider/model. Your key is never displayed in full after saving.
Changing your key or provider
Section titled “Changing your key or provider”To switch providers or update your key:
- Go to Settings.
- Select a new provider or model.
- Paste the new API key.
- Click Save.
The old key is replaced. Only one key can be active at a time.
Removing your key
Section titled “Removing your key”- Go to Settings.
- Click Remove next to your active key.
- Confirm in the dialog.
After removing your key, AI suggestions will stop working until you add a new key. You’ll still have unlimited bulk edits on the Pro + BYOK plan.
Security
Section titled “Security”Your API key is encrypted at rest using AES-256-GCM encryption. It is:
- Stored as
iv.tag.ciphertext(base64-encoded, dot-separated). - Decrypted only at the moment an AI request is made.
- Never logged, cached, or exposed in API responses.
- Deleted from the database if you remove it or downgrade.
The app never stores or transmits your key in plain text after the initial save.
Getting an API key
Section titled “Getting an API key”Anthropic (Claude)
Section titled “Anthropic (Claude)”- Go to console.anthropic.com.
- Sign up or log in.
- Navigate to API Keys and click Create Key.
- Copy the key (it starts with
sk-ant-).
OpenAI
Section titled “OpenAI”- Go to platform.openai.com.
- Sign up or log in.
- Navigate to API Keys and click Create new secret key.
- Copy the key (it starts with
sk-).
Google (Gemini)
Section titled “Google (Gemini)”- Go to aistudio.google.com.
- Sign up or log in.
- Click Get API key and create a key for a new or existing project.
- Copy the key.