# Cline with Keln
Use Keln models in Cline through its **OpenAI Compatible** provider.
## What you need to start
- Cline installed in your editor.
- A Keln API key. Sign up at [app.keln.ai](https://app.keln.ai), then open **Keys** →
**Create key**.
## Connect Cline to Keln
### 1. Open the Cline settings
Choose **Bring my own API key** and click **Continue**. If you already use Cline, click the gear
icon instead.
### 2. Enter the Keln connection
Set **API Provider** to **OpenAI Compatible**, then fill in:
<div class="kd-fields" markdown>
| Field | Value |
|---|---|
| API Provider | `OpenAI Compatible` |
| Base URL | `https://api.keln.ai/v1`{ .kd-val } |
| OpenAI Compatible API Key | `sk-keln-…`{ .kd-key } your key |
| Model ID | `zai-org/glm-5.3`{ .kd-val } |
</div>
After you enter the base URL and key, **Model ID** lists the Keln models. Choose
`zai-org/glm-5.3`.
Open **Model Configuration** and clear **Supports Images** for a text-only model such as
`zai-org/glm-5.3`.
For long sessions, open **Model Configuration**. Set **Context Window Size** to your model's
context window from [Models & pricing](models-pricing.md).
**Reasoning Effort** controls how long the model thinks. It starts on **None**, and Keln models still
think on that setting. Choose **Low**, **Medium** or **High** to set the depth.
### 3. Start a task
Click **Continue** (or **Done** in Settings) and give Cline a task.
Before your first message, add credit under **Billing** → **Add credit**. Keln returns a `402` error if your balance is empty.
## Models
Cline works with all Keln chat models. See [Models & pricing](models-pricing.md) for the full list,
with each model's context window, image support and pricing.
To switch, choose another model in **Model ID**. The list also holds models that do not chat:
decision, speech, transcription, embedding and rerank models. Leave those unselected.
## Usage
Your Keln **Usage** page shows your spend, tokens, latency and error rate. Keln stores metadata
only ([ZDR](capabilities/privacy.md)).
<figure class="kd-figure kd-figure--bento" markdown>
{ loading=lazy }
</figure>
<div class="kd-figure-cta" markdown>
[Create Keln account](https://app.keln.ai/signup){ .md-button .md-button--primary }
</div>
## Switch back
Open the Cline settings and set **API Provider** to the provider you used before. Cline keeps the
Keln values, so you can return by choosing **OpenAI Compatible** again.
## Where to go next
<div class="grid cards" markdown>
- [OpenAI SDK and compatible clients ↗](api/index.md)
Connect Keln to Python, TypeScript, LangChain, Vercel AI SDK, or curl.
- [Anthropic-compatible API ↗](api/anthropic.md)
Use Keln models with the Anthropic SDK and Messages API.
</div>
## Try Keln
Create a Keln account and API key to run open models in Cline.
[Get an API key](https://app.keln.ai/signup){ .md-button .md-button--primary }
[Models & pricing ↗](models-pricing.md){ .md-button }
Cline with Keln
Use Keln models in Cline through its OpenAI Compatible provider.
What you need to start
Cline installed in your editor.
A Keln API key. Sign up at app.keln.ai, then open Keys →
Create key.
Connect Cline to Keln
1. Open the Cline settings
Choose Bring my own API key and click Continue. If you already use Cline, click the gear
icon instead.
2. Enter the Keln connection
Set API Provider to OpenAI Compatible, then fill in:
Field
Value
API Provider
OpenAI Compatible
Base URL
https://api.keln.ai/v1
OpenAI Compatible API Key
sk-keln-… your key
Model ID
zai-org/glm-5.3
After you enter the base URL and key, Model ID lists the Keln models. Choose
zai-org/glm-5.3.
Open Model Configuration and clear Supports Images for a text-only model such as
zai-org/glm-5.3.
For long sessions, open Model Configuration. Set Context Window Size to your model's
context window from Models & pricing.
Reasoning Effort controls how long the model thinks. It starts on None, and Keln models still
think on that setting. Choose Low, Medium or High to set the depth.
3. Start a task
Click Continue (or Done in Settings) and give Cline a task.
Before your first message, add credit under Billing → Add credit. Keln returns a 402 error if your balance is empty.
Models
Cline works with all Keln chat models. See Models & pricing for the full list,
with each model's context window, image support and pricing.
To switch, choose another model in Model ID. The list also holds models that do not chat:
decision, speech, transcription, embedding and rerank models. Leave those unselected.
Usage
Your Keln Usage page shows your spend, tokens, latency and error rate. Keln stores metadata
only (ZDR).
Open the Cline settings and set API Provider to the provider you used before. Cline keeps the
Keln values, so you can return by choosing OpenAI Compatible again.