Cline / Roo Code

Add your SipToken key to Cline or Roo Code and code with SipToken models.

Before you start

  • A SipToken key in the Official group. If you don't have one yet, see Quickstart.
  • Pick one of two setups:
SetupAPI ProviderBase URLBest for
OpenAI-compatibleOpenAI Compatiblehttps://api.siptoken.ai/v1 (with /v1)gpt-*, grok-4.7, deepseek-v4-pro, kimi-k3.1-pro, glm-5.3, qwen4-max
AnthropicAnthropichttps://api.siptoken.ai (no /v1)claude-*
  • The model must support tool calling. Cline and Roo Code use tool calls to read and write files and run commands. Roo Code only uses native tool calling, so models without it are mostly unusable.

Roo Code is no longer updated. Its repository was archived in May 2026 and it has been removed from the VS Code Marketplace. The last release, 3.54.0, is still on Open VSX. For new installs we recommend Cline. If you already have Roo Code, follow the Roo Code section below.

Install

Cline

  • VS Code: press Ctrl+Shift+X (Cmd+Shift+X on macOS) to open Extensions, search for Cline and install it. Or open the VS Code Marketplace page. The extension ID is saoudrizwan.claude-dev.
  • Editors such as Cursor, Windsurf and VSCodium: install from Open VSX.
  • JetBrains IDEs: install from the JetBrains Marketplace.
  • CLI: needs Node.js 20 or later, 22 recommended.
npm install -g cline

Roo Code

Install from Open VSX. If VS Code can't find it, download the .vsix file from the Open VSX page, then choose Install from VSIX in the ... menu at the top right of the Extensions view.

Configure

Both the Cline and Roo Code extensions are configured in the extension's settings screen and don't read environment variables. The steps are the same on macOS and Windows. For the CLI, see "Cline CLI" below.

Cline: OpenAI-compatible

  1. Open the Cline panel and click the gear icon at the top right.
  2. Set API Provider to OpenAI Compatible.
  3. Set Base URL to https://api.siptoken.ai/v1.
  4. Paste your key into API Key.
  5. Enter a model ID in Model ID, such as gpt-6.1-sol. It must match the SipToken ID exactly.
  6. Leave Use Azure Identity Authentication unchecked.
  7. Expand Model Configuration and fill in Max Output Tokens and Context Window Size from the model list. Check Image Support if the model accepts images. Leave Computer Use unchecked.
  8. If you want Cline to estimate costs, enter the model's input and output prices in Input Price and Output Price. Actual charges are what the console shows.

Cline: Anthropic (Claude models)

  1. In settings, set API Provider to Anthropic.
  2. Paste your key into Anthropic API Key.
  3. Check Use custom base URL and enter https://api.siptoken.ai.
  4. Pick a Claude model from the Model dropdown.
  5. For extended reasoning, check Enable Extended Thinking.

Cline CLI

One command sets the provider, key, model and Base URL.

macOS / Linux:

cline auth -p openai-compatible -k "$SIPTOKEN_API_KEY" -m gpt-6.1-sol -b https://api.siptoken.ai/v1

Windows PowerShell:

cline auth -p openai-compatible -k $env:SIPTOKEN_API_KEY -m gpt-6.1-sol -b https://api.siptoken.ai/v1

Running cline auth on its own starts an interactive setup. Choose OpenAI Compatible and fill in each field.

In the CLI, -b only works with the OpenAI and OpenAI-compatible providers, so you can't change the Anthropic Base URL. To use a Claude model in the CLI, set -m to claude-sonnet-5-5 and stay on OpenAI-compatible.

Roo Code

The steps are almost the same as Cline:

  1. Open the Roo Code panel and click the gear icon.
  2. Set API Provider to OpenAI Compatible.
  3. Set Base URL to https://api.siptoken.ai/v1, paste your key into API Key, and enter the model ID in Model.
  4. Fill in Max Output Tokens and Context Window from the model list. Check Image Support if needed. Leave Computer Use unchecked.

For Claude models, set API Provider to Anthropic, check Use custom base URL and enter https://api.siptoken.ai.

Verify

  1. Start a new task in the Cline or Roo Code panel.
  2. Send Reply with exactly: ok.

If it returns ok, you're connected. The request also shows up in the usage logs in the console.

CLI:

cline "Reply with exactly: ok"

If it fails, test the key itself with the curl commands in Quickstart. If curl works and the extension doesn't, the problem is in the extension's settings.

Common errors

ErrorCause and fix
401, "invalid token", Invalid API KeyUsually the key is wrong or no longer valid. Check it on the Tokens page and copy it again without spaces.
403, mentions quotaUsually your balance or the key's quota is used up. Top up on the Wallet page or raise the key's quota.
404Usually /v1 is in the wrong place. OpenAI Compatible needs /v1; the Anthropic custom base URL doesn't.
503, "no available channel", Model Not FoundUsually the model ID doesn't match a SipToken ID. Fix it to match what GET /v1/models returns.
429You've hit 120 requests per minute. One task sends many requests in a row. Wait a moment and retry.
The model doesn't call tools, or replies in the wrong formatTool calling isn't reliable on this model. Try a different model.
Context length exceededUsually Context Window Size is set higher than the model supports. Lower it to match the model list.
base URL is only supported for OpenAI and OpenAI-compatible providersYou passed -b with the Anthropic provider in the CLI. Use -p openai-compatible instead.
Timeout, 5xxUsually a temporary failure. Retry, and check the status page.

FAQ

Which setup should I use?

Use Anthropic for Claude models and OpenAI Compatible for everything else. If you use both, switch API Provider in settings when you change models.

How do I switch models?

With OpenAI Compatible, change Model ID. With Anthropic, pick another model from the Model dropdown. Cline can use a different model for Plan mode and Act mode.

The cost Cline shows doesn't match what I was charged

Cline estimates cost from the prices you entered in Model Configuration, and shows 0 if you left them empty. Actual charges are in the usage logs in the console.

Can I still use Roo Code?

An existing install keeps working with the setup above, but it won't get updates. For new installs we recommend Cline, which has almost the same settings.

No key yet?Sign up and top up, then create one on the Tokens page in the console.
Create one in the console →