Back to approved models
Z.AIactiverelay/request.mjsready to route CONTEXT200K contextprompt window MAX OUTPUT64Kper response INPUT$1.4 / Mtoken price OUTPUT$4.4 / Mtoken price
Approved model profile_
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.1const completion = await client.chat.completions.create({
model: "glm-5.1",
messages: [
{ role: "user",
content: "Plan a multi-step task" }
]
});Route configuration_
Use the model through the contract you already have.
PipeLLM resolves provider access, policy, and supported model capabilities without changing the interface your application calls.
https://api.pipellm.ai/openaiOpenAI-compatible routeglm-5.1Use this in every requestPROVIDER AVAILABILITY1 route
| Provider | Context | Max output | Input / M | Output / M |
|---|---|---|---|---|
| Z.AI | 200K context | 64K | $1.4 / M | $4.4 / M |
SUPPORTED SURFACESactive
input: textoutput: texttool usecache control
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
