IDEs & editors
VS Code — Cline, Roo, Continue
The three big VS Code AI extensions.
All three major VS Code AI extensions have first-class OpenAI-compatible providers. The extension settings are identical on macOS, Linux, and Windows — only the config file paths and keyboard shortcuts differ, noted below.
Install any of them from the Extensions panel (Cmd+Shift+X on macOS, Ctrl+Shift+X on Windows/Linux).
Cline #
Open Cline's settings (gear icon in the Cline panel), and under API Configuration choose the OpenAI Compatible provider:
Base URL: https://api.routerplex.com/v1API Key: sk-... # your RouterPlex keyModel ID: claude-opus-4-8
Cline can't fetch capability metadata from custom endpoints, so if it asks for model info, set the context window to match the catalog (e.g. 1,000,000 for claude-opus-4-8) and enable image support for vision models.
Cline supports separate Plan and Act models — a common setup is claude-opus-4-8 for Plan and claude-sonnet-4-6 for Act.
Roo Code #
Open Roo Code's settings and pick the OpenAI Compatible API provider — same fields as Cline:
Base URL: https://api.routerplex.com/v1API Key: sk-...Model ID: claude-opus-4-8
Roo Code routes different modes to different configuration profiles — create one profile per model and assign e.g. claude-opus-4-8 to Architect, claude-sonnet-4-6 to Code, and claude-haiku-4-5 to Ask to keep costs down.
Continue #
Continue is configured through a YAML file rather than the UI:
- macOS / Linux:
~/.continue/config.yaml - Windows:
%USERPROFILE%\.continue\config.yaml
models:- name: Claude Opus 4.8 (RouterPlex)provider: openaimodel: claude-opus-4-8apiBase: https://api.routerplex.com/v1apiKey: sk-...roles: [chat, edit, apply]- name: Gemini Flash (RouterPlex)provider: openaimodel: gemini-3.5-flashapiBase: https://api.routerplex.com/v1apiKey: sk-...roles: [chat]
Reload the Continue panel after saving and the models appear in its picker.
Tip: create one RouterPlex key per extension with its own budget, so each tool's spend is capped and attributable in your logs.