Skip to main content
This guide will help you get started with GLM Coding Plan in minutes—from subscribing to using GLM models in officially supported tools and products.

Getting Started

1

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.
Safeguard your API Key by keeping it confidential and avoiding hard-coding it in your code.
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!

Advanced Features

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
For detailed usage instructions, refer to the Vision MCP Server documentation.
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
For detailed usage instructions, refer to the Web Search MCP Server documentation.
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
For detailed usage instructions, refer to the Web Reader MCP Server documentation.