GLM CLI
A command-line tool for GLM chat completions via AceDataCloud.
Installation
pip install glm-pro-cli
Quick Start
export ACEDATACLOUD_API_TOKEN=your_token
glm chat "What is the capital of France?"
glm chat "Explain AI" -m glm-5.2
glm models
Commands
| Command | Description |
|---|---|
glm chat <prompt> |
Chat with a GLM model |
glm models |
List available GLM models |
glm config |
Show current configuration |
Global Options
--token TEXT API token (or set ACEDATACLOUD_API_TOKEN env var)
--version Show version
--help Show help message
Available Models
| Model | Notes |
|---|---|
glm-5.2 |
Latest GLM release |
glm-5 |
GLM-5 base model |
glm-5-turbo |
GLM-5 Turbo |
glm-5.1 |
Earlier GLM-5 release |
glm-4.7 |
GLM-4 series (default) |
glm-4.6 |
GLM-4 series |
glm-3-turbo |
GLM-3 Turbo |
Configuration
Set environment variables or use a .env file:
ACEDATACLOUD_API_TOKEN=your_token
ACEDATACLOUD_API_BASE_URL=https://api.acedata.cloud
GLM_REQUEST_TIMEOUT=30
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glm_pro_cli-2026.8.11.0.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glm_pro_cli-2026.8.11.0.tar.gz.
File metadata
- Download URL: glm_pro_cli-2026.8.11.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba3462682e50a9461a6c8daf42d61c513b4491f2e0e0661ccb3656f5555e1a53
|
|
| MD5 |
ad10c3f86c5ce3002e16e43ee74051f4
|
|
| BLAKE2b-256 |
c422704ad7df946f0f2bf745a1c42f8d45476daea025b8b2b55cfa6b91b1b43a
|
File details
Details for the file glm_pro_cli-2026.8.11.0-py3-none-any.whl.
File metadata
- Download URL: glm_pro_cli-2026.8.11.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9ba32e733542dcd07e912654dfd7f8405e1d345e3201af98e22a41e872691ef
|
|
| MD5 |
4e33c548aa9d41f20a7e8d3d780a4c0b
|
|
| BLAKE2b-256 |
d435d1c50fb7fa569ba7e6202075361d97aa3fbd87ada0442d21610c45478035
|