Skip to content

Cline Integration

Cline is an open-source autonomous coding agent for VS Code that natively supports the OpenAI Compatible provider mode.

  1. Environment: Install Visual Studio Code (version 1.84+ recommended).
  2. Install Extension: Search for Cline in the VS Code Marketplace (Extension ID: saoudrizwan.claude-dev) and install it.
  3. Obtain API Key: Go to AlphaTech Sign Up & API Keys to generate your API Key (sk-xxxx).
  4. Choose Model: Browse Models and pricing to select an active model (such as deepseek-v4.1-flash, gpt-6-luna, or claude-new-sonnet-5).

Click the Cline icon in the VS Code Activity Bar (left sidebar) to open its panel, then click the gear icon (⚙️) on the top header.

Menu Path: VS Code Activity Bar -> Cline Icon -> Settings (⚙️)

In the API Provider dropdown menu, select OpenAI Compatible.

Enter the following settings in the configuration form:

Field Value Notes
Base URL https://alphatech.net.cn/v1 Must include /v1, as Cline automatically appends /chat/completions
API Key sk-xxxx Your AlphaTech API key
Model ID deepseek-v4.1-flash The exact model ID from the catalog
Base URL: https://alphatech.net.cn/v1
API Key: sk-xxxx
Model ID: deepseek-v4.1-flash

Click Done at the bottom of the settings pane to save changes.

  1. Return to the main Cline chat view.
  2. In the task prompt input box, enter a sample instruction:
Inspect the directory structure of this repository and summarize what kind of project it is.
  1. Press Enter. If Cline generates step-by-step reasoning and streams the answer, and your AlphaTech console log reflects the request, the integration is verified.

Ensure your Base URL includes /v1. It must be https://alphatech.net.cn/v1, not https://alphatech.net.cn.

Check that your API Key is correctly copied with the sk- prefix and that no unexpected whitespace was introduced.

Cline allows typing any model name directly. Verify that the Model ID strictly matches the ID on Models and pricing.


Reference: Cline Official Documentation
Last verified on 2026-11-04

需要进一步了解企业方案,或确认服务状态?