Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glm_pro_cli-2026.8.11.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

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

Hashes for glm_pro_cli-2026.8.11.0.tar.gz
Algorithm Hash digest
SHA256 ba3462682e50a9461a6c8daf42d61c513b4491f2e0e0661ccb3656f5555e1a53
MD5 ad10c3f86c5ce3002e16e43ee74051f4
BLAKE2b-256 c422704ad7df946f0f2bf745a1c42f8d45476daea025b8b2b55cfa6b91b1b43a

See more details on using hashes here.

File details

Details for the file glm_pro_cli-2026.8.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for glm_pro_cli-2026.8.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ba32e733542dcd07e912654dfd7f8405e1d345e3201af98e22a41e872691ef
MD5 4e33c548aa9d41f20a7e8d3d780a4c0b
BLAKE2b-256 d435d1c50fb7fa569ba7e6202075361d97aa3fbd87ada0442d21610c45478035

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page