Back to approved models
Z.AIactiverelay/request.mjsready to route CONTEXT200K contextprompt window MAX OUTPUT128Kper response INPUT$0.60 / Mtoken price OUTPUT$2.2 / Mtoken price
Approved model profile_
GLM 4.7
GLM-4.7 is Z.AI’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while delivering more natural conversational experiences and...
glm-4.7const completion = await client.chat.completions.create({
model: "glm-4.7",
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-4.7Use this in every requestPROVIDER AVAILABILITY1 route
| Provider | Context | Max output | Input / M | Output / M |
|---|---|---|---|---|
| Z.AI | 200K context | 128K | $0.60 / M | $2.2 / M |
SUPPORTED SURFACESactive
input: textinput: imageoutput: texttool usecache control
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
