Z.ai: GLM 5.1
- by z-ai
- z-ai/glm-5.1
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...
What the numbers mean
- Context window204,800 tokens
- How much the model can read in one request, counting your prompt, any files and the conversation so far. That is about 150,000 words, or 307 pages.
- Max output182,476 tokens
- The longest single reply it can write: about 140,000 words.
- Input price$1.4 per million tokens
- What you pay for everything the model reads. A 1,000-word prompt costs less than a cent.
- Output price$4.4 per million tokens
- What you pay for everything the model writes. Output usually costs more than input. A 500-word answer costs less than a cent.
- Modalitiestext in, text out
- The kinds of content it accepts and the kinds it produces. A model that takes images in can read a screenshot; one that only puts text out cannot draw.
Supported parameters
The settings you can pass with a request. A model that lists tools can call functions; one that lists structured_outputs can be held to a JSON schema.
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_format