Documentation Index
Fetch the complete documentation index at:https://docs.llmrouter.app/llms.txt Use this file to discover all available models, tags, and features before exploring further.
Cline Integration
Cline is a powerful VS Code extension that allows you to use AI models directly in your editor for code generation, file operations, refactoring, debugging, and more. By connecting Cline to LLM Router, you get access to intelligent tag-based routing, automatic Skill injection, aggressive context optimization, Zero Data Retention (ZDR), and significant cost savings.Step 1: Installing the Cline Plugin
- Open VS Code.
- Click the Extensions icon on the left sidebar.
- Search for
clinein the marketplace. - Find and install the Cline extension.
- After installation, trust the developer when prompted.
Step 2: Configuring LLM Router in Cline
- Open the Cline settings panel.
- Select Use your own API Key.
-
Fill in the following configuration:
- API Provider: Select
OpenAI Compatible - Base URL: Enter
https://api.llmrouter.app/v1 - API Key: Paste your LLM Router API key (
sk_llmr_...) - Model: Select “Use custom” and enter any model supported by LLM Router, for example:
anthropic/claude-opus-4.6openai/gpt-5.4google/gemini-3.1-proxai/grok-4.20
- Support Images: Enable if you need multimodal capabilities (depends on the model)
- Context Window Size: Set to
200000or higher (LLM Router handles large contexts efficiently) - Adjust
temperatureand other parameters based on your task
- API Provider: Select
Step 3: Configure Routing Settings via Dashboard
For best results, configure your routing preferences in the LLM Router Dashboard:- Log into your LLM Router Dashboard.
- Go to your API keys.
- Set default tags (e.g.
coding,ui design,testing,copywriting), enable relevant Skills, turn on Zero Data Retention (ZDR), and configure context optimization. - These settings will apply automatically to all requests from Cline.
Step 4: Getting Started
Once configured, you can start using Cline with LLM Router for:- Generating and editing code
- Refactoring and improving existing code
- Explaining complex logic
- Debugging issues
- File creation and project management