Flight Manual · 03
Model providers
Eight model providers built in, with mid-conversation switching and multi-account support. Configure credentials from your shell with blackbird auth so keys never enter a chat.
Supported providers
When no saved account exists for a provider, Blackbird checks the environment variable below (except OpenAI, which falls back to an existing Codex CLI login).
| Provider | CLI ID | Sign-in & Env Var | Effort Levels |
|---|---|---|---|
| OpenAI DEFAULT | openai |
Browser sign-in, API key, or existing Codex CLI sign-in (does not read OPENAI_API_KEY) |
low, medium, high, xhigh, max |
| Anthropic | anthropic |
API key (blackbird auth key anthropic NAME or ANTHROPIC_API_KEY; Claude subscription sign-in isn't supported) |
Model-dependent |
| Gemini | gemini |
API key or GEMINI_API_KEY |
low, medium, high |
| Kimi / Moonshot | kimi · moonshot |
kimi (api.kimi.com, device sign-in or KIMI_API_KEY) · moonshot (api.moonshot.ai, MOONSHOT_API_KEY) |
low, medium, high |
| Grok (xAI) | grok |
Device sign-in or XAI_API_KEY |
low, medium, high |
| DeepSeek | deepseek |
API key or DEEPSEEK_API_KEY |
low, medium, high |
| MiMo | mimo |
API key or MIMO_API_KEY |
low, medium, high |
| OpenRouter | openrouter |
API key or OPENROUTER_API_KEY (model names include vendor, e.g. anthropic/claude-sonnet-4.6) |
low, medium, high, xhigh, max |
Entries marked decision in blackbird auth providers JSON aren't coding routes and can be ignored.
Managing accounts
blackbird auth providers
blackbird auth status
blackbird auth login kimi personal
blackbird auth key anthropic work
blackbird auth use anthropic work
blackbird auth logout kimi personal
- Multiple accounts per provider: the trailing word names the account (defaults to
default). A newly added account becomes active;useswitches between them. - No secrets in argv:
keyreads from a hidden prompt or stdin only, keeping keys out of shell history. - Browser & device sign-in:
loginprints a browser link for OpenAI, or a link and device code for Kimi and Grok (waiting up to 30 minutes). - Local store: saved in
~/.local/share/blackbird/auth/credentials.bbmwith owner-only permissions (override withBLACKBIRD_AUTH_HOME).logoutremoves the local entry only. Inside a session,/auth statusshows labels and states, never secrets.
Switching models mid-flight
blackbird --provider anthropic --model claude-sonnet-4-6 --effort medium
Changing provider at launch requires --model, and the choice saves with the session. Inside a conversation, run /provider, /model or /effort bare for a picker, or pass a value directly (/provider ID MODEL; omitting the model picks that provider's first suggested model).
Switches typed mid-turn wait until the turn ends. If your saved effort isn't supported by the new route, Blackbird asks before sending a request (for --once runs, pass a supported --effort explicitly).