Set up Cline / Roo Code

Open-source coding agents in VS Code. Choose "OpenAI Compatible" and fill in three fields

Steps

  1. Install the extension

    Search the VS Code Extensions view for "Cline" or "Roo Code" and install it. They are separate extensions with separate settings; configure the one you use.

  2. Open the settings

    Cline: click the Cline icon in the activity bar, then the gear ⚙️ at the top right of the panel. Roo Code: click the Roo Code icon, then the gear to reach its provider settings.

  3. Choose OpenAI Compatible and fill in

    Set API Provider to "OpenAI Compatible", then fill in the three fields below.

    • Base URL: https://gpt.cherrychat.org/v1 (End at /v1, without /chat/completions)
    • API Key: sk-your-key
    • Model ID: claude-sonnet-5-5
  4. Adjust Model Configuration

    Expand Model Configuration: set Context Window from the Models page and Max Output Tokens to about 8192; enable Image Support only for vision models. Leave "Use Azure Identity Authentication" (Cline) and other Azure options unticked. If Cline shows a Verify button, click it.

  5. Try it

    Send "list the files in the current folder"; when it starts calling tools, you are connected.

Common pitfalls

Error → cause → fix

What you seeWhyWhat to do
Invalid API Key / 401The key is wrong, has spaces, or was disabledCopy the key again from My Keys and paste it
404 / Connection ErrorBase URL is missing /v1 or includes /chat/completionsChange it to https://gpt.cherrychat.org/v1
Model Not FoundModel ID is misspelled (case or spaces)Copy it from the Models page, e.g. claude-sonnet-5-5
Chat works but tool calls failThe chosen model does not support tool callingSwitch to claude-sonnet-5-5 or gpt-6.1-sol
HTTP 402 or "insufficient balance" (billing_error in Claude format)Your credits cannot cover this call. API calls are paid from credits only; memberships and unlimited plans do not applyTop up any amount in the CherryChat Store, then retry after a few seconds
HTTP 429 Too Many RequestsToo many requests: by default 120 per minute per key and 8 at a time per accountLower the concurrency or requests per second in the tool and wait for the Retry-After seconds; most tools retry on their own

Guide checked 2026-11-02. The tool's screens may change; the official docs win if they differ.

API · API Pricing

Operated by UK Company CHERRYCHAT LTD · Company Number 16096119 · Support WeChat: JsnonoChat · Content is AI-generated — please verify before relying on it

CherryChat

The network is slow. Still loading…