Zhipu AI (Z.ai) API via CheapLLM
Access 3 Zhipu AI (Z.ai) models (GLM 5.3 Prime, GLM 5.3, GLM 5.3 Flash) behind one unified API endpoint with transparent per-million-token pricing, full context windows, and instant OpenAI/Anthropic SDK compatibility.
All Zhipu AI (Z.ai) models & pricing comparison
Prices verified 2026-11-28| Model | Context | Official (in / out) | CheapLLM (in / out) | Savings |
|---|---|---|---|---|
| GLM 5.3 Prime | 1M | $1.96 / $6.16 | −30% | |
| GLM 5.3 | 1.05M | $0.049 / $0.98 | −30% | |
| GLM 5.3 Flash | 1.05M | $0.028 / $0.055 | −30% |
Quickstart with Zhipu AI (Z.ai)
Python (OpenAI SDK)
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.cheapllm.app/v1",
api_key=os.environ["CHEAPLLM_API_KEY"],
)
response = client.chat.completions.create(
model="z-ai/glm-5.3-prime",
messages=[{"role": "user", "content": "Hello!"}],
)