# Cline, Roo Code, Kilo Code

> Use Vikey in the Cline, Roo Code and Kilo Code VS Code extensions through the OpenAI Compatible provider.

All three extensions have an **OpenAI Compatible** provider with the same fields. The menus can move a little between versions, but the four fields stay the same.

## Steps

1. Open the extension's panel in VS Code, then open its **Settings** (the gear icon).

2. Under **API Provider**, choose **OpenAI Compatible**.

3. Fill in:

    | Field | Value |
    | --- | --- |
    | Base URL | `https://api.vikey.ai/v1` |
    | API Key | Your Vikey API key |
    | Model ID | For example `vikey/agent-coding`, `anthropic/claude-sonnet-5.5` or `deepseek/deepseek-v4.1-flash` |

4. Save, then send a short message to check.

## Model settings (optional)

Some versions show a **Model Configuration** section. Fill it in for the model you use:

| Field | Suggestion |
| --- | --- |
| Context window | `1000000` for the Claude, GPT and DeepSeek models on Vikey. Per-model numbers are on the [pricing page](https://vikey.ai/en/pricing). |
| Supports images | Turn on when the model has vision |
| Input and output price | Can stay empty. The real cost is always in the **Usage** menu of the Vikey dashboard. |

These extensions resend the whole history and every tool result at each step. [Vikey Auto](/en/models/vikey-auto/) trims old tool results that no longer matter, so long sessions in these extensions can cost noticeably less.

## Common problems

| What you see | Cause | Fix |
| --- | --- | --- |
| `404` | Base URL without `/v1`, or `/v1` written twice | Enter exactly `https://api.vikey.ai/v1` |
| `Model '...' not found` | A typo in the Model ID | Copy the id from the [pricing page](https://vikey.ai/en/pricing) |
| `402 Insufficient balance` | No balance left | [Top up](/en/account/top-up/) |

Source: https://docs.vikey.ai/en/agents/cline/
