Cline

Cline

Cline is an open source AI coding agent extension for VS Code. It speaks to any OpenAI-compatible endpoint, so it runs on LivRouter with three settings: a base URL, your key, and a model ID.

Setup

  1. Install the Cline extension in VS Code and open the Cline panel.
  2. Open Cline's settings (the gear icon) and set API Provider to OpenAI Compatible.
  3. Set the base URL to https://api.livrouter.com/v1.
  4. Paste a LivRouter key from the API keys page.
  5. Enter a model ID from the model catalog, for example glm-5.3.

Using Claude models through the Anthropic layer

Cline also ships an Anthropic provider with a custom base URL option. If you prefer that path for Claude models, point it at https://api.livrouter.com — without a /v1 suffix — and use a Claude model ID from the Claude family listing.

Verify the setup

Give Cline a small task in an open folder. When the first request succeeds, the call and its model appear in your LivRouter usage logs. Agent tasks consume tokens from prepaid credits like any other request.

Troubleshooting

  • 401 or unauthorized — the key must be a LivRouter key with available credits, and the base URL must end with /v1.
  • Model not found — copy the exact current ID from the catalog; stale IDs stop working when the catalog updates.
  • Tool-use errors on weaker models — Cline relies on tool calling; pick reasoning or coding-oriented models for agent tasks.

See the API quickstart for the underlying request format.