Back to approved models
Z.AIactiverelay/request.mjsready to route CONTEXT1M contextprompt window MAX OUTPUT128Kper response INPUT$1.2 / Mtoken price OUTPUT$4.2 / Mtoken price
Approved model profile_
GLM 5.2
GLM 5.2 is Z.AI’s large-scale reasoning model for text-based tasks. With a 1M-token context window, it is designed to retain extensive context across long, multi-step work. The model supports high and xhigh reasoning effort, with xhigh corresponding to maximum reasoning. It is well suited to...
glm-5.2const completion = await client.chat.completions.create({
model: "glm-5.2",
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.aiOne base URL for OpenAI, Anthropic, and Gemini.FORMAT ROUTES
OPENAI
/openaiANTHROPIC
/anthropicGEMINI
Use a format route to normalize requests and responses./geminiglm-5.2Use this in every requestPROVIDER AVAILABILITY1 route
| Provider | Context | Max output | Discount | Input / M | Output / M |
|---|---|---|---|---|---|
| Volcano Engine | 1M context | 128K | — | $1.2 / M | $4.2 / M |
SUPPORTED SURFACESactive
input: textoutput: texttool usecache controlcomputer use
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
