Bring Your Own Key (BYOK) allows you to use your own API keys for AI providers, giving you control over costs and access to specific models.Supported Providers#
| Provider | Category | Use For |
|---|
| Deepgram | STT | Speech-to-Text |
| OpenAI | LLM | Language Model |
| ElevenLabs | TTS | Text-to-Speech |
| Resend | Email | Notifications |
Step 1: Get Your API Keys#
Deepgram (STT)#
2.
Create an API key with "Member" role
3.
Copy the key (it won't be shown again)
OpenAI (LLM)#
2.
Click "Create new secret key"
3.
Copy the key (starts with sk-)
ElevenLabs (TTS)#
Resend (Email)#
3.
Copy the key (starts with re_)
Step 2: Add BYOK Configuration#
Add your API key via the API:Repeat for each provider you want to configure.Step 3: Verify Configuration#
Check which providers are configured:{
"byok_keys": {
"deepgram_secret_id": "vault-id-1",
"openai_secret_id": "vault-id-2",
"elevenlabs_secret_id": null,
"resend_secret_id": null
}
}
A non-null value means the provider is configured.Create or update your agent to use the provider:Available Models#
Check available models for each provider:Important Notes for ElevenLabs#
When using ElevenLabs with BYOK:1.
Voice Library Only - You only have access to voices in your ElevenLabs Voice Library
2.
No Public Voices - You don't automatically get access to all public ElevenLabs voices
4.
Voice IDs - Use the voice ID from your ElevenLabs dashboard
Removing BYOK Configuration#
To remove a provider and go back to Flireo's default keys:Security#
API keys are stored securely in Supabase Vault
Keys are never exposed in API responses
Only the vault reference ID is stored in your account
You can rotate keys at any time by adding a new key for the same provider
Modified at 2025-12-31 12:09:16