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, navigate to your account dashboard and click API Keys to generate a new API Key.

4
Select Coding Tool
GLM Coding Plan supports multiple mainstream coding tools. Choose based on your preference:
5
Configuring Coding Tools
Using Claude Code as an example, configure the GLM-4.6 model:
- Claude Code
- Other Tools
1. Install Claude CodePrerequisite: You need to install Node.js 18 or latest version2. Configure Environment VariablesAfter installing Claude Code, set up environment variables using one of the following two methods by enter the following commands in the Mac OS terminal or Windows cmd:Method 1: Using a Script (Recommended for First-Time Users)Method 2: Manual Configuration
6
Start Coding
Once configured, you can begin coding with GLM-4.6!GLM-4.6 will automatically:
- Natural Language Programming
- Code Debugging
- Code Optimization
- Analyze requirements and formulate an implementation plan
- Generate complete React component code
- Include form validation and styling
- Ensure code runs directly
Feature Examples
Smart Code Completion
Generates real-time completion suggestions based on context, reducing manual input and significantly boosting development efficiency.
Code Repository Q&A
Ask questions about your team’s codebase anytime to maintain a holistic understanding.
Automated Task Management
One-click fixes for lint issues, merge conflicts, and release note generation.
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.5V 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