ZAI / BigModel
Status: ✅ Supported
Zhipu AI (ZAI) BigModel platform provides access to GLM (General Language Model) series.
Supported Models
| Model ID | Name | Context |
|---|---|---|
glm-4.5 | GLM-4.5 | 131K |
glm-4.5-air | GLM-4.5-Air | 131K |
glm-4.5-flash | GLM-4.5-Flash | 131K |
glm-4.5v | GLM-4.5V | 64K |
glm-4.6 | GLM-4.6 | 204K |
glm-4.6v | GLM-4.6V | 128K |
glm-4.7 | GLM-4.7 | 204K |
glm-4.7-flash | GLM-4.7-Flash | 200K |
glm-4.7-flashx | GLM-4.7-FlashX | 200K |
glm-5 | GLM-5 | 204K |
glm-5.1 | GLM-5.1 | 200K |
glm-5v-turbo | glm-5v-turbo | 200K |
Setup
1. Get API Key
- Visit BigModel Platform
- Create or log in to your account
- Go to API Keys → Create API Key
- Copy the key
2. Add to Clawrium
clm provider add my-zai --type zai
You will be prompted to enter your API key securely.
3. Select Model
Choose a default model during setup:
glm-4(general purpose)glm-4-plus(enhanced)glm-4-flash(fastest)
Configuration
# View provider details
clm provider list
# Change default model
clm provider edit my-zai --model glm-4-plus
# Update API key
clm provider edit my-zai --update-key
# Remove provider
clm provider remove my-zai
Pricing
ZAI offers competitive pricing, especially for the China region. Check BigModel pricing for current rates.
Benefits
- China region: Optimized for China-based deployments
- GLM models: Strong Chinese language support
- Vision models: GLM-4V supports image understanding
- Competitive pricing: Often cheaper than western providers
Usage in Agents
During agent onboarding:
clm agent configure my-agent
# Select my-zai when prompted for provider
Region Considerations
- API endpoint:
https://open.bigmodel.cn/api/paas/v4 - Optimized for China region
- May have higher latency from other regions
Troubleshooting
"Invalid API key"
- Verify the key is active in BigModel console
- Check account has available credits
"High latency"
- Expected if connecting from outside China
- Consider using a different provider for non-China deployments