中文

Guides

Use DeepSeek, Qwen, Kimi, GLM in Cline: config guide

Answer

In Cline (VS Code extension or the cline CLI) pick the “OpenAI Compatible” provider and enter the Base URL, API key and model ID; DeepSeek and others also have built-in providers. CLI: cline auth -p openai-compatible -b <base URL> -k <key> -m <model id>; settings go to ~/.cline/data/settings/providers.json. Live-tested: DeepSeek (cline CLI 3.0.72, text calls pass). Other providers are not live-tested and are marked “to be verified”. (source · verified)

Reference price via DeepSeek: DeepSeek V4.1 Flash: blended $0.523 per 1M tokens (official China site). (source · verified)

In Cline (VS Code extension or the cline CLI) pick the “OpenAI Compatible” provider and enter the Base URL, API key and model ID; DeepSeek and others also have built-in providers. CLI: cline auth -p openai-compatible -b <base URL> -k <key> -m <model id>; settings go to ~/.cline/data/settings/providers.json. Official docs

DeepSeek

Cline → OpenAI Compatible

Base URL: https://api.deepseek.com
API Key: <DEEPSEEK_API_KEY>
Model ID: deepseek-flash

Text call passes Tested 2026-10-17 with cline CLI 3.0.72: one text request OK (tool calls not tested).

Official Cline setup for DeepSeek

Provider docs · Pricing

Alibaba Qwen (Model Studio)

No officially documented setup for this tool yet.

Pay-as-you-go uses a Bailian API key (sk-…); Coding Plan uses https://coding.dashscope.aliyuncs.com/apps/anthropic

Provider docs · Pricing

Moonshot AI (Kimi)

Cline → OpenAI Compatible To be verified: assembled from documented generic fields, not run

Base URL: https://api.moonshot.cn/v1
API Key: <MOONSHOT_API_KEY>
Model ID: kimi-k3

Kimi also offers an Anthropic-compatible Messages API (URL not on this page; unverified)

Provider docs · Pricing

Zhipu GLM (Z.ai)

No officially documented setup for this tool yet.

Official route: run Coding Tool Helper; for GLM-5.2 1M context add the env above to ~/.claude/settings.json

Provider docs · Pricing

Field names come from the linked official docs; replace placeholders with your key. Examples marked “to be verified” combine the tool’s documented fields with the provider’s OpenAI-compatible endpoint and were not run.