Setup wizard

Connect your AI tool.

Pick a tool, your operating system and a model. The steps and snippets below update to match.

1Tool
2Operating system
3Instructions

Connect Cline

Cline talks to any OpenAI-compatible API, so it only needs the base URL, your key and a model ID.

  1. Install the Cline extension. In VS Code open Extensions (Ctrl+Shift+X, or Cmd+Shift+X on macOS) and search for it, or run this in a terminal:
    Terminal
    code --install-extension saoudrizwan.claude-dev
  2. Open the Cline panel from the VS Code side bar and click the gear icon to open its settings.
  3. Set API Provider to OpenAI Compatible, then fill in these fields:
    Cline settings
    Base URL:   https://cheaptokens.pw/v1
    API Key:    YOUR_API_KEY
    Model ID:   claude-sonnet-5-5
  4. Under Model Configuration, set Context Window to 200000 and Max Output Tokens to 8192. Cline can't look these up for a custom model.
  5. Click Verify, then Done, and give Cline a task.
  • In JetBrains IDEs, install Cline from the plugin marketplace. The settings are the same.
  • Cline needs a model that supports tool calling. If a model replies but never edits files, try another one.
  • You can set different models for Plan and Act mode in the same settings screen.

Open the full Cline guide →