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

# Cline

> Connect the Cline editor extension to derestricted.ai.

Choose Cline's OpenAI-compatible provider to use `derestricted-llm` in your editor.

## Before you start

[Install Cline](https://docs.cline.bot/getting-started/installing-cline) and create an API key in the [console](https://derestricted.ai/console/). New verified accounts receive \$5 in starting credit.

## Configure the provider

Open Cline's settings using its gear icon. Enter these values under the API provider settings:

| Setting           | Value                            |
| ----------------- | -------------------------------- |
| API Provider      | OpenAI Compatible                |
| Base URL          | `https://api.derestricted.ai/v1` |
| API Key           | Your derestricted API key        |
| Model ID          | `derestricted-llm`               |
| Max Output Tokens | `8192` as a starting value       |
| Image Support     | Off                              |
| Computer Use      | Off                              |

The provider, URL, key, and model fields follow Cline's [OpenAI-compatible configuration](https://docs.cline.bot/provider-config/openai-compatible). Enter the model ID manually if the picker only shows compatibility aliases. If your Cline version has separate provider settings for Plan and Act, configure both.

The output setting above is a practical starting point, not the gateway's maximum. Review [request limits](/api/introduction) before increasing it. Do not enable image or computer-use capabilities for this text endpoint.

## Try a task

Save the settings, open a project, and ask Cline to explain a small file. Once the connection works, ask for a focused change and review the proposed edits and commands.

## If something fails

* **Invalid key:** copy a current key from the console. A revoked key cannot be reused.
* **Wrong endpoint:** the base URL ends in `/v1`; do not append `/chat/completions` in Cline's base URL field.
* **Tool or context errors:** reduce the attached files and active tools. Large tool definitions count toward request limits.
* **Credits or throttling:** check your [balance](https://derestricted.ai/console/) and [API error guidance](/api/errors).
