z-ai/glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
Input⌘ / Ctrl + Enter
Try a prompt
OutputReady
Your response will appear here
Choose an example or write a prompt, then click Run.
API details and access
Model Details
ProviderZ-Ai
TypeLlm
Model IDz-ai/glm-5.2
Capabilities
InputText
OutputText
Context1,000,000
Max Output32,768
VisionNot supported
Function CallingSupported
Access details
Chat CompletionsBase URLhttps://api.sandbase.ai
API Endpoint/v1/chat/completions
{
"model": "z-ai/glm-5.2",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 512
}Pricing
Input$1.40 / 1M tokens
Output$4.40 / 1M tokens
Cache read$0.28 / 1M tokens

