Z.GLM 5.1
Z.ai · Language · $1.4 in · $4.4 out, a million tokens · 5 routes
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
Model ID z-ai/glm-5.1
Quick try
Quickstart · API, SDK & MCP
curl https://gizstack.com/v1/chat/completions \
-H "Authorization: Bearer $GIZSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-5.1", "messages": [{"role": "user", "content": "Hello!"}]}'from openai import OpenAI
client = OpenAI(base_url="https://gizstack.com/v1", api_key="$GIZSTACK_API_KEY")
res = client.chat.completions.create(
model="z-ai/glm-5.1",
messages=[{"role": "user", "content": "Hello!"}]
)
print(res.choices[0].message.content)claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
--header "Authorization: Bearer $GIZSTACK_API_KEY"Request fields
| Field | Values | Default |
|---|---|---|
| frequency_penalty | -2 to 2 | |
| max_tokens | number | |
| presence_penalty | -2 to 2 | |
| reasoning_effort | minimal, low, medium, high | medium |
| seed | number | |
| stop | text | |
| temperature | 0 to 2 | |
| top_k | number | |
| top_p | 0 to 1 |