flagship · Feb 2026
GLM-5
Z.AI’s open model for reasoning and agentic workflows.
By Z.AI · Text · MIT
Model details
Specs & substance
Spec sheet
Developed byZ.AI
Model familyGLM
Categoryflagship
ModalityText
Context window128K tokens
ArchitectureMoE
Version5
LicenseMIT
Pricing$1.00 in$3.20 out · $0.20 cache
ReleasedFeb 2026
Endpointparasail-glm-5
Z.AI’s open model for reasoning and agentic workflows.
GLM-5 is part of the GLM family by Z.AI, categorized as a flagship model. It supports a 128K tokens context window and is built on a MoE architecture.
Key strengths: reasoning, agentic. Parasail serves GLM-5 on a global fleet of current-gen GPUs behind a single OpenAI-compatible endpoint — with per-token pricing, no minimums, and dedicated capacity options when you need guaranteed throughput.
Integrate
Drop-in via the OpenAI SDK
Point any OpenAI-compatible chat client at Parasail and change the model name. That's it.
pythonparasail · GLM-5
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.parasail.io/v1"
)
response = client.chat.completions.create(
model="parasail-glm-5",
messages=[
{"role": "user", "content": "Hello, what can you do?"}
],
stream=True,
stream_options={"include_usage": True},
top_p=1,
max_tokens=1000,
temperature=1
)
for chunk in response:
if chunk.choices and chunk.choices[0].delta.content is not None:
print(chunk.choices[0].delta.content, end="", flush=True)bashparasail · GLM-5
curl https://api.parasail.io/v1/chat/completions \
-H "Authorization: Bearer $PARASAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "parasail-glm-5",
"messages": [{"role": "user", "content": "Hello, what can you do?"}],
"stream": true,
"max_tokens": 1000
}'More models