Skip to main content

GLM CLI

A command-line tool for GLM chat completions via AceDataCloud.

Get your Ace Data Cloud API key

  1. Open Ace Data Cloud → Applications. Sign in, or register an account first.
  2. Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
  3. Copy the API Key from the application card, or open Keys / Manage Keys → Create to create a separate key for this integration. Give it a recognizable name so you can revoke or rotate it independently.
  4. When creating a key, review Expiration Time, Set Usage Limitation, and Allowed APIs. Enable only the restrictions you need, allow the operations you will call, then click Create and copy the token from the key list. Task lookup does not grant permission to submit a generation. Confirm the application's balance can cover your first request; any trial allowance is whatever your account currently displays.
  5. Copy only the token value, without quotation marks, spaces, or Bearer . An API Key / API Token field expects this raw value; only a manually configured HTTP Authorization header needs the Bearer prefix. A platform-... account-management token cannot replace a generation API key.

Copy an application API key or open Manage Keys

Create a separately named key with optional restrictions

Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.

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.3
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.3 Latest GLM release
glm-5.2 GLM-5 series
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-4.5 GLM-4 series
glm-4.5v Vision-capable GLM-4 model
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

Metadata

Release files for glm-pro-cli 2026.11.22.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glm-pro-cli 2026.11.22.1
File Size Uploaded Provenance Actions
glm_pro_cli-2026.11.22.1.tar.gz 11.6 kB Without provenance Details for glm_pro_cli-2026.11.22.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for glm-pro-cli 2026.11.22.1
File Interpreter ABI Platform Actions
glm_pro_cli-2026.11.22.1-py3-none-any.whl Python 3 none any Details for glm_pro_cli-2026.11.22.1-py3-none-any.whl

Total release size: 24.8 kB

Release files / glm_pro_cli-2026.11.22.1.tar.gz

Download URL glm_pro_cli-2026.11.22.1.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
563ad345dddc465df0730d771dceb5f9c917bbafc85d3a3583d4be40f7a0d0e7
BLAKE2b-256 checksum
How to use checksums
ba55729650ebb93d916ea7488c6990306cd269e7753bf98210a13e9beabd78a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / glm_pro_cli-2026.11.22.1-py3-none-any.whl

Download URL glm_pro_cli-2026.11.22.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dcb8701eb3eadd81134ce34595be49c7ed189b1a7207425fe696c9d7407303c6
BLAKE2b-256 checksum
How to use checksums
b564df9ab01c4e3f9ec46fc126629d5840e229e3c7beb32491f10a9f7e0899a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for glm-pro-cli 2026.11.22.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page