Roo Code is a VS Code AI coding extension. To connect BetterToken, choose the OpenAI Compatible provider and use a model ID from the Codex group.Documentation Index
Fetch the complete documentation index at: https://docs.bettertoken.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- VS Code installed
- BetterToken API Key (register here (
https://www.bettertoken.ai/register))
Install Roo Code
Open VS Code, search for Roo Code in the extensions marketplace, and install it.Setup
Configure the API provider
Fill in:
- API Provider →
OpenAI Compatible - Base URL →
https://www.bettertoken.ai/v1 - API Key → your BetterToken API Key
- Model → a Codex group model ID copied from the model plaza (
https://www.bettertoken.ai/pricing)
Only configure extra headers when the official docs explicitly require them
The official Roo Code material we checked focuses on OpenAI-compatible or custom API setup, but it does not treat an extra
User-Agent as a required BetterToken step.If you are also using a custom gateway, tenant routing, observability, or caching layer, add headers only according to that upstream service’s official docs.Roo Code’s OpenAI Compatible provider still depends on OpenAI-style tool calling. If you need extra headers, follow the current Roo Code docs or your upstream gateway requirements instead of assuming
User-Agent is mandatory for BetterToken.