# Cherry Studio

Use Boundless in Cherry Studio: the provider settings, the API address without /v1, the setup wizard and common errors.


Cherry Studio reaches Boundless through an OpenAI provider added under **Settings → Model Provider**.

## Install

Install Cherry Studio from its own documentation first. Then pick one way to point it at Boundless.

Run this in a terminal on macOS or Linux and choose **Cherry Studio**:

```bash
curl -fsSL https://boundless.md/install | sh
```

Cherry Studio keeps its configuration in the app, not in a file, so setup prints the steps instead of writing them. Run `curl -fsSL https://boundless.md/install | sh` and choose **Cherry Studio** to see the steps, or follow the ones below.

## Configure

### Cherry Studio

**Settings → Model Provider → Add Provider**, endpoint type **OpenAI**:

```yaml
api_address: https://api.inference.boundless.network
api_key: your-boundless-key
model: deepseek/deepseek-v4.1-flash
```

Enter the API address without `/v1`. Cherry appends the version path itself, so pasting `/v1` doubles it. It leaves a host alone if the host already carries a version path or ends in `#`.

Saving the provider opens a setup wizard: it takes the key, then lists what `GET /v1/models` returns under **Choose models**. Select all of them so the whole lineup appears in every picker; the model above is only the one to start on. **Verify and enable** makes one request against a selected model and switches the provider on; skip that check and the provider stays off until you enable it by hand.

Only chat follows this provider. **Settings → Default Model** holds **Default Assistant Model** and **Quick Model** (used for conversation naming and keyword extraction), and translation keeps its own model in the translate panel. Point all three at a model here, or they go on asking for a provider you have not configured.

Cherry Studio 2.x keeps providers, models and preferences in SQLite (`~/Library/Application Support/CherryStudio/Data/cherrystudio.sqlite` on macOS) rather than a config file, and there is no CLI. Nothing in it expands an environment variable, so the key is stored in that database as plaintext; it cannot hold a `BOUNDLESS_API_KEY` reference. Quit the app before editing the file: it holds the database open and writes back what is already in memory.

For a check without clicking, **Code Mate → Unified Gateway** hosts a local OpenAI-compatible server on `127.0.0.1:23333` that routes through the provider you just configured. `GET /v1/models` there lists your models as `<provider-id>:<model-id>`, and a chat completion with one of them exercises the whole path. It needs the app running, and its own key rather than yours.

## Model ids

The examples use `deepseek/deepseek-v4.1-flash`. Use any id from `GET https://api.inference.boundless.network/v1/models`; the [models page](https://inference.boundless.network/models) lists each one with its price and limits.

## Verify

Click **Verify and enable** in the wizard, which makes one request against a selected model.

To check the base URL and key on their own, list the models the gateway serves. A list of models means both are right. A `401` means the key is missing or wrong:

```bash
curl https://api.inference.boundless.network/v1/models -H "Authorization: Bearer YOUR_API_KEY"
```

## Common errors

| What you see | What it usually is |
| --- | --- |
| `401` on every request | The key in the provider is wrong. |
| Requests go to a doubled path | The API address has `/v1` on it. Enter it without `/v1`, because Cherry appends the version path itself. |
| The provider stays off | The **Verify and enable** check was skipped. Enable the provider by hand. |
| `403` with `model_not_allowed` | Your team admin has not enabled that model for you. Ask them, or pick another. See [Model access](https://inference.boundless.network/docs/teams#model-access). |

Every status and code is on the [Errors](https://inference.boundless.network/docs/errors) page. Other harnesses are on the [Coding Agents & Harnesses](https://inference.boundless.network/docs/coding-agents-and-harnesses) page.
