# 03 · Model Providers

> Canonical HTML: https://multiplayer.tech/blackbird/providers/
> Manual Index: https://multiplayer.tech/blackbird/index.md

Eight model providers are built into Blackbird, 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 and does not read `OPENAI_API_KEY`):

| Provider | CLI ID | Sign-in & Env Var | Effort Levels |
| --- | --- | --- | --- |
| **OpenAI (default)** | `openai` | Browser sign-in, API key, or existing Codex CLI login | `low`, `medium`, `high`, `xhigh`, `max` |
| **Anthropic** | `anthropic` | API key (`blackbird auth key anthropic NAME` or `ANTHROPIC_API_KEY`; Claude subscription sign-in is not supported) | Model-dependent |
| **Gemini** | `gemini` | API key or `GEMINI_API_KEY` | `low`, `medium`, `high` |
| **Kimi / Moonshot** | `kimi` · `moonshot` | `kimi` (`api.kimi.com`, device login 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 are not coding routes.

## Managing Accounts
```bash
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
```
- Keys enter via hidden prompt or `stdin` only (never argv).
- Stored locally in `~/.local/share/blackbird/auth/credentials.bbm` inside an owner-only directory (override with `BLACKBIRD_AUTH_HOME`).
- `logout` removes the local entry only; `/auth status` prints labels only.

## Switching Mid-Flight
```bash
blackbird --provider anthropic --model claude-sonnet-4-6 --effort medium
```
Changing provider at launch requires `--model`. Inside a session, use `/provider`, `/model`, or `/effort` (switches typed mid-turn wait until the turn finishes).
