Integrations

Cline

Route Cline through BitRouter via its OpenAI-compatible provider — every model in the registry, behind one endpoint.

Cline (VS Code / JetBrains) has an OpenAI Compatible provider that takes a base URL, an API key, and a model id. Point it at BitRouter and Cline routes across the whole registry instead of a single vendor.

Prerequisites

  • BitRouter running — local proxy at http://127.0.0.1:4356, or BitRouter Cloud at https://api.bitrouter.ai.

  • Cline installed — search "Cline" in the Extensions panel, or:

    code --install-extension saoudrizwan.claude-dev

Point Cline at BitRouter

Open Cline's settings → API ProviderOpenAI Compatible, then fill in:

  • Base URLhttp://127.0.0.1:4356/v1
  • API Key — any value for the local proxy; your BitRouter key for Cloud
  • Model ID — a registry id such as openai/gpt-4o

Leave the base URL at the host root + /v1 (not /v1/chat/completions) — Cline appends the route itself, and pulls the model list from /v1/models so you can select the id instead of typing it.

For Cloud, set the base URL to https://api.bitrouter.ai/v1 and use your BitRouter key (from bitrouter auth login or the dashboard) as the API key.

Pick a model

The Model ID takes any registry id in provider/model form — openai/gpt-4o, anthropic/claude-sonnet-4-6, google/gemini-2.5-pro — optionally with a :cost or :latency variant. See Models.

Verify

Send a message in Cline and confirm a response. BitRouter's bitrouter-served-by response header tells you which provider actually answered.

Learn more

How is this guide?

On this page