# Cline

Run Cline on Boundless models: the OpenAI Compatible provider values, model ids and context settings, a verify step and common errors.


Cline reaches Boundless through its **OpenAI Compatible** API provider, with the base URL `https://api.inference.boundless.network/v1`.

## Install

Install Cline 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 **Cline**:

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

Cline keeps its configuration in the extension's settings. Run `curl -fsSL https://boundless.md/install | sh` and choose **Cline** to see the steps, or follow the ones below.

## Configure

### Cline

Choose **OpenAI Compatible** as the API provider:

```yaml
base_url: https://api.inference.boundless.network/v1
api_key: your-boundless-key
model_id: deepseek/deepseek-v4.1-flash
```

Cline's **Model Configuration** panel sets context window and max output tokens. Its defaults are conservative; the [model lineup](https://inference.boundless.network/models) has the real values.

## 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. The [model lineup](https://inference.boundless.network/models) has the real context and output values.

## Verify

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"
```

Then send a short message in a new session and check that a reply comes back.

## Common errors

| What you see | What it usually is |
| --- | --- |
| `401` on every request | The key in the provider settings is wrong, or the base URL is not `https://api.inference.boundless.network/v1`. |
| An error naming a model you never chose | The harness is sending its default. Set the model explicitly, including any small or background slot. |
| `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.
