Getting Started
1
Register or Login
- Access Z.AI Open Platform, Register or Login.
2
Subscribe to GLM Coding Plan
After logging in, navigate to the GLM Coding Plan to select your preferred subscription plan.
3
Obtain API Key
After subscribing,Individual Plan users can create an API Key under Individual Coding Plan > Plan Overview.Team Plan members can obtain their API Key under Team Coding Plan > My Plan. The Team Plan Key is not interchangeable with other Z.AI’s API Keys. To use your Team Plan quota, make sure to use the Team Plan Key.
4
Connect a Coding Tool
The GLM Coding Plan is strictly limited to use within officially supported tools and products. Click a tool below to open its configuration guide:
Claude Code
Roo Code
Kilo Code
Cline
OpenCode
OpenClaw
Crush
Goose
Cursor
Other Tools
5
Endpoint Guide
GLM Coding Plan supports both the Anthropic and OpenAI protocols. Make sure to configure the correct
Base URL:6
Start Coding
Once configured, you can begin coding with the GLM model!
- Conversational Programming
- Code Debugging
- Code Optimization
Advanced Features
Vision MCP Server (Coding Plan Exclusive)
Vision MCP Server (Coding Plan Exclusive)
All users can utilize the Vision MCP Server, which employs the flagship vision reasoning model GLM-4.6V to comprehend and analyze image content.
- Analyze UI design mockups and generate corresponding code
- Understand flowcharts and architecture diagrams
- Extract text and information from screenshots
Web Search MCP Server (Coding Plan Exclusive)
Web Search MCP Server (Coding Plan Exclusive)
All users can utilize the Web Search MCP Server to access the latest technical information.
- Search for the latest technical documentation and API changes
- Obtain the latest information on open-source projects
- Find solutions and best practices
Web Reader MCP Server (Coding Plan Exclusive)
Web Reader MCP Server (Coding Plan Exclusive)
All users can utilize the Web Reader MCP Server to fetch full webpage content and extract structured data.
- Fetch complete webpage content including text, and links
- Extract structured data such as title, body, and metadata
- Remote HTTP-based MCP service, no local installation required