Cline Integration
Cline is an open-source autonomous coding agent for VS Code that natively supports the OpenAI Compatible provider mode.
Prerequisites
Section titled “Prerequisites”- Environment: Install Visual Studio Code (version 1.84+ recommended).
- Install Extension: Search for
Clinein the VS Code Marketplace (Extension ID:saoudrizwan.claude-dev) and install it. - Obtain API Key: Go to AlphaTech Sign Up & API Keys to generate your API Key (
sk-xxxx). - Choose Model: Browse Models and pricing to select an active model (such as
deepseek-v4.1-flash,gpt-6-luna, orclaude-new-sonnet-5).
Configuration Steps
Section titled “Configuration Steps”1. Open Cline Settings
Section titled “1. Open Cline Settings”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 (⚙️)
2. Select API Provider
Section titled “2. Select API Provider”In the API Provider dropdown menu, select OpenAI Compatible.
3. Configure Connection Parameters
Section titled “3. Configure Connection Parameters”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/v1API Key: sk-xxxxModel ID: deepseek-v4.1-flash4. Save Configuration
Section titled “4. Save Configuration”Click Done at the bottom of the settings pane to save changes.
Verifying the Setup
Section titled “Verifying the Setup”- Return to the main Cline chat view.
- 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.- 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.
Troubleshooting
Section titled “Troubleshooting”1. 404 Not Found
Section titled “1. 404 Not Found”Ensure your Base URL includes /v1. It must be https://alphatech.net.cn/v1, not https://alphatech.net.cn.
2. 401 Unauthorized
Section titled “2. 401 Unauthorized”Check that your API Key is correctly copied with the sk- prefix and that no unexpected whitespace was introduced.
3. Model Not Found
Section titled “3. Model Not Found”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