glm-4.5 API Pricing & Access
GLM-4.5 and GLM-4.5-Air are the latest flagship model series, purpose-built as foundation models for Agent applications. Both use a Mixture-of-Experts (MoE) architecture. GLM-4.5 has 355B total parameters with 32B active; GLM-4.5-Air uses a more compact design with 106B total parameters and 12B active.
Pricing by group
USD per 1M tokens. Price = base price × group ratio.
| Group | Input | Output | About this group |
|---|---|---|---|
| Self-Deployed-1 | $0.18 | $0.72 | Attractive discount, suitable for general Q&A |
| Self-Deployed-2 | $0.30 | $1.20 | Moderate price with good availability. Suitable for general reasoning, document reading |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.
Capabilities
- Provider
- ChatGLM
- Features
- Conversation · Thinking · Tools
- API formats
- OpenAI Chat Completions
Quick start
Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.5",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
model="glm-4.5",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Full parameters in the API docs
FAQ
How do I call the glm-4.5 API?
Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use glm-4.5 as the model name.
How is the glm-4.5 API billed?
Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $0.18 per 1M input tokens and $0.72 per 1M output tokens. Top-ups start at $1.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
Which API formats does glm-4.5 support?
OpenAI Chat Completions.