Bring your own key (BYOK)
Connect your own AI provider key; AI actions run on that key and no Adflap credits are used.
What is BYOK?
BYOK (Bring Your Own Key) lets your workspace run AI actions on your own provider account. While the key is active, AI Studio, one-click campaigns, content ideas and copy generation all use it; no credits are used and your provider bills you directly. BYOK is available on every plan, including Free.
Supported providers
- OpenAI, Anthropic Claude, Google Gemini
- DeepSeek and other OpenAI-compatible providers
- OpenRouter — hundreds of models with one key
- Custom (OpenAI-compatible) — your own endpoint, base URL required
When adding the key, pick one of the suggested models or type the provider's current model id. The model must support tool calling.
Adding a key
- 1
Open settings
On Settings → AI, choose a provider in the Bring your own AI key section.
- 2
Enter the key
Enter a label, the model and the API key. For a custom provider, add the base URL too.
- 3
Test and save
Before saving, the key is verified with a small test request to the provider. If it works, it's saved and becomes active right away.
Managing keys
- Only one key is active per workspace at a time; a newly added key becomes active automatically.
- You can test, deactivate or delete keys. With no active key, the workspace falls back to Adflap AI (on credits).
- Only owners and admins can manage keys; other members use the connected key.
Security
Keys are stored encrypted with AES-256-GCM, only a masked version is shown in the UI, and they are never sent to the browser. See Security and privacy.
No fallback with BYOK
When you use your own key there is no automatic model fallback. If your provider account runs out of balance or quota you'll see an "insufficient balance" error; top up in your provider's console, or deactivate the key to go back to credits.