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

# Cline

> Use Kyma as your AI backend in Cline (VS Code agent).

Cline is an autonomous coding agent for VS Code. You can use Kyma's models with Cline via the OpenAI Compatible provider.

## Setup

1. Open Cline in VS Code
2. Click the **settings icon** (⚙️)
3. Select **"OpenAI Compatible"** as the provider
4. Fill in:

| Field        | Value                                                               |
| ------------ | ------------------------------------------------------------------- |
| **Base URL** | `https://kymaapi.com/v1`                                            |
| **API Key**  | Your `ky-` key from [dashboard](https://kymaapi.com/dashboard/keys) |
| **Model ID** | `code` (or `agent`, see [aliases](/guides/model-aliases))           |

5. Click **Save** and start coding!

## CLI Setup

```bash theme={null}
cline auth -p openai -k ky-your-api-key -m code -b https://kymaapi.com/v1
```

## Recommended Models for Cline

| Model               | Alias   | Best For                                                              |
| ------------------- | ------- | --------------------------------------------------------------------- |
| `kimi-k2.6`         | `agent` | **Best for Cline** — strong tool calling, 262K context                |
| `qwen-3-coder`      | `code`  | Best alias for code-focused tasks                                     |
| `qwen-3.6-plus`     | `best`  | Highest quality overall, #1 on Kyma                                   |
| `gemini-2.5-flash`  | `cheap` | Lowest-cost active alias, good for long context                       |
| `deepseek-v4-pro`   | —       | 1M context, top reasoning. Complex refactors and long-codebase tasks. |
| `deepseek-v4-flash` | —       | 1M context, value tier. Everyday completions where speed matters.     |

Get a personalized recommendation:

```bash theme={null}
curl "https://kymaapi.com/v1/models/recommend?agent=cline"
```

See all [model aliases](/guides/model-aliases) for shortcuts.

## Audio Models (optional)

Cline isn't an audio agent, but if you build voice-enabled tooling around it (call summaries, voice notes, podcast transcripts), Kyma's audio aliases drop in like any other model:

* `transcribe` → `whisper-v3-turbo` — 228× realtime speech-to-text
* `audio-understand` → `gemini-3-flash-audio` — scene/tone/music recognition beyond pure transcription

Pair them with `POST /v1/audio/transcriptions` and `POST /v1/audio/understand`. The full audio surface (TTS, music, SFX, voice clone/design) is documented in the [Audio API reference](/api-reference/audio-speech) and [Model Aliases](/guides/model-aliases#audio-aliases).

## Prompt Caching

Prompt caching is automatic. Your system prompt and tool definitions are cached for 5 minutes, reducing costs by up to 90% on subsequent requests. No code changes needed. See [Prompt Caching](/guides/prompt-caching) for details.
