GLM 5.2 is a chat model created by Z.ai that takes text inputs and generates text outputs. It is an open-source model designed for tasks like web search, code execution, function calling, structured output, and parallel tool calls.
Input
Output
Context
1M
Max Output
131K
Parameters
753.3B
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
Bands compare this model with every model the same suite measured in our catalog.
Download 756 GB · Runs on vLLM v0.32.0
| Precision | Weights | One request at 33K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 1403 GB | 1493 GB | 4x AMD Instinct MI455X (1728 GB) |
| INT8 | 702 GB | 756 GB | 2x AMD Instinct MI455X (864 GB) |
| INT4 | 351 GB | 387 GB | 2x AMD Instinct MI325X (512 GB) |
Computed by Inferbase from the 753,329,940,480 parameters in the creator's Hugging Face repository; one request adds its KV cache, activations and framework overhead, with the layer layout estimated from the parameter count.
Request zai-glm-5-2 and routing picks a build. Use a build's model ID to pin it.
| Build | What it is | Model ID |
|---|---|---|
| FP4 | 4-bit floating-point weights | zai-glm-5-2:fp4 |
Public resources
Specification sources
As of Nov 10, 2026.
Answered from the facts on this page, with their sources.
GLM 5.2 has a context window of 1,048,576 tokens and a maximum output of 131,072 tokens (source: Creator or provider API). A provider may serve less; Inferbase routes on what each provider serves.
Yes. GLM 5.2 is an open-weight model under the MIT license. You can download and self-host it within the license terms.
GLM 5.2 has 753,329,940,480 parameters (753.3B), as stated in the creator's Hugging Face repository.
Strengths: Open weights under a permissive license (mit); 1,048K token context window; In the top 25% on graduate-level science (GPQA) among measured models. Each is computed from the model's stated facts and benchmark results.
GLM 5.2 accepts Text and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
GLM 5.2 has published results from Artificial Analysis and Epoch AI. The Benchmarks card shows each score as reported, with its band among the models the same source measured. Scores are never combined across sources.
Yes. GLM 5.2 is available on Inferbase Managed through the OpenAI-compatible API as zai-glm-5-2. Request it by name, or request auto and routing picks it when it fits the request best.
The weights take 1.40 TB at FP16 / BF16, 701.6 GB at INT8, 350.8 GB at INT4, computed from the 753,329,940,480 parameters its creator publishes. Each request adds its KV cache and the framework's overhead. The hardware section shows one request and the smallest GPU that fits; the GPU planner sizes it for your context length and traffic.
The model card of GLM 5.2 lists 2 languages: English and Chinese. That is what Z.ai states; the catalog does not test language quality.
Start on the free plan with 5,000 requests a month, no card required.