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 ID Model name
gpt-5.6-sol GPT 5.6 sol
gpt-5.6-terra GPT 5.6 terra
gpt-5.6-luna GPT 5.6 luna
claude-fable-5 Claude fable 5
claude-sonnet-5 Claude sonnet 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.1-flash-lite-preview Gemini 3.1 flash
deepseek-v4-pro DeepSeek v4 pro
deepseek-v4-flash DeepSeek v4 flash
glm-5.2 GLM 5.2

Note: Because of a Cline limitation, custom providers only support the OpenAI protocol. Calling Claude models this way may lose cache, fail requests, and create unnecessary costs. Use a Claude client, or open Claude Code in the VSCode terminal, when you need Claude models.

  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 unchanged.
  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
DiscordGet community help instantly
Connect VSCode + Cline to TeamoRouter · Docs