Skip to main content

Cline

Overview​

Cline is an autonomous coding agent extension for VS Code that reads files, runs commands, and edits code inside the editor. It uses "OpenAI Compatible" as the provider type to connect to any compatible service, so TokenPlus's API can be dropped straight into Cline's config.

Installation​

  1. Open VS Code and go to the Extensions market (Ctrl+Shift+X / Cmd+Shift+X)
  2. Search Cline and install "Cline - Autonomous Coding Agent"
  3. Click the Cline icon in the left activity bar to open the panel

Configure TokenPlus​

In Cline settings, choose API Provider as OpenAI Compatible, and fill in the TokenPlus /v1 address, key, and model name.

# Cline API config (OpenAI Compatible)
API Provider : OpenAI Compatible
Base URL : https://tokenplus.net/v1
API Key : sk-your-TokenPlus-key
Model : e.g. gpt-4o, claude-sonnet-4-6
tip

Click the gear at the top right to open settings and choose OpenAI Compatible; changes take effect after saving, no VS Code restart needed. Some enterprise editions pre-set the Base URL via admin, and you only need to enter the Key.

Quick start (up and running in 5 minutes)​

  1. Install the Cline extension in VS Code and open the panel
  2. Settings → API Provider choose OpenAI Compatible
  3. Base URL https://tokenplus.net/v1, paste the TokenPlus key, fill in the model name
  4. In the chat box type "Write Hello World in Python and explain it" to verify

FAQ​

  • Invalid API Key? Copy the Key completely, no leading/trailing spaces; regenerate if needed
  • Base URL with or without /v1? Cline's OpenAI Compatible fills up to /v1
  • Connection timeout? Check network / proxy; enterprise environments may need a VPN or firewall allowlist
Online Service