GLM-5.1 — Z.AI | Parasail
Specs & substance
Spec sheet
Developed by Z.AI
Model family GLM
Category flagship
Modality Text
Context window 1M tokens
Architecture MoE + DSA
Version 5.1
License MIT
Pricing $1.40 in $4.40 out · $0.26 cache
Released Apr 2026
Endpoint parasail-glm-51
Strong reasoning and coding model with a 1M context window at competitive pricing.
GLM-5.1 is part of the GLM family by Z.AI, categorized as a flagship model. It supports a 1M tokens context window and is built on a MoE + DSA architecture.
Key strengths: reasoning, coding, long-context. Parasail serves GLM-5.1 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.
Drop-in via the OpenAI SDK
Point any OpenAI-compatible chat client at Parasail and change the model name. That's it.
Python
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-51",
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)
Bash
curl https://api.parasail.io/v1/chat/completions \
-H "Authorization: Bearer $PARASAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "parasail-glm-51",
"messages": [{"role": "user", "content": "Hello, what can you do?"}],
"stream": true,
"max_tokens": 1000
}'
Explore the library
- GLM-5.2: Z.AI’s next-gen model for agentic engineering with sustained execution on long-horizon tasks. $1.40/M in
- GLM-5: Z.AI’s open model for reasoning and agentic workflows. $1.00/M in
- MiniMax M3: Highly efficient MoE model delivering strong reasoning at exceptionally low cost. $0.30/M in
Run GLM-5.1 in the platform
Start with free credits — no credit card. Call any model in minutes.