Cline
Support: pay-as-you-go Xiaoku APIs are supported.
Install the CLI
Node.js 20+ is required (22 recommended).
bash
npm install -g clineCheck: cline --version
Configure
Option 1 (CLI, recommended)
bash
cline auth -p openai -k XIAOKU_API_KEY -b https://api-ai.xiaoku.ai/v1 -m deepseek-v4-proFlags:
-p openai: OpenAI-compatible provider-k: API key-b:https://api-ai.xiaoku.ai/v1-m: model ID
Option 2 (interactive wizard)
Run cline auth and follow the prompts.
Use
Run cline to start. For the older terminal UI, choose Exit, then run cline --tui.
VS Code extension
Search the VS Code marketplace for the Cline extension and install it.
Required settings
- API Provider:
OpenAI Compatible - Base URL:
https://api-ai.xiaoku.ai/v1 - API Key: the XIAOKU_API_KEY for this setup
- Model ID:
deepseek-v4-pro
Optional settings
- Clear Supports Images
- Context Window Size:
1048576 - Temperature:
1.0(adjust for the task)
