Supported Tools
1. Coding Agent Tool
Click on the tool documentation below that you wish to use, and follow the corresponding integration guide to set it up.Claude Code
The Claude Code IDE plugin supports VSCode and JetBrains.
Claude for IDE
The Claude Code IDE plugin supports VSCode and JetBrains.
OpenCode
The Claude Code IDE plugin supports VSCode and JetBrains.
Cursor
An AI-first code editor that supports custom model configurations.
Cline
An AI programming extension for VS Code that supports code generation and file operations.
TRAE
An AI editor capable of independently completing various development tasks.
Qoder
An agentic coding platform designed for real software development.
Droid
Enterprise-grade AI coding agent that runs in the terminal to handle end-to-end workflows.
Kilo Code
A powerful VS Code extension for code generation and project management.
Roo Code
A smart VS Code extension for code writing and refactoring.
Crush
A terminal-based AI programming tool that supports both CLI and TUI interfaces.
Goose
AI Agent tool, supporting local execution and automated engineering tasks.
Eigent
A desktop AI agent built on a multi-agent architecture, capable of automating browser, terminal, and MCP-powered workflows.
2. General-purpose Agent Tool
OpenClaw
An open-source AI assistant that runs on local devices, supports multi-platform use.
Hermes Agent
An open-source evolving AI agent with persistent memory,getting smarter with use.
SillyTavern
A highly customizable AI chat frontend for immersive roleplay with multi-model & media support.
Coding Endpoint
GLM Coding Plan provides endpoints for two protocols for different coding tools:OpenAI Chat Completions protocol endpoint: https://api.z.ai/api/coding/paas/v4
Anthropic Messages protocol endpoint: https://api.z.ai/api/anthropic
Config Example
Core Steps:Using Cline as an example, the following steps demonstrate how to integrate GLM models via the OpenAI Compatible protocol. Similarly, other tools supporting the OpenAI-compatible protocol can adopt the same configuration approach.
- Select an OpenAI-compatible provider.
Add/Replace the OpenAI Base URL with https://api.z.ai/api/coding/paas/v4.Enter your Z.AI API Key and select a GLM model.
1. Install the Cline Plugin
- Open VS Code and click the Extensions Marketplace icon on the left.
- Enter
clinein the search box and locate theClineextension. - Click
Installto install it, then choose to trust the developer.
2. Configure API Settings
In Cline, selectUse your own API Key, then fill in the following configuration:
- API Provider: Select
OpenAI Compatible - Base URL: Enter
https://api.z.ai/api/coding/paas/v4 - API Key: Enter your Z.AI API Key
- Model: Select “Use custom” and enter the GLM model code you want to use (e.g.,
glm-5.2) - Other Configurations:
- Uncheck Support Images
- Adjust Context Window Size based on your model (
glm-5.2is1000000; other models200000)
3. Get Started
Once configured, you can enter your requirements in the input box to let the model assist you with code generation, file editing, refactoring, explaining code logic, debugging, and more.
Step 3: Replacing the API URL
- Locate the API configuration section in your tool:
- Replace the OpenAI Base URL:
https://api.z.ai/api/coding/paas/v4.
- Enter API Key and Select Model:
- Enter your Z.ai API Key.
- Select the GLM model code you want to use.