Roo Code
Roo Code (a Cline fork) supports the same two provider modes, and everything routes through your endpoint. Settings live in the extension UI — one-time manual setup, no config file to script.
Required values
Anthropic provider → base URL
OpenAI-compatible provider → base URL
API key: your
https://api.opusgate.dev (no /v1).OpenAI-compatible provider → base URL
https://api.opusgate.dev/v1 (with /v1).API key: your
sk-og-... from the Keys page.Install the extension
One command (or find "Roo Code" in the VS Code marketplace):
Bash
code --install-extension RooVeterinaryInc.roo-cline
Anthropic provider (recommended)
- Open the Roo side panel → gear icon (Settings) → Providers.
- API Provider:
Anthropic. - Enable Use custom base URL →
https://api.opusgate.dev - API Key:
sk-og-... - Model:
claude-opus-4.8or any Claude model from the catalog. - Save and send a test message.
OpenAI Compatible provider
- API Provider:
OpenAI Compatible. - Base URL:
https://api.opusgate.dev/v1 - API Key:
sk-og-... - Model ID: e.g.
claude-sonnet-4.6.
Roo needs native tool calling
Pick a model that supports tool calls — any Claude Opus/Sonnet/Haiku or GPT model qualifies. Budget models without tool-call support won't work in Roo's agent loop.
Troubleshooting
Pricing shows $0 in Roo's UI
Expected — Roo doesn't know OpusGate's prices. Real billing is on the OpusGate side, visible in Transactions.
401 / 402 errors
401 → key mistyped or revoked (Keys); 402 → balance empty (top up). See error codes.