Using the GLM Coding Plan, you need config the exclusive Coding API https://api.z.ai/api/coding/paas/v4 instead of the Common API https://api.z.ai/api/paas/v4
Step 1: Installing the Kilo Code Plugin
1. Open the Extensions Marketplace
a. Launch VS Code b. Click the Extensions Marketplace icon on the left sidebar c. Search forKilo Code in the search bar
d. Locate the Kilo Code plugin
2. Install the Plugin
a. Click theInstall button to begin installation
b. After installation, choose to trust the developer
Step 2. Configuring API Settings
1. Select API Key Authentication
ChooseUse your own API key
2. Enter Configuration Details
Fill in the following information as specified:
If your Kilo Code version is outdated and lacks the International Coding Plan option, please update the plugin to the latest version.
- 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.6or any other model from the list
Step 3. Getting Started
Once configured, you can enter prompts in the input box to leverage the AI model for various tasks, such as:- Analyzing database table structures
- Calculating statistics and averages
- Generating and optimizing SQL queries
- Code generation and refactoring
- Project analysis and documentation writing