Set up ChatGPT
Connect Bristlenose to ChatGPT for the analysis pass.
ChatGPT (OpenAI) runs the analysis pass — speaker identification, quote extraction, and thematic grouping. Transcription always happens locally and does not use the provider.
Before you start
- An OpenAI account.
- Credit on the account. New API accounts use prepaid billing, and the minimum purchase is US$5, according to OpenAI’s prepaid billing page. Buy credit on the billing overview.
- API access is separate from a ChatGPT Plus subscription, and is billed separately.
Get an API key
- Sign in at platform.openai.com.
- Open API keys and create a key.
- Copy it. OpenAI shows the key only once.
Set a spend limit
OpenAI lets you set spend alerts and a hard monthly limit on the limits page. A hard limit stops requests once it is reached, so read OpenAI’s spend limits guide before turning one on.
Add the key to Bristlenose
macOS app
- Open Settings (⌘,) and go to the LLM tab.
- Select ChatGPT and paste your key into the API Key field.
- The key is validated in the background and stored in your macOS Keychain.
Command line
- Run
bristlenose configure chatgpt. - Paste the key when prompted.
- The key is validated with a single test call and stored in your system credential store — Keychain on macOS, Secret Service on Linux.
On the command line, Bristlenose looks for the key in the BRISTLENOSE_OPENAI_API_KEY environment variable (or the plain OPENAI_API_KEY), then a .env file, then the system credential store. So a key left set in your shell wins over the one you stored with bristlenose configure.
Run an analysis with ChatGPT
Select ChatGPT with the --llm flag:
bristlenose run interviews --llm chatgpt
The default model is gpt-4o. Confirm the key works with bristlenose doctor.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
Invalid API key |
Re-copy the key from platform.openai.com/api-keys. |
| A run fails with a billing or credit error | Add credit on the billing overview. The balance can take a few minutes to update. |
For what is sent to the provider, see Cloud or local AI and Privacy and data.