OpusGate

Cline

Cline is an autonomous coding agent for VS Code that speaks both the Anthropic and OpenAI protocols — and unlike Cursor, everything it does routes through your endpoint. Settings live in the extension's own UI (no config file to script), so it's a one-time manual setup.

Required values
Anthropic provider → base URL 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 "Cline" in the VS Code marketplace):

Bash
code --install-extension saoudrizwan.claude-dev

Recommended: Anthropic provider

Native protocol for Claude models — better streaming and prompt-caching behaviour.

  1. Open the Cline side panel → gear icon (Settings) → API Configuration.
  2. API Provider: Anthropic.
  3. Enable Use custom base URL and enter https://api.opusgate.dev.
  4. Anthropic API Key: sk-og-...
  5. Model: claude-opus-4.8 — or any Claude model from the catalog.
  6. Save. Send a short message to confirm it responds.

Alternative: OpenAI Compatible

Use this if you want non-Claude models from the catalog.

  1. API Provider: OpenAI Compatible.
  2. Base URL: https://api.opusgate.dev/v1
  3. API Key: sk-og-...
  4. Model ID: exact ID from the catalog, e.g. claude-sonnet-4.6.

Troubleshooting

401 right after setup

Check the key for stray spaces and make sure the base URL matches the provider mode: no /v1 for Anthropic, with /v1 for OpenAI Compatible. Full list on the error codes page.

Costs in Cline's UI look wrong

Cline estimates cost from public list prices — it can't see OpusGate pricing. Real spend is in your Transactions.

Long tasks stop mid-way

Usually an exhausted balance — Cline burns tokens fast in agent mode. Check your balance before long runs.

← PreviousCursorNext →Roo Code