GizStackGizStackGizStack
Sign inStart free

← All models

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

sh
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!"}]}'
python
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)
sh
claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
  --header "Authorization: Bearer $GIZSTACK_API_KEY"

Request fields

FieldValuesDefault
frequency_penalty-2 to 2
max_tokensnumber
presence_penalty-2 to 2
reasoning_effortminimal, low, medium, highmedium
seednumber
stoptext
temperature0 to 2
top_knumber
top_p0 to 1