z-ai/glm-4.6
Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Supe...
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-4.6
Capabilities
InputText
OutputText
Context-
Max Output204,800
VisionNot supported
Function CallingSupported
Access details
Chat CompletionsBase URLhttps://api.sandbase.ai
API Endpoint/v1/chat/completions
{
"model": "z-ai/glm-4.6",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 512
}Pricing
Input$0.39 / 1M tokens
Output$1.90 / 1M tokens

