Connecting Roo Code
Difficulty 🧩 Medium (VS Code extension) | API format OpenAI compatible | base_url
https://byesu.com/v1
https://byesu.com/v1gpt-5.5Roo Code is an AI coding assistant extension for VS Code (formerly Roo Cline). Point it at byesu — an AI API gateway with OpenAI-compatible and Anthropic-native endpoints — and one key lets you code with Claude, GPT-5.6, Grok, Gemini and more, billed pay-as-you-go with no subscription. Just enter the byesu base URL and your token in its settings.
Before you start
First go to Console → Tokens and create a token (for coding we recommend the Claude or GPT group, see Choosing a group).
Step 1: Install the extension
Open VS Code → Extensions Marketplace (Ctrl/⌘ + Shift + X) → search for Roo Code → install.

Step 2: Configure the endpoint
- Click the Roo Code icon on the left to open it, then click Settings (the gear ⚙️)
- For API Provider, select OpenAI Compatible
- Fill in three things:
- Base URL:
https://byesu.com/v1 - API Key: your
sk-xxxx - Model: enter a model name, such as
claude-opus-4-8orgpt-5.5
- Base URL:

The address ends with /v1
The Base URL must end with /v1 (https://byesu.com/v1). The model name must match the one in the Console exactly.
Roo Code uses the OpenAI-compatible endpoint (
https://byesu.com/v1). byesu also exposes an Anthropic-native/v1/messagesendpoint for clients like Claude Code — see Claude Code CLI Setup.
Step 3: Start using it ✅
Go back to the Roo Code chat box, send a message or ask it to edit a chunk of code. If it works normally, you're connected.
How billing works
Billing is pay-as-you-go per token — no subscription, no monthly plan. Each model's price is expressed as a multiplier relative to its official list price, and the Console shows your live billed price next to the official list price. Top up with USDT or Alipay.
Stuck?
- 401 / invalid token → the Key is wrong or has leading/trailing spaces (details)
- 404 / wrong endpoint → confirm the Base URL is
https://byesu.com/v1(with/v1) - No available channel → the model isn't in your token's group (Choosing a group, details)
- For anything else, see Common errors & fixes
