Back to approved models
Z.AIactiverelay/request.mjsready to route CONTEXT200K contextprompt window MAX OUTPUT128Kper response INPUT$0.60 / Mtoken price OUTPUT$2.20 / 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.7POST https://api.pipellm.ai/chat/completions
Authorization: Bearer $PIPELLM_API_KEY
Content-Type: application/json
Model: glm-4.7
See the provider documentation for request parameters.Route configuration_
Call this model through its native API.
Use the documented HTTP endpoint and request body for this model.
https://api.pipellm.aiUse the native HTTP request format for this model.NATIVE API · NO CONVERSION
Native HTTP/chat/completionsDocs Use this native API directly. Protocol conversion is not supported.glm-4.7Use this in every requestPROVIDER AVAILABILITY1 route
| Provider | Context | Max output | Discount | Input / M | Output / M |
|---|---|---|---|---|---|
| Z.AI | 200K context | 128K | — | $0.60 / M | $2.20 / M |
SUPPORTED SURFACESactive
input: textinput: imageoutput: texttool usecache control
Relay governs model access with the same routing policy that Lens keeps visible and auditable.
