Tool guides / Cline

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

On this page
  1. Connection details
  2. Set it up
  3. Check it works
  4. Common problems

Before you start

  • An ACCTOKEN API key. Create one on API Keys in the console.
  • The Cline extension installed in VS Code.

01Connection details

CONNECTION RECORDCLINE
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

  1. Open Cline in VS Code and open its settings.
  2. Set API Provider to OpenAI Compatible.
  3. Enter https://intl.acctoken.com/v1 as Base URL, your key as OpenAI Compatible API Key, and kimi-k2.7-code as Model ID.
  4. 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.
  5. 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

401

Invalid token

Paste the key into OpenAI Compatible API Key again.

404

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.