Integration · Cline

Use Crazyrouter as Cline's OpenAI-compatible provider

Cline talks to any OpenAI-compatible endpoint. Point it at Crazyrouter and run its plan / act loops on Claude Opus, GPT-5 or DeepSeek from one key.

Manual configuration

Cline is the simplest integration on this list: choose OpenAI Compatible, paste three values, start a task. Model ID must match the Crazyrouter model name exactly.

Cline settings (VS Code)

text
API Provider:  OpenAI Compatible
Base URL:      https://api.crazyrouter.com/v1
API Key:       sk-your-crazyrouter-key
Model ID:      claude-opus-4-8

No shell variables needed; everything is entered in the extension's settings panel.

Base URL rule

https://api.crazyrouter.com/v1 — This tool is OpenAI-compatible and appends /chat/completions (or /responses) itself. Use the /v1 base URL exactly as shown.

Recommended models

Live Crazyrouter prices, refreshed hourly. Any model in the catalogue works; these are the ones we'd start with.

FAQ

What goes in Base URL?

https://api.crazyrouter.com/v1 — Cline appends /chat/completions itself.

Claude models keep hitting context limits

Set the context window in Cline's model settings to match the model (200K for Claude 4.x), otherwise Cline truncates too early.

Can I use different models for Plan and Act?

Yes, Cline lets you set a separate provider/model per mode — a cheap model for planning and Opus for acting is a common split.

How do I cap spend?

Create a dedicated token for Cline with a quota limit; Cline's long agent loops are the most likely place to burn credit unexpectedly.