DocsTool guidesCline
Cline
The coding agent for VS Code. Use the OpenAI Compatible provider with the /v1 base URL.
Root URLhttps://intl.acctoken.com+ /v1https://intl.acctoken.com/v1Full paththe whole endpoint, e.g. https://intl.acctoken.com/v1/chat/completions
Before you start
- An ACCTOKEN API key. Create one on API Keys in the console.
- The Cline extension installed in VS Code.
01Connection details
- Format
- OpenAI Chat Completions
- Base URL
https://intl.acctoken.com/v1+ /v1- API key
YOUR_API_KEYin OpenAI Compatible API Key- Model
kimi-k2.7-codetyped into Model ID- Provider
- OpenAI Compatible
02Set it up
- Open Cline in VS Code and open its settings.
- Set API Provider to OpenAI Compatible.
- Enter
https://intl.acctoken.com/v1as Base URL, your key as OpenAI Compatible API Key, andkimi-k2.7-codeas Model ID. - Optional: under Model Configuration, set Context Window Size to the context length on the model’s page. Leave Supports Images off for text-only models.
- Save, then start a task.
Claude models
You can also use the Anthropic provider for Claude models: tick Use custom base URL and enter https://intl.acctoken.com, without /v1.
03Check it works
Start a task that says Reply with exactly: OK. A reply means the provider is set up.
Common problems
Invalid token
Paste the key into OpenAI Compatible API Key again.
No available channel for model … (distributor)
Model ID must match the Models page exactly.
Unexpected token '<', or an HTML page
The base URL is missing /v1.
Long tasks get cut short
Cline did not know the model’s context window. Set Context Window Size under Model Configuration.
Something else? Look up the exact message in Errors.