Skip to main content

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.

Kilo Code Integration

Kilo Code is a powerful VS Code plugin with support for MCP (Model Context Protocol). It enables you to generate code, debug, refactor, and manage projects directly within your editor — delivering a faster and more intelligent development experience. Connecting Kilo Code to LLM Router gives you access to intelligent tag-based routing, automatic Skill injection, aggressive context optimization, Zero Data Retention (ZDR), and significant cost savings.
Note: When using LLM Router, always use the main gateway endpoint instead of any provider-specific URLs.

Step 1: Installing the Kilo Code Plugin

1. Open the Extensions Marketplace

  • Launch VS Code
  • Click the Extensions icon on the left sidebar
  • Search for Kilo Code
  • Locate and select the Kilo Code plugin

2. Install the Plugin

  • Click the Install button
  • After installation, trust the developer when prompted

Step 2: Configuring LLM Router in Kilo Code

1. Select API Key Authentication

Choose Use your own API key.

2. Enter Configuration Details

Fill in the following settings:
  • API Provider: Select OpenAI Compatible (or OpenAI if available)
  • 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 supported model, for example:
    • anthropic/claude-opus-4.6
    • openai/gpt-5.4
    • google/gemini-3.1-pro
    • xai/grok-4.20
Recommended Settings:
  • Set a large Context Window Size (e.g. 200000 or higher)
  • Enable Support Images if you plan to use multimodal models
  • Adjust temperature and other parameters according to your workflow
Tip: For best performance, configure your routing rules, tags (e.g. coding, testing, ui design), Skills, and Zero Data Retention (ZDR) directly in the LLM Router Dashboard. These settings will apply automatically to all requests from Kilo Code.

Step 3: Getting Started

Once configured, you can start using Kilo Code with LLM Router for:
  • Code generation and refactoring
  • Debugging and code explanation
  • Project analysis and documentation
  • Database and SQL-related tasks
  • General development assistance