Other Clients & Protocols
Cline / Roo Code
Agent extensions for VS Code, supporting both OpenAI Compatible and Anthropic setups.
Cline and Roo Code have similar settings. The examples below use Cline. Use Anthropic for Claude models or OpenAI Compatible for GPT and other models.
1Open extension settings
Open Cline or Roo Code in the VS Code sidebar, click the settings gear, and find the API Provider dropdown.
2Option 1: OpenAI Compatible
Set API Provider to OpenAI Compatible and enter:
YOUR_API_KEY in the examples is a placeholder and will not work as copied. Sign in to pick one of your keys and fill it into every example on this page.
Sign in to fill in keyhttps://api.keyvia.cc/v1Include /v1
YOUR_API_KEYReplace with the key created in the console
gpt-5Use the model catalog
3Option 2: Anthropic
Set API Provider to Anthropic and enable Use custom base URL and enter:
YOUR_API_KEYReplace with the key created in the console
https://api.keyvia.ccRoot URL, without /v1
claude-sonnet-5-5Use the model catalog
Select the matching Claude model. Its name must match the Model catalog.
4Verify
Click Done to save, then send a message to verify the connection.
Roo Code supports separate provider profiles for Code, Architect, and Ask modes. You can use the same URL and change only the model.
For errors, see Error codes. A 404 in OpenAI Compatible mode often means /v1 is missing.