A coding agent lets you use LLMs to help you complete your tasks.
You may use any coding agent with any LLM.
OpenRouter provides free models.
Below, we explain how to set up coding agents based on the free Qwen3-Coder LLM.
Complete these steps:
Qwen Code provides 1000 free requests per day.
- Install
Qwen Code. - Authenticate.
- Check that you have
Qwencredentials at~/.qwen/oauth_creds.json.
Set up a coding agent in VS Code using any of the following methods:
- Method 1: Set up
Qwen Code CompanionwithQwen3-Coder - Method 2: Set up
GitHub Copilot ChatwithQwen3-Coder
- Open the
Chatpanel using one of these methods:- Method 1:
- Go to the
Editor Toolbar. - Click the
Qwenicon.
- Go to the
- Method 2:
- Run using the
Command Palette:Qwen Code: Open
- Run using the
- Method 1:
- Write
/loginin the chat. - Write
@<file-name>to refer to the file<file-name>.
Note
Copilot Chat is not officially available for users in Russia (see this discussion).
- Install the
github.copilot-chatanddenizhandaklr.vscode-qwen-copilotextensions. - Run using the
Command Palette:Qwen Copilot: Authenticate - Complete the authentication procedure.
- Run using the
Command Palette:Chat: Manage Language Models - Click
Add Models. - Click
Qwen Code. - Double click
Qwen 3 Coder Plusto make the model visible. - Run using the
Command Palette:Chat: Open Chat - The
CHATpanel will open. - Go to
CHAT. - Click
Auto(Pick Model). - Click
Qwen 3 Coder Plus.