IDEs & editors
VS Code — built-in Chat
Add RouterPlex models to VS Code's built-in Chat via a custom endpoint.
VS Code's built-in Chat view can bring your own models through a *custom endpoint*. Add RouterPlex once and every model below shows up in the Chat model picker. The steps are the same on macOS, Windows, and Linux.
This is for VS Code's native Chat. For the Cline, Roo Code, and Continue extensions, see VS Code — Cline, Roo, Continue.
Add RouterPlex as a custom endpoint #
1. Open the Chat view, click the model dropdown, and choose "Manage Models…".

2. Click "Add Models", then choose "Custom Endpoint".

3. Name the group "RouterPlex" and press Enter.

4. Paste your RouterPlex API key and press Enter.

5. Choose "Chat Completions" as the API type.

6. VS Code opens chatLanguageModels.json — add one entry per model, then save.

That file lives at:
- macOS:
~/Library/Application Support/Code/User/chatLanguageModels.json - Windows:
%APPDATA%\Code\User\chatLanguageModels.json - Linux:
~/.config/Code/User/chatLanguageModels.json
7. Added the provider by editing the JSON directly? If you created the RouterPlex group by hand instead of the wizard above, VS Code doesn't have your key yet. Right-click the group in the Language Models list, choose Update API Key, and paste your RouterPlex key.

Example configuration #
Every model points url at RouterPlex (https://api.routerplex.com/v1). Add as many entries to models as you like:
[{"name": "RouterPlex","vendor": "customendpoint","apiKey": "${input:chat.lm.secret.-8cc97ea}","apiType": "chat-completions","models": [{"id": "claude-opus-4-8","name": "Claude Opus 4.8","url": "https://api.routerplex.com/v1","toolCalling": true,"vision": true,"maxInputTokens": 1000000,"maxOutputTokens": 64000},{"id": "qwen3.7-plus","name": "Qwen3.7 Plus","url": "https://api.routerplex.com/v1","toolCalling": true,"vision": true,"maxInputTokens": 1000000,"maxOutputTokens": 128000}]}]
Leave apiKey as the ${input:…} placeholder VS Code generated in step 4 — it references the key you pasted, so you never store the raw key in the file.
Want all 28 models at once? Copy the complete chatLanguageModels.json, paste it into the file, and delete any you don't want.
Models #
Every entry uses "url": "https://api.routerplex.com/v1". Copy the id, maxInputTokens, and maxOutputTokens for each model you want:
| Model ID | Max input tokens | Max output tokens |
|---|---|---|
claude-opus-4-8 | 1000000 | 64000 |
claude-opus-4-7 | 1000000 | 64000 |
claude-opus-4-6 | 1000000 | 64000 |
claude-sonnet-4-6 | 1000000 | 64000 |
claude-haiku-4-5 | 256000 | 64000 |
gpt-5.5 | 256000 | 64000 |
gpt-5.4 | 1000000 | 128000 |
gemini-3.1-pro | 1000000 | 128000 |
gemini-3.5-flash | 1000000 | 128000 |
deepseek-v4-pro | 1000000 | 128000 |
deepseek-v4-flash | 1000000 | 128000 |
kimi-k2.7 | 256000 | 64000 |
kimi-k2.6 | 256000 | 64000 |
qwen3.7-max | 1000000 | 128000 |
qwen3.7-plus | 1000000 | 128000 |
qwen3.6-plus | 1000000 | 128000 |
glm-5.2 | 1000000 | 128000 |
glm-5.1 | 256000 | 64000 |
MiniMax-M3 | 1000000 | 128000 |
MiniMax-M3-highspeed | 1000000 | 128000 |
MiniMax-M2.7 | 196000 | 64000 |
MiniMax-M2.7-highspeed | 196000 | 64000 |
doubao-seed-2.0-pro | 128000 | 32000 |
doubao-seed-2.0-code | 200000 | 64000 |
mimo-v2.5-pro | 1000000 | 128000 |
mimo-v2.5 | 1000000 | 128000 |
mimo-v2-omni | 256000 | 64000 |
step-3.7-flash | 256000 | 64000 |
The Copy all button sets "vision" on the models that accept image input and "toolCalling": true on all of them — adjust either per model if you like. Give this key its own budget so editor usage is capped and shows up separately in your logs.