Skip to main content

Bring Your Own API Key (BYOAK)

Use your own LLM provider API keys instead of AdaL credits.

Supported Providers

ProviderKey Name
AnthropicANTHROPIC_API_KEY
OpenAIOPENAI_API_KEY
Google AIGOOGLE_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

CommandDescription
/byoakOpen key management dialog
/byoak add <provider> <key>Add an API key

Dialog shortcuts:

  • ↑/↓ Navigate providers
  • e Enable/disable key
  • d Delete key
  • ESC Close

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

ProviderLink
Anthropicconsole.anthropic.com
OpenAIplatform.openai.com
Google AIaistudio.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