> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aireserve.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cline

> Connect Cline's VS Code agent to the AI Reserve gateway with one OpenAI Compatible provider entry.

> **[Connect Cline with a guided setup →](https://portal.aireserve.com/connect/cline)**
>
> The guided connect page mints your key, hands you every value to paste,
> lists the model IDs with their context-window and vision details, and
> confirms the moment your first task runs.

Everything below is the manual equivalent.

Cline configures its provider inside VS Code — there is no settings file to
edit, so this is a one-time paste stored in VS Code's secure storage
([Cline's OpenAI Compatible guide](https://docs.cline.bot/provider-config/openai-compatible)).
Open Cline, click the **settings gear** in its panel, and under
**API Configuration** set:

| Field | Value |
| - | - |
| API Provider | `OpenAI Compatible` |
| Base URL | `https://api.aireserve.com/v1` |
| API Key | your `aireserve_api_…` key (the value you would export as `AIRESERVE_API_KEY`) |
| Model ID | `claude-sonnet-4-6` (or any gateway model) |

Claude models work through the same OpenAI Compatible entry — the gateway
bridges them — so one provider entry serves the whole catalog. Cline keeps a
single active model; swap the **Model ID** whenever you like. Any id from
[Models](/models) works, for example:

| Model ID | Context window | Max output | Images |
| - | - | - | - |
| `claude-sonnet-4-6` | 1,000,000 | 128,000 | yes |
| `claude-fable-5` | 1,000,000 | 128,000 | yes |
| `gpt-5.4-mini` | 400,000 | 128,000 | yes |

> [!NOTE]
>
> **Keep the `/v1` suffix on the base URL.** Cline appends `/chat/completions`
> to it — without `/v1` every request 404s.

## Optional: model configuration

Cline's optional **model configuration** fields (context window, max output
tokens, supports images) default conservatively. Set them to the values in the
table above — the guided page shows them per model — if you want Cline's own
context-limit warnings to be accurate on long tasks.

## Verify

Start any task in Cline (for example, "explain this file") with the OpenAI
Compatible provider active and watch it stream. The request appears on your
[usage page](https://portal.aireserve.com/profile) seconds later — metered and
billed to your organization's wallet.

## Forks take the same values

Roo Code and other Cline forks expose the identical OpenAI Compatible provider
fields — reuse the base URL, key, and model IDs above there, or follow the
[Roo Code guide](/connect/roo-code).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.