Z.ai: GLM 5.1
GPU TEE
z-ai/glm-5.1
Created Apr 20, 2026|203K context|$1.21/M input tokens|$4.20/M output tokens
Intel TDXNVIDIA CC
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
Providers for Z.ai: GLM 5.1
RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
chutes
Input Price
$1.21
Output Price
$4.20
Total Context
203K
API
RedPill provides an OpenAI-compatible completion API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
fetch("https://api.redpill.ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "z-ai/glm-5.1",
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
})
})