Skip to main content
Roo Code is an intelligent VS Code plugin that assists with project analysis, code generation, and refactoring—making the development process smoother and more efficient. Roo Code becomes even more powerful with the GLM Coding Plan — giving you greater efficiency and stability in project management and code optimization.
Black Friday: Enjoy 50% off your first GLM Coding Plan purchase, plus an extra 20%/30% off! Subscribe now.
Using the GLM Coding Plan, you need to configure the dedicated Coding API https://api.z.ai/api/coding/paas/v4 instead of the General API https://api.z.ai/api/paas/v4
For users who have used the service before 2025-09-30:
The default model has been upgraded to GLM-4.6. Please update your config accordingly.

Step 1: Installing the Roo Code Plugin

1. Open the Extensions Marketplace

a. Launch VS Code b. Click the Extensions Marketplace icon on the left sidebar c. Enter Roo Code in the search bar d. Locate the Roo Code plugin Description

2. Install the Plugin

a. Click the Install button to begin installation b. After installation, select “Trust the Author”

Step 2: Configuring API Settings

Configuration Details

Fill in the following information as specified:
If your Roo Code version is lower and does not have the China Coding Plan option, please update the plugin to the latest version first.
  • API Provider: Select Z AI
  • Z AI Entrypoint:Select International Coding Plan (https://api.z.ai/api/coding/paas/v4/)
  • Z AI API Key: Input your Z.AI API Key
  • Model: Select glm-4.6 or other model in the list
Description

Step 3: Permission Setup and Usage

1. Configure Permissions

Select the permissions you wish to enable based on your needs:
  • File read/write operations
  • Auto-approve execution
  • Project access permissions
Description

2. Start Coding

Enter your requirements in the input box, and Roo Code will assist with:
  • Summarizing the current project structure
  • Analyzing key modules and functionalities
  • Code refactoring and optimization
  • Generating documentation and comments
  • Issue diagnosis and repair suggestions

Step 4: Vision Search Reader MCP

Refer to the Vision MCP Server , Search MCP Server and Web Reader MCP Server documentation; once configured, you can use them in Roo Code.