Z
GLM 5.1
z-ai/glm-5.1
About
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...
Context
202,752
Max output
128K
Tokenizer
Other
Knowledge cutoff
—
Input
text
Output
text
Pricing
per 1M tokens- Input
- $1.40
- Output
- $4.40
Use this model
curl https://api.n4n.ai/v1/chat/completions \
-H "Authorization: Bearer $N4N_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'Authenticate with an API key from your console; prices above are per 1M tokens.
Providers
max context 202,752| Provider | Input $/1M | Output $/1M |
|---|---|---|
| Wandb wandb | $1.40 | $4.40 |
| Yuwu yuwu | $1.40 | $4.40 |
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p