Integration · code editor
VS Code chat on llmbox
The built-in VS Code chat and agent can use third-party models through a Custom Endpoint. Add llmbox and pick DeepSeek, GPT, Gemini and Qwen right in the chat model picker. Pay per token.
- Chat and agent mode
- No Copilot subscription
- One API key
- deepseek/deepseek-v4-pro
- openai/gpt-6.1-sol
- google/gemini-3.1-pro
- qwen/qwen3.8-max
- + 28 more
Setup
Set up VS Code
Open Language Models
In the chat model picker, click the Manage Language Models gear, then Add Models → Custom Endpoint.
Set the key and API type
Group name: llmbox, API key: your key from the dashboard, API type: Chat Completions.
Add models
VS Code opens chatLanguageModels.json: enter catalog IDs and the full address for each model.
Full guide
Models
Models for chat and agent
Agent mode lists models with tool calling — set toolCalling: true for them.
| Model | id in chatLanguageModels.json | Input, 1M | Output, 1M |
|---|---|---|---|
| DeepSeek V4 Pro | deepseek/deepseek-v4-pro | $0.19 | $0.555 |
| DeepSeek V4.1 Flash | deepseek/deepseek-v4.1-flash | $0.10 | $0.27 |
| GPT-6.1 Sol | openai/gpt-6.1-sol | $1.80 | $5.00 |
| GPT-5.6 Sol | openai/gpt-5.6-sol | $0.80 | $2.00 |
| Gemini 3.1 Pro | google/gemini-3.1-pro | $0.60 | $2.45 |
| Qwen3.8 Max | qwen/qwen3.8-max | $0.225 | $0.7875 |
Prices are per million tokens, from the catalog.
Models file
Models in chatLanguageModels.json
The key itself is not in the file: ${input:llmboxApiKey} refers to the value you entered in the wizard. Add as many models as you need — each one appears in the chat model picker.
How it works
Works like the built-in models
Agent in the editor
Project search, file edits and terminal commands — models with toolCalling get the agent's tools as is.
Usage in your dashboard
Track each request's model, tokens and cost in your dashboard. Set a spending limit for each API key.
Long sessions use more tokens
Each agent step is a separate request that carries the chat history, so longer tasks use more input tokens. Compare model prices in the catalog.
Scenarios with VS Code
Questions
FAQ
Do I need a Copilot subscription?
No. Custom Endpoint models work in local chat sessions without a Copilot plan and without signing in to GitHub.
Which models are available in agent mode?
Those with toolCalling: true in chatLanguageModels.json. Every model in the table above supports tool calling.
Where do llmbox models work in VS Code?
In chat and agent mode: the models appear in the model picker next to the built-in ones. Inline completions in the editor are configured separately in VS Code.
How are requests from VS Code billed?
Chat and agent requests are billed per token at catalog rates and deducted from your llmbox balance. Pay as you go, with no subscription.
Connect VS Code to llmbox
Create an API key in your llmbox dashboard after signing up.
VS Code is a Microsoft product. llmbox connects through its standard Custom Endpoint feature.
