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 status
Install Roo Code
Open Roo Code in the Visual Studio Marketplace, click Install, and confirm the extension installation in VS Code.
Install Roo Code ↗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.
Welcome to Roo Code!
With a range of built-in and extensible Modes, Roo Code lets you plan, architect, code, debug and boost your productivity like never before.
Get StartedChoose 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.
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.
Base URL: https://api.llm-gate.tech API Key: sk-cs2-YOUR_API_KEY
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.