← All models
Z.ai · Language model
GLM 4.7
z-ai/glm-4.7- Language
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...
Specifications
- Context window
- 204,800 tokens
- Max output
- 131,072 tokens
- Input
- text
- Output
- text
- Reasoning
- supported
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- logit_bias
- max_tokens
- min_p
- presence_penalty
- reasoning
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_a
- top_k
- 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-4.7","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'