Connect VSCode + Cline to TeamoRouter

VSCode does not include AI coding features by itself, so it needs an extension to connect to an LLM. Cline, formerly Claude Dev, is a popular open-source AI coding extension for VSCode. It supports custom OpenAI-compatible endpoints and can run an agent workflow through TeamoRouter.

1. Prepare your TeamoRouter API Key

Open the TeamoRouter dashboard, create an account, create an API Key, and copy it. You can also view the complete model list in the dashboard.

2. VSCode is already installed

If VSCode and the Cline extension are already installed:

  1. Open VSCode.
  2. Click the Cline icon in the Activity Bar to open the Cline sidebar.
  3. Click the settings button in the top-right corner of the sidebar.

On the API Configuration screen:

  1. Choose OpenAI Compatible in the API Provider dropdown. The default may be OpenRouter, so make sure it is changed.
  2. Fill in:
  • Base URL: https://api.teamorouter.com/v1
  • OpenAI Compatible API Key: paste the key you created in the TeamoRouter dashboard
  • Model ID: enter the model you want to use
Model name Model ID
Claude fable 5 claude-fable-5
Claude opus 4.8 claude-opus-4-8
Claude opus 4.7 claude-opus-4-7
Claude opus 4.6 claude-opus-4-6
Claude sonnet 4.6 claude-sonnet-4-6
Claude haiku 4.5 claude-haiku-4-5
GPT 5.5 gpt-5.5
GPT 5.4 gpt-5.4
Gemini 3.1 pro preview gemini-3.1-pro-preview
Gemini 3.5 flash gemini-3.5-flash
  1. Leave Custom Headers empty.
  2. Do not enable Set Azure API version or Use Azure Identity Authentication. They are only for Azure OpenAI.
  3. Keep Model Configuration collapsed unless you have a specific reason to change it.
  4. Click Continue to finish.

3. Install VSCode + Cline from scratch

Install VSCode

Download VSCode from the official website:

  • macOS: download the .dmg, or run brew install --cask visual-studio-code
  • Windows: download and run the .exe installer
  • Linux: download the .deb, .rpm, or .tar.gz package for your system

Install the Cline extension

In VSCode, press Command + Shift + X on macOS, or Ctrl + Shift + X on Windows and Linux, to open Extensions. Search for Cline and install the extension published by saoudrizwan.

Click the Cline icon in the Activity Bar. The first launch opens the configuration page. Choose Bring my own API Key.

Configure the TeamoRouter provider

Follow the steps in the previous section.

Start using Cline

Click the plus button at the top of the Cline sidebar to create a new task. Describe what you want in natural language, such as "refactor this function to async". Cline will call the model through TeamoRouter, read files, edit code, and run commands as needed.

Ready? Three steps to startLog in to the console · top up · create an API key
Scan to join the WeChat support group
Need help?Scan to join the support group
Connect VSCode + Cline to TeamoRouter · Docs