Connect → VS Code
Use AxForge with VS Code
Our AxForge extension puts our chat models in the model picker of VS Code's chat. Install it, paste your key once, and pick a model. When we add a model, it shows up there by itself.
- An AxForge API key. Get one (a minute).
- VS Code 1.104 or newer. This guide was tried with VS Code 1.146 and the AxForge extension 0.1.0 on 2026-11-20. It worked without a GitHub sign-in.
Set it up
-
Install the AxForge extension
Open Extensions (Ctrl+Shift+X, Cmd+Shift+X on a Mac), search
axforgeand click Install. Or install it from its page on the VS Code Marketplace.
-
Trust the publisher
The first time you install an extension from a publisher, VS Code asks whether you trust it. Click Trust Publisher & Install.

-
Paste your key
Press Ctrl+Shift+P (Cmd+Shift+P on a Mac), run AxForge: Set your API key, paste your key and press Enter. VS Code keeps it in its own secret store and shows it as dots. If you have set
AXFORGE_API_KEYfor our other guides, the extension uses it and does not ask.
-
Pick a model in the chat
Open the chat (Chat: Open Chat) and click the model button under the message box. The AxForge tab lists our chat models.

-
Ask something
The answer comes from your AxForge key.

Which model for what. The extension's commands are
AxForge: Set your API key and AxForge: Remove your API key. It talks only to
api.axforge.ai and sends no telemetry.
The other way: VS Code's Custom Endpoint, by hand
VS Code's chat can also use any OpenAI-compatible service through its own Custom Endpoint provider, with no extension. You write the model list yourself, and a model we add later has to be added by hand too. These steps were tried with VS Code 1.141 on 2026-10-17.
-
Add a Custom Endpoint
Press Ctrl+Shift+P (Cmd+Shift+P on a Mac) and run Chat: Manage Language Models. Click Add Models, then Custom Endpoint.

-
Name it and paste your key
Type
AxForgeas the group name and press Enter. Then paste your key and press Enter. VS Code keeps the key in its own secret store and shows it as dots.
-
Choose Chat Completions

-
Add the models
VS Code opens
chatLanguageModels.jsonwith a group for AxForge. Keep itsapiKeyline as it is (that is VS Code's pointer to your stored key) and make"models"this list, then save:"models": [ { "id": "qwen3.8-27b", "name": "Qwen3.8 27B", "url": "https://api.axforge.ai/v1/chat/completions", "toolCalling": true, "vision": true, "maxInputTokens": 245760, "maxOutputTokens": 16384 }, { "id": "glm-5.3-flash", "name": "GLM-5.3-Flash", "url": "https://api.axforge.ai/v1/chat/completions", "toolCalling": true, "vision": true, "maxInputTokens": 245760, "maxOutputTokens": 16384 }, { "id": "mimo-v2.6-flash", "name": "MiMo-V2.6-Flash", "url": "https://api.axforge.ai/v1/chat/completions", "toolCalling": true, "vision": true, "maxInputTokens": 245760, "maxOutputTokens": 16384 } ]The
urlis the whole address,/chat/completionsincluded. Input and output together make 262,144 tokens, and each of the three reads at least that at once.
-
Pick the model in the chat
Open the chat (Chat: Open Chat), click the model name under the message box and type
Qwen. Our models are under Other Models.
-
Ask something
The answer comes from your AxForge key. The name under the message box says which model answered.

The settings, by hand
| Field | Value |
|---|---|
| Provider | Custom Endpoint |
| API type | Chat Completions |
| url (each model) | https://api.axforge.ai/v1/chat/completions |
| id | qwen3.8-27b, glm-5.3-flash, mimo-v2.6-flash |
| toolCalling | true (all three) |
| vision | true (all three) |
| maxInputTokens · maxOutputTokens | 245760 · 16384 |
Which model for what: qwen3.8-27b is the
everyday default and reads images, glm-5.3-flash thinks before it answers,
mimo-v2.6-flash is the fastest.
VS Code may show Set BYOK utility models. That offers to use your own models also for its small background jobs, such as chat titles. It is not needed for the chat to work.
Check that it works
The picker shows our models (on its AxForge tab with the extension) and a question gets an answer. The call also shows in the console under API Keys → Recent calls within a minute.
When it does not work
Not sure which it is? The connection doctor makes seven small
checks on your key and names the fix: irm https://dev.axforge.ai/assets/axforge-doctor.ps1 | iex in
PowerShell, curl -fsSL https://dev.axforge.ai/assets/axforge-doctor.sh | bash on macOS and Linux.
| What you see | What it means | Fix |
|---|---|---|
| The extension will not install | an older VS Code | update VS Code to 1.104 or newer |
| No AxForge tab in the picker | the extension has no key yet, or the key was refused (VS Code then shows a message starting AxForge:) | run AxForge: Set your API key with the key pasted whole, or make a new key |
| By hand: no Custom Endpoint under Add Models | an older VS Code | update VS Code |
| By hand: our models are not in the picker | the file was not saved, or its JSON has a mistake | save the file; a red underline shows where the mistake is |
By hand: 404 | the url is not the whole address | use https://api.axforge.ai/v1/chat/completions |
By hand: 401 | the key was refused | add the group again with the key pasted whole, or make a new key |
Test a call says in one click whether a problem is your key, your balance or us.