Skip to content

Connecting Roo Code

Difficulty 🧩 Medium (VS Code extension) | API format OpenAI compatible | base_url https://byesu.com/v1

Setup · fill these in
API addresshttps://byesu.com/v1
API keysk-xxxxxxxxCreate in console →
Modelgpt-5.5
API format OpenAI compatible · model names follow the console

Roo 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.

Install Roo Code

Step 2: Configure the endpoint

  1. Click the Roo Code icon on the left to open it, then click Settings (the gear ⚙️)
  2. For API Provider, select OpenAI Compatible
  3. 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-8 or gpt-5.5

Fill in the endpoint

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/messages endpoint 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

Got a problem? Contact support or join our group.