Bring Your Own API Key (BYOAK)
Use your own LLM provider API keys instead of AdaL credits.
Supported Providers
| Provider | Key Name |
|---|---|
| Anthropic | ANTHROPIC_API_KEY |
| OpenAI | OPENAI_API_KEY |
| Google AI | GOOGLE_API_KEY |
Quick Start
/byoak add anthropic sk-ant-your-key-here
That's it. Your Anthropic usage now bills directly to your API key.
Commands
| Command | Description |
|---|---|
/byoak | Open key management dialog |
/byoak add <provider> <key> | Add an API key |
Dialog shortcuts:
↑/↓Navigate providerseEnable/disable keydDelete keyESCClose
How It Works
When you add an enabled API key:
- AdaL connects directly to the provider (no proxy)
- Usage bills to your API key
- No AdaL credits consumed for that provider
When disabled or missing:
- AdaL uses the proxy
- Usage bills to your AdaL credits
Per-Provider Billing
Each provider is independent. You can:
- Use your own Anthropic key
- Use AdaL credits for OpenAI
- Mix and match as needed
Get Your API Keys
| Provider | Link |
|---|---|
| Anthropic | console.anthropic.com |
| OpenAI | platform.openai.com |
| Google AI | aistudio.google.com |
Security
- Keys stored locally in
~/.adal/settings.json - Never logged or transmitted (except to provider)
- Masked in UI display
Related: Slash Commands · Keyboard Shortcuts