GLM 5.2
GLM model for general and developer workflows.
API Model ID
glm-5.2
Developer
Zhipu AI (Z.AI)
Context Window
1M tokens
Median Latency (TTFT)
—
Capabilities & Features
Tools Reasoning Coding
Pricing & Access
Included in BotConnector subscription plans (Plus, Pro, Max, Ultra).
Usage of this model is drawn from your monthly combined plan allowance.
API Usage Example (/v1/chat/completions)
BotConnector provides an OpenAI-compatible chat completions endpoint.
cURL
curl https://api.botconnector.id/v1/chat/completions \
-H "Authorization: Bearer $BOTCONNECTOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [
{"role": "user", "content": "Hello from BotConnector!"}
]
}'Python (OpenAI SDK)
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.botconnector.id/v1",
api_key=os.environ.get("BOTCONNECTOR_API_KEY")
)
response = client.chat.completions.create(
model="glm-5.2",
messages=[
{"role": "user", "content": "Explain machine learning concisely."}
]
)
print(response.choices[0].message.content)Provider & Infrastructure Disclaimer
This model was developed by Zhipu AI (Z.AI). BotConnector accesses models via official developer APIs or verified large-scale cloud providers. BotConnector does not rebrand or alter original developer attributions.