Use Mistral, OpenRouter and others
Reach providers Bristlenose doesn't build in, from the command line, through any-llm.
Bristlenose reaches providers it doesn’t build in — Mistral, DeepSeek, and hundreds of models through OpenRouter — with any-llm, Mozilla AI’s library for talking to many model providers in one way. It works from the command line; the macOS app uses its built-in providers. Like any cloud provider, it runs the analysis pass only: transcription always happens on your machine.
Before you start
- Bristlenose on the command line, on Python 3.11 or newer. Homebrew, the Snap and Fedora packages include any-llm; with pipx, uv or pip, add it (below).
- An API key for the provider you choose, with credit on the account: Mistral (its free plan allows no API requests; a €10 top-up was enough), DeepSeek ($2 minimum top-up), or OpenRouter.
Add any-llm to your install
Homebrew, the Snap and Fedora packages include it. With pipx or uv, add it to the install you have; --force keeps your settings and keys. If you added [voice], list it too: "bristlenose[voice,any-llm]".
pipx install --force "bristlenose[any-llm]"
uv tool install --force "bristlenose[any-llm]"
For a new install, the same command without --force.
If it isn’t installed, bristlenose configure any-llm prints the command for the way you installed Bristlenose. The Snap and Fedora packages cover Mistral, OpenRouter, DeepSeek and other providers that need no add-on; a provider with an add-on of its own needs pipx or uv.
Choose a model
Bristlenose names a model as provider:model — the provider any-llm should use, a colon, then that provider’s own name for the model.
| I want to use | Model |
|---|---|
| Mistral | mistral:mistral-large-latest — model names in Mistral’s docs |
| DeepSeek | deepseek:deepseek-v4-pro, or the cheaper deepseek:deepseek-flash |
| Hundreds of models with one key (Grok, Llama, Qwen, DeepSeek, Mistral, Claude…) | openrouter: and an id from openrouter.ai/models, for example openrouter:x-ai/grok-4.3 |
| Another provider any-llm supports | <provider>:<model>. The first configure names the add-on that provider needs and prints the command for your install (pipx, uv or pip; the Snap and Fedora packages can’t add one). |
| Claude, ChatGPT, Gemini, Azure OpenAI or Ollama | Use the built-in provider instead: Claude, ChatGPT, Gemini, Azure, Ollama. Bristlenose won’t take these as an any-llm prefix. |
| Claude or Gemini through a company’s AWS, Google Cloud or Azure AI account | Not supported |
Choose a provider’s larger models. Bristlenose asks for long, structured replies, and smaller models more often leave out fields it needs. On the same three interviews, Mistral Large covered nearly the same ground as Claude Sonnet, while Mistral Small found about a quarter of it; DeepSeek V4 Pro came closer than Flash, which also over-extracts. On OpenRouter, pick a model whose page lists structured outputs.
Add the key
- Run
bristlenose configure any-llm. - Enter the model when asked, as
provider:model. To skip the question, set it first:export BRISTLENOSE_ANYLLM_MODEL=mistral:mistral-large-latest. - Paste the provider’s API key when asked. If the provider’s own variable is already set in your shell (
MISTRAL_API_KEY,OPENROUTER_API_KEY,DEEPSEEK_API_KEY…), that key is used instead. - The key is checked with a short request of the kind a run sends — no transcript is sent — then stored in your system credential store (Keychain on macOS, Secret Service on Linux), and any-llm becomes your provider for analysis.
Each provider’s key is stored once. A key set in your shell’s environment takes precedence over the stored one; configure says so when they differ.
Run an analysis
bristlenose run interviews
The run’s first line names the model and where the transcripts go, for example Analysis: mistral:mistral-large-latest via any-llm → Mistral. To check the setup before a run:
bristlenose doctor
To switch between models you have set up, or back to a built-in provider:
bristlenose use deepseek:deepseek-flash
bristlenose use claude
What to expect
- No cost estimate. Bristlenose estimates costs for its built-in providers only. Your provider’s console shows what you spent.
- Thinking is turned off. Some models reason at length before answering, which is billed as output and can run a long interview past Bristlenose’s time limit. Bristlenose asks them not to; a model that insists keeps its own setting.
- Long interviews may be split. If a reply stops at the provider’s output limit, Bristlenose splits the session and asks again. DeepSeek’s limit is low enough that this happens on a long interview; it costs some extra calls, not the session.
- Results vary by model. Every quote links back to its place in the transcript — check the ones you rely on.
Where your transcripts go
The transcript text goes to the provider you named, under your account and that provider’s terms. Through OpenRouter, it goes to OpenRouter, which passes it to the company that hosts the model you picked. Before you send participant data, check the data policy of the provider and model, whether a free plan or free model may use what you send for training, and where the provider is based (DeepSeek is in China). Audio and video are never sent.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
configure says the key was rejected |
Re-copy the key from the provider’s console. If it says the key came from your environment, replace or unset that variable. |
<host>, reached through OpenRouter, is busy |
The model’s host, not your key, is rate-limited. Try again later, or pick another model. Free models are busy most often. |
Mistral is rate-limiting this key on a new account, and waiting doesn’t help |
Mistral’s free plan allows no API requests. Add credit in Mistral’s console. |
| Some sessions come back with no quotes, or “incomplete quotes left out” | The model left out fields Bristlenose needs. Use a larger model. |
any-llm needs Python 3.11 or newer |
Reinstall Bristlenose with a newer Python. |
For how Bristlenose uses a provider and what data is sent, see Cloud or local AI and Privacy and data.