Model reference · open weights

GLM-4.1V-Thinking

LLMs zai-org Vision + text 1 build Open weights 228k dl/mo

GLM-4.1V-Thinking is an open-weight language model from zai-org. GLM-4.1V-9B-Thinking (BF16) weighs 20.6 GB; the smallest configuration that runs it is RTX 4090 24 GB.

  • GLM-4.1V-9B-Thinking is an open-source vision-language model developed by zai-org for image-text-to-text tasks.
  • It features 10.3B parameters, supports a 64k context length, and handles images up to 4K resolution with arbitrary aspect ratios.
  • The model is bilingual in English and Chinese and is released under the MIT license.

Summary of the zai-org/GLM-4.1V-9B-Thinking model card, 2026-10-01

What it is

Released byzai-org
Released2025-06-28
Parameters10.3B
VRAM20.6 GB for the weights

What it runs on

Memory and cards for GLM-4.1V-9B-Thinking (BF16)

20.6 GBweights, file size
41 MBcache per 1K tokens
2.1 GBruntime overhead, at least
65,536 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … RTX 4060 Ti 16 GB
2 smaller cards
———
RTX 3090 24 GB2—18K23.4 GB
RTX 4090 24 GB2—17K23.4 GB
RTX 5090 32 GB246all 64K31.0 GB
L40S 48 GB6315all 64K44.0 GB
A100 80 GB16541all 64K78.2 GB
H100 80 GB15238all 64K78.1 GB
RTX PRO 6000 Blackwell 96 GB19949all 64K93.8 GB
DGX Spark (GB10) 128 GB unified23959all 64K107 GB
H200 141 GB33082all 64K138 GB
B200 180 GB442110all 64K176 GB
2× RTX 4060 Ti 16 GB
tensor parallel
184all 64K15.4 GB a card
2× RTX 4090 24 GB
tensor parallel
6516all 64K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
6516all 64K23.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
123.0 GB24.0 GB
524.3 GB29.3 GB
825.3 GB33.4 GB
1628.0 GB44.1 GB
3233.4 GB65.6 GB
6444.1 GB109 GB

One card, with vLLM's small-card settings.

From the model card

What zai-org says about GLM-4.1V-Thinking

Read the model card

📖 View the GLM-4.1V-9B-Thinking paper. 📍 Using GLM-4.1V-9B-Thinking API at Zhipu Foundation Model Open Platform

Model Introduction

Vision-Language Models (VLMs) have become foundational components of intelligent systems. As real-world AI tasks grow increasingly complex, VLMs must evolve beyond basic multimodal perception to enhance their reasoning capabilities in complex tasks. This involves improving accuracy, comprehensiveness, and intelligence, enabling applications such as complex problem solving, long-context understanding, and multimodal agents.

Based on the GLM-4-9B-0414 foundation model, we present the new open-source VLM model GLM-4.1V-9B-Thinking, designed to explore the upper limits of reasoning in vision-language models. By introducing a "thinking paradigm" and leveraging reinforcement learning, the model significantly enhances its capabilities. It achieves state-of-the-art performance among 10B-parameter VLMs, matching or even surpassing the 72B-parameter Qwen-2.5-VL-72B on 18 benchmark tasks. We are also open-sourcing the base model GLM-4.1V-9B-Base to support further research into the boundaries of VLM capabilities.

Compared to the previous generation models CogVLM2 and the GLM-4V series, GLM-4.1V-Thinking offers the following improvements:

  1. The first reasoning-focused model in the series, achieving world-leading performance not only in mathematics but also across various sub-domains.
  2. Supports 64k context length.
  3. Handles arbitrary aspect ratios and up to 4K image resolution.
  4. Provides an open-source version supporting both Chinese and English bilingual usage.

Benchmark Performance

By incorporating the Chain-of-Thought reasoning paradigm, GLM-4.1V-9B-Thinking significantly improves answer accuracy, richness, and interpretability. It comprehensively surpasses traditional non-reasoning visual models. Out of 28 benchmark tasks, it achieved the best performance among 10B-level models on 23 tasks, and even outperformed the 72B-parameter Qwen-2.5-VL-72B on 18 tasks.

Quick Inference

This is a simple example of running single-image inference using the transformers library. First, install the transformers library from source:

pip install transformers>=4.57.1

Then, run the following code:

from transformers import AutoProcessor, Glm4vForConditionalGeneration
import torch

MODEL_PATH = "zai-org/GLM-4.1V-9B-Thinking"
messages = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
                "url": "https://upload.wikimedia.org/wikipedia/commons/f/fa/Grayscale_8bits_palette_sample_image.png"
            },
            {
                "type": "text",
                "text": "describe this image"
            }
        ],
    }
]
processor = AutoProcessor.from_pretrained(MODEL_PATH, use_fast=True)
model = Glm4vForConditionalGeneration.from_pretrained(
    pretrained_model_name_or_path=MODEL_PATH,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt"
).to(model.device)
generated_ids = model.generate(**inputs, max_new_tokens=8192)
output_text = processor.decode(generated_ids[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False)
print(output_text)

For video reasoning, web demo deployment, and more code, please check our GitHub.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms