← All models
Z.ai · Language model
GLM 5
z-ai/glm-5- Language
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
Specifications
- Context window
- 204,800 tokens
- Max output
- 128,000 tokens
- Input
- text
- Output
- text
- Reasoning
- supported
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- logprobs
- max_tokens
- presence_penalty
- reasoning
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-5","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'