Back to approved models

Approved model profile_

Z.AIactive

GLM 5.1

GLM 5.1 advances Z.AI’s coding and long-horizon task capabilities, with a focus on sustained autonomous work over extended engineering tasks. It is designed for planning, executing, and refining complex projects while maintaining reliable reasoning across long interactions.

glm-5.1
relay/request.mjsready to route
const completion = await client.chat.completions.create({
  model: "glm-5.1",
  messages: [
    { role: "user",
      content: "Plan a multi-step task" }
  ]
});
policy checked provider selected
CONTEXT200K contextprompt window
MAX OUTPUT64Kper response
INPUT$1.40 / Mtoken price
OUTPUT$4.40 / Mtoken price

Route configuration_

Choose a supported call format.

Select a format below to view its documentation. Use the displayed converter route when calling through PipeLLM.

MODEL IDglm-5.1Use this in every request
GOVERNANCEPolicy controlledApprovals and tool rules apply
PROVIDER AVAILABILITY2 routes
ProviderContextMax outputDiscountInput / MOutput / M
Alibaba200K context64K—$1.40 / M$4.40 / M
Z.AI200K context64K—$1.40 / M$4.40 / M
Displayed pricing is per one million tokens and may vary by provider.
SUPPORTED SURFACESactive
input: textoutput: texttool usecache control

Relay governs model access with the same routing policy that Lens keeps visible and auditable.