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:
| Setup | API Provider | Base URL | Best for |
|---|---|---|---|
| OpenAI-compatible | OpenAI Compatible | https://api.siptoken.ai/v1 (with /v1) | gpt-*, grok-4.7, deepseek-v4-pro, kimi-k3.1-pro, glm-5.3, qwen4-max |
| Anthropic | Anthropic | https://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+Xon macOS) to open Extensions, search for Cline and install it. Or open the VS Code Marketplace page. The extension ID issaoudrizwan.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
- Open the Cline panel and click the gear icon at the top right.
- Set API Provider to OpenAI Compatible.
- Set Base URL to
https://api.siptoken.ai/v1. - Paste your key into API Key.
- Enter a model ID in Model ID, such as
gpt-6.1-sol. It must match the SipToken ID exactly. - Leave Use Azure Identity Authentication unchecked.
- 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.
- 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)
- In settings, set API Provider to Anthropic.
- Paste your key into Anthropic API Key.
- Check Use custom base URL and enter
https://api.siptoken.ai. - Pick a Claude model from the Model dropdown.
- 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:
- Open the Roo Code panel and click the gear icon.
- Set API Provider to OpenAI Compatible.
- Set Base URL to
https://api.siptoken.ai/v1, paste your key into API Key, and enter the model ID in Model. - 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
- Start a new task in the Cline or Roo Code panel.
- 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
| Error | Cause and fix |
|---|---|
401, "invalid token", Invalid API Key | Usually the key is wrong or no longer valid. Check it on the Tokens page and copy it again without spaces. |
| 403, mentions quota | Usually your balance or the key's quota is used up. Top up on the Wallet page or raise the key's quota. |
| 404 | Usually /v1 is in the wrong place. OpenAI Compatible needs /v1; the Anthropic custom base URL doesn't. |
503, "no available channel", Model Not Found | Usually the model ID doesn't match a SipToken ID. Fix it to match what GET /v1/models returns. |
| 429 | You'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 format | Tool calling isn't reliable on this model. Try a different model. |
| Context length exceeded | Usually 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 providers | You passed -b with the Anthropic provider in the CLI. Use -p openai-compatible instead. |
| Timeout, 5xx | Usually 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.