Company News

Z.ai: GLM models, developer APIs and AI agents

A team building a document assistant can send requests to Z.ai’s hosted GLM-5.4 or run the published GLM-5.2 weights on infrastructure it controls. Both models have documented million-token context windows, but the operating responsibilities differ. The hosted service handles inference infrastructure. A team serving the weights is responsible for the capacity, model configuration and software around it. In both cases, the application still has to decide what information to send and whether to act on the response.

Z.ai’s company timeline dates ZhipuAI’s founding to 2019 and traces the GLM family through GLM-130B, ChatGLM and later releases. The current catalogue includes hosted model endpoints, a chat application, coding tools and published model weights for selected versions. A developer can use those products at different points in the same project. The exact model and delivery route tell the team which features and operating limits apply.

GLM-5.4 accepts visual input and returns text

The GLM-5.4 developer guide documents the hosted identifier glm-5.4, video, image, text and file inputs, and text output. It lists a 1 million-token context window and a separate maximum output of 128K tokens. Context describes the amount of information a model can consider in a request or turn. The output figure describes generation capacity. A model that can accept a large collection of files may still need concise instructions and a focused selection of material to answer a question reliably.

Z.ai describes the architecture as a Loop Transformer, with 28 layers of the GLM-5 base model reused across two iterations. That is a property of the model. Task performance still depends on what the application asks and what evidence it gives the model. For a document workflow, test whether it can identify a particular item in a long file and cite the correct section. Try the same task with relevant passages pulled out first. Compare accuracy and response time with the documents and file types the application will actually use.

GLM-5.2 is available in two forms

Z.ai documents GLM-5.2 as a hosted model and publishes a GLM-5.2 model card and weights under an MIT licence. A team that calls the hosted version sends inputs through the provider’s service. A team serving the weights decides what hardware to use, whether to compress the model and how to accommodate varying request sizes. It also takes responsibility for managing deployments and investigating failures.

Before choosing a route, record the kinds of requests the application will receive, how many will arrive at once and what response time users can accept. Run the same examples against the hosted model and the specific self-run configuration you plan to operate. A model in reduced numerical precision may use less memory, while the serving stack and how you configure it can affect the result. Check the licence attached to the exact checkpoint and treat the service’s separate usage terms as part of the hosted decision. Technology Blog’s Alibaba profile describes a similar distinction between a model family and the cloud services used to access it.

GLM-4.6V shows why input format is a model-level question

The GLM-4.6V documentation lists a 128K-token context window for its multimodal line and describes native function calling. Visual capability can help a support application examine a photo of an appliance label or part of a scanned manual alongside the user’s text. The application should check whether the chosen endpoint accepts that kind of input and verify any extracted model or serial code before using it to fetch a product record.

For an evaluation, start with clear and poor-quality examples. Include images where the relevant label is cropped, obscured or contains a similar-looking model number beside it. An acceptable response may ask for a clearer photo. Check how the interface displays that request, whether the user knows what to photograph and how the system resumes when a new image arrives.

Model and deployment examples

Example Documented scope What to verify in your deployment
GLM-5.4 Hosted multimodal input, text output, 1M-token context Input formats, output and behaviour at real request sizes
GLM-5.2 Hosted endpoint and separately published MIT-licensed weights Runtime, capacity and licence or service terms
GLM-4.6V Multimodal family with 128K-token context and native function calling Visual input quality and the chosen endpoint’s tool support

Chat, the developer API and the Coding Plan serve different users

Z.ai’s chat application gives a person a ready-made interface. The developer API provides model responses to software a team operates. The GLM Coding Plan documents access through compatible development tools and describes its own usage allowances. The current plan uses both five-hour and weekly limits, with credit consumption affected by the model, input, cached input, output and tool calls. That makes a long coding session a different budgeting exercise from a simple count of chat messages. Check the model and account settings at the point of use. A capability enabled in one interface can have different input limits or availability when called by another.

Run a small demonstration through the same interface that will be used in practice. A chat comparison can tell an editor whether a draft is useful. An API evaluation can also capture response time, retries and how the application handles partial or incomplete answers. Those observations inform different decisions about whether the system is ready for everyday work.

Function calling links a model response to an application action

In Z.ai’s function calling documentation, the model can request a named function with proposed arguments. The application executes the function and decides what to pass back. A support assistant can suggest an order lookup, for example. The application should check which account owns the order before retrieving details. If the next action changes a record, a separate confirmation step can give the user a clear view of what will happen.

Test the application’s behaviour when the order number is missing, the lookup times out or the request would repeat a change already made. Keep a record of the model version, the requested action and the observed result. Technology Blog’s guide to Claude tools offers another example of why the application’s permissions and review controls matter alongside the model.

South African teams can test their actual language and support needs

The South African Centre for Digital Language Resources catalogues local language resources. Its catalogue is a useful reference for finding material to build an evaluation, subject to the terms of each resource. A local support team can also review representative terminology, mixed-language questions and names from the communities it serves. Look separately at written responses, extraction from images and the effect of responses on a real workflow. A useful deployment is one whose answers and actions can be checked in the setting where the product will operate.