GLM-5.1
GLM-5.1 is an iteration on Zhipu AI's GLM-5 flagship, refining reasoning, coding, and tool-use behavior across the bilingual GLM line. It targets the same agentic and long-context workloads as GLM-5 with incremental improvements in instruction following and structured output reliability. A solid choice when you need GLM-tier quality with the latest tuning available.
Pricing
Input
$1.40 / 1M
Output
$4.40 / 1M
Pay only for what you use. No subscriptions, no minimums.
Specs
- Context
- 128K
- Max output
- 8K
- Latency
- Medium
- Category
- Text
- Arabic
- Partial
Quick start
Use any OpenAI-compatible client. Just change base_url and your key.
from openai import OpenAI
client = OpenAI(
api_key="tl-xxxxxxxxxxxxxxxxxxxxxxxx",
base_url="https://api.thalam.ai/v1",
)
response = client.chat.completions.create(
model="zhipu/glm-5.1",
messages=[
{"role": "user", "content": "Hello from Thalam!"}
],
)
print(response.choices[0].message.content)Similar models
GPT-5.6 Sol
The top tier of OpenAI's GPT-5.6 generation. Frontier reasoning, coding, and agentic work with a 1M-token context and image input.
GPT-5.6 Terra
The balanced tier of OpenAI's GPT-5.6 generation. Same 1M-token context and image input, tuned for everyday production work.