Cline
Cline is a VS Code extension that runs a coding agent against an LLM provider. It supports any OpenAI-compatible endpoint.
Configure
- Install the Cline extension from the VS Code marketplace.
- Open the Cline sidebar.
- Click the gear icon, then Settings.
- Under API Provider, pick OpenAI Compatible.
- Fill in:
- Base URL:
https://api.lowrouter.ai/v1 - API Key: your
sk-lr-...token - Model ID: any LowRouter model ID, e.g.
anthropic/anthropic/claude-sonnet-4.5orauto/anthropic/claude-sonnet-4.5.
- Base URL:
- Save and start a task.
Recommended setup
- Separate key for Cline. Cline can burn tokens fast on agentic tasks (read file → think → edit → re-read). A dedicated key with a per-day limit is a cheap insurance policy.
- Pin the route with an explicit model ID for repeatable pricing.
An
auto/ID keeps the model fixed but may serve it from a different provider or region — same output, different per-token price — which can surprise you when you compare daily costs. - Read the diff every time. Cline produces real edits to your workspace. The dashboard’s transaction-detail page shows exactly what was sent (token counts, model, cost) but not the prompt or the response — the source of truth is the diff in your editor.
Troubleshooting
- “Model does not support tools”: not every model exposes tool
use. The model browser tags
tool_use: trueon supported models. Pick one that does — auto-routing never changes which model you get, so it cannot rescue a model that lacks tool support. - “Context window exceeded”: the file or selection you fed the agent is larger than the model’s context. Switch to a longer-context model or trim the context.
- 401: confirm the API key.
- Latency feels off: check the provider field on the transaction detail page. Cline doesn’t expose it; LowRouter does.
