The same steps work on macOS, Windows, and Linux.
Step 1: Open Cline settings
In Cline’s sidebar, click the gear icon and enter:
Setting Value API Provider OpenAI Compatible Base URL https://routerhub.si/v1API Key Your RouterHub API key Step 2: Choose a model and save
Choose a Chat Completions model in Cline’s Model field. If it’s missing, copy its exact ID from the models and pricing page.
Save, then start a new chat. If Plan and Act have separate settings, use RouterHub in both.
If Cline asks for limits or prices, use the models and pricing page. Ask support if a required value isn’t listed.
Need to install Cline?
Install the official Cline extension from Extensions in VS Code. Open its sidebar to begin.
Check the connection (optional)
When you’re ready to use credits, open an empty project and send this short test:
Reply with OK. Do not read files, run commands, or make edits.
Open RouterHub usage and check that the request appears under the right model. Keep auto-approval off while testing. A text reply checks the connection, not all coding features.
Troubleshooting
A request times out
The documented OpenAI Compatible setup panel does not expose an equivalent configurable request timeout. Do not paste OpenCode timeout fields into VS Code settings. Update Cline and inspect the redacted error and request ID. Use OpenCode or Continue if you need the explicit ten-minute settings shown in their guides. Check Usage before retrying a timed-out request.
Invalid key or a 404
Choose OpenAI Compatible, use your RouterHub key, and copy the catalogue model ID exactly. The base URL ends in /v1, not /chat/completions.
Cline asks for model limits or prices
Use the current values on the models and pricing page. Confirm missing limits with support. Don’t enable images or computer use unless supported.
Plan works but Act does not
Compare the provider, model, and key in both modes. Settings may not carry over.
A task or tool call fails
Check credits, the returned error, and the model’s supported features. Try a smaller task rather than repeated retries. Redact keys from any diagnostics.
Still stuck? Contact support.
Common questions
Does this cover the Cline CLI?
No. These steps are for the VS Code extension. The separate CLI may use different settings.
Does this enable every Cline feature?
No. Matching the API format does not establish image, computer-use, streaming, or agent-tool support. Check those features separately.