← Home

How to connect Claude to Roo Code

Configure Roo Code to use Claude models through the Claude API Tech OpenAI-compatible API. The complete setup happens in the VS Code extension welcome flow.

Roo Code is an agentic coding assistant for VS Code. It supports third-party OpenAI-compatible providers, your own API key, and multi-step tasks with tools.

Roo Code status

The official project page says the Roo Code extension shut down on May 15, 2026. This guide applies to an already installed or still available Marketplace version. Cline is an actively supported alternative. Open the Cline guide
1

Install Roo Code

Open Roo Code in the Visual Studio Marketplace, click Install, and confirm the extension installation in VS Code.

Install Roo Code
2

Click Get Started

Open Roo Code from the Activity Bar icon. Click Get Started on the welcome screen to continue to the API provider selection.

3

Choose OpenAI Compatible

Open the API Provider list, type Open in the search field, and select OpenAI Compatible. This mode connects Claude API Tech through a custom Base URL.

4

Enter the Base URL and API key

Enter the Base URL below. Paste the key generated after registering with Claude API Tech into API Key. Never publish or commit your key.

Roo Code → OpenAI Compatible
Base URL: https://api.llm-gate.tech
API Key: sk-cs2-YOUR_API_KEY
5

Click Finish

Review the values and click Finish. Roo Code saves the provider and sends requests through Claude API Tech. If a Model field appears, choose an exact ID from the supported model list.

Ready

Open a new Roo Code chat and send a test prompt. If authentication fails, paste the API key again; for a model error, verify the model ID in the documentation.