Z AI (formerly Zhipu AI) offers the GLM model series, featuring hybrid reasoning capabilities and agentic AI design. These models excel in unified reasoning, coding, and intelligent agent applications while maintaining open-source accessibility under MIT license. Website: https://z.ai/model-api (International) | https://open.bigmodel.cn/ (China)Documentation Index
Fetch the complete documentation index at: https://docs.cline.bot/llms.txt
Use this file to discover all available pages before exploring further.
Getting an API Key
International Users
- Sign Up/Sign In: Go to https://z.ai/model-api. Create an account or sign in.
- Navigate to API Keys: Access your account dashboard and find the API keys section.
- Create a Key: Generate a new API key for your application.
- Copy the Key: Copy the API key immediately and store it securely.
China Mainland Users
- Sign Up/Sign In: Go to https://open.bigmodel.cn/. Create an account or sign in.
- Navigate to API Keys: Access your account dashboard and find the API keys section.
- Create a Key: Generate a new API key for your application.
- Copy the Key: Copy the API key immediately and store it securely.
Configuration in Cline
See Authorization & Model Selection.
- Open Cline Settings: Click the settings icon (⚙️) in the Cline panel.
- Select Provider: Choose “Z AI” from the “API Provider” dropdown.
- Select Region: Choose your region:
- “International” for global access
- “China” for mainland China access
- Enter API Key: Paste your Z AI API key into the “Z AI API Key” field.
- Select Model: Choose your desired model from the “Model” dropdown.
GLM Coding Plans
Z AI offers subscription plans specifically designed for coding applications. These plans provide cost-effective access to GLM series models through a prompt-based structure rather than traditional API usage billing.Setting up GLM Coding Plans
To use the GLM Coding Plans with Cline:- Subscribe: Go to https://z.ai/subscribe and choose your plan.
- Create API Key: After subscribing, log into your zAI dashboard and create an API key for your coding plan.
- Configure in Cline: Open Cline settings, select “Z AI” as your provider, and paste your API key into the “Z AI API Key” field.

Regional Optimization
API Endpoints
- International: Uses
https://api.z.ai/api/paas/v4 - China: Uses
https://open.bigmodel.cn/api/paas/v4

