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

# Cline

> 設定 Cline 使用 TokenLab 模型

## 概覽

<Note>
  **類型**：IDE 程式代理

  **主要路徑**：OpenAI 相容 Chat Completions

  **支援級別**：官方供應商路徑
</Note>

[Cline](https://docs.cline.bot/provider-config/openai-compatible) 可在 IDE 設定中加入 OpenAI 相容供應商。

## 設定 TokenLab

1. 從編輯器擴充套件市集安裝 **Cline**，開啟 Cline 面板。
2. 點擊齒輪，將 **API Provider** 設為 **OpenAI Compatible**。
3. 輸入：

| 欄位       | 值                            |
| -------- | ---------------------------- |
| Base URL | `https://api.tokenlab.sh/v1` |
| API Key  | 你的 TokenLab API Key          |
| Model ID | `kimi-k3`                    |

4. 點擊 **Verify**。

`kimi-k3` 的可選進階值為：輸入上限 `1048576`、最大輸出 `131072`，並開啟圖片支援及工具 / Computer Use。

## 驗證

驗證成功後，先要求 Cline 列出工作區檔案且不要修改。若出現 404，請確認 Base URL 以 `/v1` 結尾，且不要加入 `/chat/completions`。模型應寫成 `kimi-k3`，而不是 `kimi/kimi-k3`。
