Z.ai: GLM 4.5
- by z-ai
- z-ai/glm-4.5
GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...
What the numbers mean
- Context window131,072 tokens
- How much the model can read in one request, counting your prompt, any files and the conversation so far. That is about 98,000 words, or 197 pages.
- Max output98,304 tokens
- The longest single reply it can write: about 74,000 words.
- Input price$0.6 per million tokens
- What you pay for everything the model reads. A 1,000-word prompt costs less than a cent.
- Output price$2.2 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.
- Knowledge cutoff2024-12-31
- The last date its training data covers. It does not know about anything after that unless you put it in the prompt.
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.
include_reasoningmax_tokensreasoningresponse_formattemperature