Longwriter GLM 4 9B is an open-source chat model created by Z.ai that takes in and outputs text.
Input
Output
Context
1M
Max Output
33K
Parameters
9.4B
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
None the catalog can show from stated facts or measured scores.
| Precision | Weights | One request at 33K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 17.5 GB | 22.1 GB | 1x Tenstorrent Blackhole p150 (32 GB) |
| INT8 | 8.75 GB | 12.9 GB | 1x NVIDIA T4 (16 GB) |
| INT4 | 4.38 GB | 8.28 GB | 1x NVIDIA T4 (16 GB) |
Computed by Inferbase from the 9,399,951,392 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.
Public resources
Specification sources
As of Nov 11, 2026.
Answered from the facts on this page, with their sources.
Longwriter GLM 4 9B has a context window of 1,048,576 tokens and a maximum output of 32,768 tokens (source: Creator or provider API). A provider may serve less; Inferbase routes on what each provider serves.
Yes. Longwriter GLM 4 9B is an open-weight model under the Glm 4 9b License license. You can download and self-host it within the license terms.
Longwriter GLM 4 9B has 9,399,951,392 parameters (9.4B), as stated in the creator's Hugging Face repository.
Strengths: 1,048K token context window. Each is computed from the model's stated facts and benchmark results.
Longwriter GLM 4 9B accepts Text and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
No benchmark source has published a result for Longwriter GLM 4 9B yet, so it is shown as unmeasured, not estimated.
Not on Inferbase Managed today. Add your own provider key or endpoint that serves Longwriter GLM 4 9B, and Inferbase runs it on your account with the same routing and logs.
The weights take 17.5 GB at FP16 / BF16, 8.8 GB at INT8, 4.4 GB at INT4, computed from the 9,399,951,392 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 Longwriter GLM 4 9B 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.