GLM Models
GLM is a model family developed by ZhipuAI, available through the Z.AI platform. In WednesdayAI, GLM models are accessed via thezai provider using model IDs like zai/glm-5.
GLM is a model family, not a separate provider. All GLM access goes through the Z.AI provider. See the Z.AI provider page for full setup instructions.
Quick setup
1. Get a Z.AI API key
Create an API key in the Z.AI console and store it:2. Run onboarding
3. Configure
apiKey is the name of the environment variable, not the key value itself. Keep secrets in .env, not in committed config files.Provider settings
| Setting | Value |
|---|---|
| Provider ID | zai |
| Auth env var | ZAI_API_KEY |
| Auth method | Bearer token |
Available models
GLM model IDs use thezai/<model-id> prefix:
| Model ID | Notes |
|---|---|
zai/glm-5 | Current flagship GLM model |
zai/glm-4.7 | GLM 4.7 |
zai/glm-4.6 | GLM 4.6 |
zai/glm-4-flash | Faster, lower-cost variant |
GLM versions and availability change over time. Check Z.AI’s documentation for the current model catalog.
Verification
Troubleshooting
401 Unauthorized
401 Unauthorized
Model not found
Model not found
Check the current GLM model catalog in the Z.AI console — model IDs are versioned and may change.