# Claude Desktop (CC Switch) Setup Guide

Use CC Switch to connect full-capability Claude models to Claude Desktop without signing in to an official Anthropic account.

> API calls incur actual usage charges. We recommend choosing the `Claude | CCMAX | 满血` (full-capability Claude) group or `auto`, and selecting `claude-opus-5-5`, `claude-sonnet-5-5`, or `claude-fable-5-2` as your primary model.

## Prerequisites

Install both applications below (skip any already installed):

- [Download Claude Desktop](https://claude.com/download) (update to the latest version if already installed)
- [Download CC Switch](https://github.com/farion1231/cc-switch/releases)

Launch CC Switch at least once after installation.

## Step 1: Create an API Key

1. Open the [Brioi API Keys page](https://vip.brioi.com/keys).
2. Click **Create API Key** in the top-right corner.
3. Enter `Claude Desktop` as the key name.
4. Set the group to `Claude | CCMAX | 满血` (or `auto`).
5. Leave all remaining settings at their defaults and click **Save Changes**.

If you already have an active key in `Claude | CCMAX | 满血` or `auto`, you can skip creating a new one—or use **CC Switch** one-click import from the action menu on the right side of the key row.

## Step 2: Add Brioi Under Claude Desktop in CC Switch

The left sidebar in CC Switch has two separate targets: **Claude Code** and **Claude Desktop** (identified by a small badge in the bottom-right corner of its icon). Perform all steps below under **Claude Desktop**.

1. Return to the [Brioi API Keys page](https://vip.brioi.com/keys) and copy the key you created (starts with `sk-`).
2. Open CC Switch and select **Claude Desktop** in the left sidebar.
3. Click **Add Provider** (`+`) in the top-right corner and select **Custom Configuration**.
4. Fill in the fields below, leaving unlisted fields at their defaults:

| Setting | Value |
|---|---|
| Provider Name | `Brioi` |
| API Key | Your copied `sk-...` key |
| Request URL | `https://vip.brioi.com` (do **not** append `/v1`) |
| Connection Mode | **Direct** |
| Model List | Leave empty — Claude Desktop fetches available models automatically |

5. Click **Add**.

If you already configured **Claude Code** via Brioi's one-click import and your **Claude Desktop** list is empty, click **Import existing providers from Claude Code** to reuse that configuration without retyping it.

## Step 3: Switch Profile & Restart Claude Desktop

1. Under **Claude Desktop** in CC Switch, find the `Brioi` card and click **Switch**. Once the card badge displays **In Use**, the profile is active.
2. Quit Claude Desktop completely and reopen it. On macOS, press `Cmd + Q`; on Windows, right-click the Claude icon in the system tray and choose **Quit**. Closing the window alone does not terminate the app or apply the configuration.
3. Claude Desktop launches ready to use without asking you to sign in. Pick your desired model from the model menu (for example, `claude-opus-5-5`, `claude-sonnet-5-5`, or `claude-fable-5-2`).

Send a short test prompt first:

```text
Reply with only BRIOI_OK
```

Receiving `BRIOI_OK` confirms the setup is active. This verification call consumes a minimal amount of usage.

When using **Direct** connection mode, you can quit CC Switch after Claude Desktop restarts.

## Troubleshooting

### Claude Desktop still shows the official login screen or `"That key wasn't accepted"`

Claude Desktop's built-in sign-in screen only accepts official Anthropic keys and rejects Brioi keys—do not enter your Brioi key there. Seeing that screen means Claude Desktop has not loaded the CC Switch profile yet. Check each item below:

1. Make sure the provider was added under **Claude Desktop** in CC Switch—profiles added under **Claude Code** do not apply to the desktop app.
2. Verify the `Brioi` card shows **In Use**. If **Claude Desktop Official** shows **In Use**, click **Switch** on the `Brioi` card.
3. Confirm you completely quit Claude Desktop (`Cmd + Q` on macOS or tray **Quit** on Windows) and reopened it after switching.

### Target model does not appear in the model picker

Edit the `Brioi` card under **Claude Desktop** in CC Switch, click **Add Model** under **Model List**, and add the model IDs available to your key (for example, `claude-opus-5-5`, `claude-sonnet-5-5`, `claude-fable-5-2`, or `claude-fable-5`). Save, click **Switch** again, and completely quit and reopen Claude Desktop.

If models still do not appear, update Claude Desktop to the latest release.

### Model unavailable error

Verify that your API key uses the `Claude | CCMAX | 满血` (or `auto`) group and check `GET /v1/models` with that key to inspect its live model list. Other groups may not include every model listed above.

### `401` or `403` error

Confirm that the API key is enabled and check your account balance and group permissions. If you recently edited or rotated the key, update the `Brioi` card in CC Switch with the new key and click **Switch** again.

## Security Reminders

- Never post API keys in group chats, support ticket screenshots, code repositories, or public logs.
- Download CC Switch installers exclusively from its official GitHub Releases page.
- If you suspect a key has been exposed, disable and replace it immediately on the Brioi API Keys page.

