> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-reform-ai-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Anthropic

> Connect an Anthropic API key and select Claude models for Bruno AI.

<Note>
  Bruno AI is available from **v4.0.0** and higher. Turn it on under
  **Preferences → AI → Configuration** before configuring a provider.
</Note>

Bruno connects directly to Anthropic using your API key. AI requests are not routed through Bruno servers.

## Before you begin

You need an Anthropic API key. Create or manage keys in the [Anthropic Console](https://console.anthropic.com/settings/keys).

<Warning>
  A Claude web subscription and Anthropic API usage are billed separately. Make
  sure your Anthropic Console account has API access and sufficient credits.
</Warning>

## Connect Anthropic

1. Open **Preferences** from the bottom-left corner of Bruno.
2. Go to **AI → Configuration**.
3. Turn on **AI Features** if it is not already enabled.
4. Under **Providers**, expand **Anthropic**.
5. Enter your Anthropic **API Key**.
6. Click **Save**.
7. Toggle the **Anthropic** provider on.

After the key is saved, Bruno masks it in the interface.

<img src="https://mintcdn.com/bruno-a6972042-reform-ai-docs/uYi087gw4-8Kf_Id/images/screenshots/v4/ai/ai-provider-anthropic.webp?fit=max&auto=format&n=uYi087gw4-8Kf_Id&q=85&s=ae2408c2fce058655a96c6c2d78ff439" alt="Anthropic provider expanded in Preferences with a saved API key, a successful connection test, and the Claude model checkboxes" width="2652" height="1710" data-path="images/screenshots/v4/ai/ai-provider-anthropic.webp" />

<Warning>
  **Bruno never stores your API keys.**

  The keys stay on your machine and are not written to collections or Git. Bruno saves them locally in the same application-data folder as `preferences.json`, and they never leave your machine except when Bruno talks to the provider you configured.

  * macOS: `~/Library/Application Support/bruno/`
  * Windows: `%APPDATA%\bruno\`
  * Linux: `~/.config/bruno/`
</Warning>

## Select Claude models

In the expanded Anthropic provider, use the checkboxes under **Models** to choose which Claude models are available in Bruno.

The available defaults include:

* **Claude Opus 4.7**
* **Claude Sonnet 4.6**
* **Claude Haiku 4.5**

Enabled models appear in model pickers for the AI Assistant and generation features. You can also select a model for inline autocomplete under **Preferences → AI → Autocomplete**.

<img src="https://mintcdn.com/bruno-a6972042-reform-ai-docs/uYi087gw4-8Kf_Id/images/screenshots/v4/ai/ai-provider-anthropic-model-picker.webp?fit=max&auto=format&n=uYi087gw4-8Kf_Id&q=85&s=14b665b211a67d1745fee85a6732018d" alt="AI Assistant model picker listing the enabled Claude models" width="2652" height="1710" data-path="images/screenshots/v4/ai/ai-provider-anthropic-model-picker.webp" />

<Tip>
  Use a faster model such as Haiku for inline autocomplete and a more capable
  model such as Sonnet or Opus for chat, debugging, and generating complete
  scripts or tests.
</Tip>

## Test the connection

After enabling the provider, click **Test connection** (the bolt icon) next to the saved API key.

* **Connection successful** means Bruno can authenticate with Anthropic.
* If the test fails, review the error and check the troubleshooting steps below.

## Replace or remove the API key

Expand **Anthropic**, then use:

* **Replace key** (pencil icon) to save a different key
* **Remove key** (trash icon) to delete the saved key

Removing the key disables access to Anthropic until another valid key is saved.

## Troubleshooting

### Authentication failed

Confirm that the complete API key was copied from the Anthropic Console without leading or trailing spaces. Replace it in Bruno if the key was revoked or rotated.

### Credit or rate-limit error

Check usage limits, credits, and billing in the Anthropic Console. Try again after the reported rate-limit window if the account has reached a temporary limit.

### Models do not appear

Make sure:

1. The API key has been saved.
2. The Anthropic provider is enabled.
3. At least one Claude model is selected under **Models**.

### AI features remain unavailable

Confirm that the main **AI Features** toggle is enabled under **Preferences → AI → Configuration**.

## Next steps

* [Connect OpenAI](/ai/bruno-ai/openai)
* [Connect a custom AI provider](/ai/bruno-ai/custom-providers)
* [Configure autocomplete and security](/ai/bruno-ai/configuration)
* [Use Bruno AI](/ai/bruno-ai/usage)
