Back to approved models
Z.AIactiverelay/request.mjsready to route CONTEXT200K contextprompt window MAX OUTPUT64Kper response INPUT$1.0 / Mtoken price OUTPUT$3.2 / Mtoken price
Approved model profile_
GLM 5
GLM 5 is Z.AI’s flagship open foundation model for complex system design, backend reasoning, long-horizon agent tasks, and production-grade software workflows. It is built for expert developers who need strong planning, implementation, and iterative problem-solving capability.
glm-5const completion = await client.chat.completions.create({
model: "glm-5",
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-5Use this in every requestPROVIDER AVAILABILITY1 route
| Provider | Context | Max output | Input / M | Output / M |
|---|---|---|---|---|
| Z.AI | 200K context | 64K | $1.0 / M | $3.2 / M |
SUPPORTED SURFACESactive
input: textoutput: texttool usecache control
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
