This guide will help you get started with GLM Coding Plan in minutes—from subscribing to using the GLM-4.5 model in coding tools.
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.

Safeguard your API Key by keeping it confidential and avoiding hard-coding it in your code. We recommend storing it in environment variables or configuration files.
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.5 model:
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
Note: When setting environment variables, the terminal will not return any output. This is normal, as long as no error message appears, the configuration has been applied successfully.
6
Start Coding
Once configured, you can begin coding with GLM-4.5!GLM-4.5 will automatically:
- 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 (Pro Plan Exclusive)
Vision MCP Server (Pro Plan Exclusive)
Pro and higher tier users can utilize the Vision MCP Server, which employs the flagship visual 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 (Pro Plan Exclusive)
Web Search MCP Server (Pro Plan Exclusive)
Pro and higher tier 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