# How to integrate RouterLink in VS Code (Continue plugin)

{% hint style="info" %}
This documentation is provided for informational purposes only and demonstrates how to configure and use our API with third-party AI chat interfaces. Any third-party software, websites, or services mentioned are not operated, controlled, or endorsed by us.
{% endhint %}

This section demonstrates how to integrate RouterLink into Visual Studio Code using the Continue plugin as an example.

The Continue plugin is an AI coding assistant extension that **supports** **OpenAI-compatible APIs**, allowing RouterLink models to be connected directly inside the editor for code completion, chat, and coding assistance.

**Step1:** Open VS Code software.

**Step2: Click the Extensions button** in the VS Code sidebar.

<figure><img src="/files/zTulUIWJOLC3NaxCHppz" alt=""><figcaption></figcaption></figure>

**Step3:** Search for the **Continue plugin** and **click the "Install" button** on the right to install it.

<figure><img src="https://docs.world3.ai/world3/~gitbook/image?url=https%3A%2F%2F1299308320-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fz14Y82ikqf3KozqsiU9D%252Fuploads%252FsTr2z9fyyhUWrELfuwBZ%252Fimage.png%3Falt%3Dmedia%26token%3D7a990eb9-5818-4522-81b5-4582cc6a2ebf&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=1b980859&#x26;sv=2" alt=""><figcaption></figcaption></figure>

**Step4: Click the "Continue" icon** on the sidebar to launch.

<figure><img src="https://docs.world3.ai/world3/~gitbook/image?url=https%3A%2F%2F1299308320-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fz14Y82ikqf3KozqsiU9D%252Fuploads%252FJHN0kS3o89uTAZWQ5vwN%252Fimage.png%3Falt%3Dmedia%26token%3De0ec44c5-de00-4244-9536-509776015123&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=e91aadb0&#x26;sv=2" alt=""><figcaption></figcaption></figure>

**Step5: Click the "settings" button in the upper right** corner to navigate to the Configs list.

**Step6: Click the "settings" icon** **to the right of Local Config** to open the **config.json file** for configuration.（If you are opening **a config.ymal file,** please carefully review **Step 7.**）

<figure><img src="/files/0fLeZvT4hgG6mQhgFWGy" alt=""><figcaption></figcaption></figure>

**Step7: Configure the corresponding model parameters, as shown in the image below.**

These parameters must be completely identical; otherwise, the model will not take effect. To configure multiple models, simply add them to this configuration file.**In the apiKey section below**, paste the API key you obtained in the previous step (Press **Ctrl + F** to find `${API_KEY}`, then **replace all**), making sure it is enclosed in double quotation marks. (Here will display the configuration files for all models.).

```yaml
name: Local Config
version: 1.1.0
schema: v1
models:
- name: DeepSeek - V3.2 - Exp
  provider: openrouter
  model: world3-router-north-america/deepseek/deepseek-v3.2-exp
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: DeepSeek - V3.1
  provider: openrouter
  model: world3-router-north-america/deepseek/deepseek-chat-v3.1
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Gemini 3 Flash Preview
  provider: openrouter
  model: world3-router-north-america/google/gemini-3-flash-preview
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Gemini 3.1 Pro Preview
  provider: openrouter
  model: world3-router-north-america/google/gemini-3.1-pro-preview
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Grok 4
  provider: openrouter
  model: world3-router-north-america/x-ai/grok-4
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Grok 4.1 Fast
  provider: openrouter
  model: world3-router-north-america/x-ai/grok-4.1-fast
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Grok Code Fast 1
  provider: openrouter
  model: world3-router-north-america/x-ai/grok-code-fast-1
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: GPT - 5.3 - Codex
  provider: openrouter
  model: world3-router-north-america/openai/gpt-5.3-codex
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: GPT - 5.4
  provider: openrouter
  model: world3-router-north-america/openai/gpt-5.4
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Claude Sonnet 4.6
  provider: openrouter
  model: world3-router-north-america/anthropic/claude-sonnet-4.6
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Claude Haiku 4.5
  provider: openrouter
  model: world3-router-north-america/anthropic/claude-haiku-4.5
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Claude Opus 4.7
  provider: openrouter
  model: world3-router-north-america/anthropic/claude-opus-4.7
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name:  Qwen3.6 Plus
  provider: openrouter
  model: world3-router-north-america/qwen/qwen3.6-plus
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Qwen3.5 397B A17B
  provider: openrouter
  model: world3-router-north-america/qwen/qwen3.5-397b-a17b
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Kimi K2.5
  provider: openrouter
  model: world3-router-north-america/moonshotai/kimi-k2.5
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Kimi K2 Thinking
  provider: openrouter
  model: world3-router-north-america/moonshotai/kimi-k2-thinking
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: MiniMax M2.5
  provider: openrouter
  model: world3-router-north-america/minimax/minimax-m2.5
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Llama 4 Maverick
  provider: openrouter
  model: world3-router-north-america/meta-llama/llama-4-maverick
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Nova 2 Lite
  provider: openrouter
  model: world3-router-north-america/amazon/nova-2-lite-v1
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: GLM 5 Turbo
  provider: openrouter
  model: world3-router-north-america/z-ai/glm-5-turbo
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: MiMo V2 Flash
  provider: openrouter
  model: world3-router-north-america/xiaomi/mimo-v2-flash
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: ByteDance Seed OSS 36B Instruct
  provider: openrouter
  model: world3-router-asia-pacific/ByteDance-Seed/Seed-OSS-36B-Instruct
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: ByteDance Seed 1.6 Flash
  provider: openrouter
  model: world3-router-north-america/bytedance-seed/seed-1.6-flash
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: LFM2 2.6B
  provider: openrouter
  model: world3-router-north-america/liquid/lfm-2.2-6b
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
- name: Qwen3-Max-Thinking
  provider: openrouter
  model: aliyun/qwen3-max-2026-01-23
  apiBase: https://router-link.world3.ai/api/v1
  apiKey: ${API_KEY}
```

<figure><img src="/files/CqD6KznreziUM3nM0lDE" alt=""><figcaption></figcaption></figure>

**If the configuration file is a JSON file, please fill it in according to the following format.**

```json
{
  "models": [
    {
      "title": "DeepSeek - V3.2 - Exp",
      "provider": "openrouter",
      "model": "world3-router-north-america/deepseek/deepseek-v3.2-exp",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "DeepSeek - V3.1",
      "provider": "openrouter",
      "model": "world3-router-north-america/deepseek/deepseek-chat-v3.1",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": " Gemini 3 Flash Preview",
      "provider": "openrouter",
      "model": "world3-router-north-america/google/gemini-3-flash-preview",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Gemini 3.1 Pro Preview",
      "provider": "openrouter",
      "model": "world3-router-north-america/google/gemini-3.1-pro-preview",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Grok 4",
      "provider": "openrouter",
      "model": "world3-router-north-america/x-ai/grok-4",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Grok 4.1 Fast",
      "provider": "openrouter",
      "model": "world3-router-north-america/x-ai/grok-4.1-fast",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Grok Code Fast 1",
      "provider": "openrouter",
      "model": "world3-router-north-america/x-ai/grok-code-fast-1",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "GPT - 5.3 - Codex",
      "provider": "openrouter",
      "model": "world3-router-north-america/openai/gpt-5.3-codex",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "GPT - 5.4",
      "provider": "openrouter",
      "model": "world3-router-north-america/openai/gpt-5.4",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Claude Sonnet 4.6",
      "provider": "openrouter",
      "model": "world3-router-north-america/anthropic/claude-sonnet-4.6",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Claude Haiku 4.5",
      "provider": "openrouter",
      "model": "world3-router-north-america/anthropic/claude-haiku-4.5",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Claude Opus 4.7",
      "provider": "openrouter",
      "model": "world3-router-north-america/anthropic/claude-opus-4.7",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Qwen3.6 Plus",
      "provider": "openrouter",
      "model": "world3-router-north-america/qwen/qwen3.6-plus",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Qwen3.5 397B A17B",
      "provider": "openrouter",
      "model": "world3-router-north-america/qwen/qwen3.5-397b-a17b",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Kimi K2",
      "provider": "openrouter",
      "model": "world3-router-north-america/moonshotai/kimi-k2-0905",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Kimi K2 Thinking",
      "provider": "openrouter",
      "model": "world3-router-north-america/moonshotai/kimi-k2-thinking",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "MiniMax M2.5",
      "provider": "openrouter",
      "model": "world3-router-north-america/minimax/minimax-m2.5",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Llama 4 Maverick",
      "provider": "openrouter",
      "model": "world3-router-north-america/meta-llama/llama-4-maverick",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Nova 2 Lite",
      "provider": "openrouter",
      "model": "world3-router-north-america/amazon/nova-2-lite-v1",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "GLM 5 Turbo",
      "provider": "openrouter",
      "model": "world3-router-north-america/z-ai/glm-5-turbo",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "MiMo V2 Flash",
      "provider": "openrouter",
      "model": "world3-router-north-america/xiaomi/mimo-v2-flash",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "ByteDance Seed OSS 36B Instruct",
      "provider": "openrouter",
      "model": "world3-router-asia-pacific/ByteDance-Seed/Seed-OSS-36B-Instruct",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "ByteDance Seed 1.6 Flash",
      "provider": "openrouter",
      "model": "world3-router-north-america/bytedance-seed/seed-1.6-flash",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "LFM2 2.6B",
      "provider": "openrouter",
      "model": "world3-router-north-america/liquid/lfm-2.2-6b",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    },
    {
      "title": "Qwen3-Max-Thinking",
      "provider": "openrouter",
      "model": "aliyun/qwen3-max-2026-01-23",
      "apiBase": "https://router-link.world3.ai/api/v1",
      "apiKey": "${API_KEY}"
    }
  ]
}
```

{% hint style="info" %}
If you don’t find the model you want in the configuration file, please add it manually. For the **model** field, use the value shown on the model page, as illustrated in the image.
{% endhint %}

<figure><img src="/files/AJ6zJdQkmmpCz79xDzrh" alt=""><figcaption></figcaption></figure>

**Step8:** Save the configuration file, return to the chat interface, and select the model in the chat box to start chatting (like Gemini 3 Pro Preview).

<figure><img src="/files/Vqw7Yl1EgIu5n7OsVctt" alt=""><figcaption></figcaption></figure>

**Step9:** On the Billing page, you can view the tokens consumed by this model and the amount of WAI Credits.

<figure><img src="/files/banJzk7FAkCiJwLByB5L" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.world3.ai/world3/how-to-guides/routerlink/tutorials/how-to-integrate-routerlink-in-vs-code-continue-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
