Back to models
GLM-4.1V-9B-Thinking
Developed by Zhipu AI, GLM-4.1V-9B-Thinking is a 9B open-weight vision-language reasoning model trained with curriculum reinforcement learning, supporting 4K images and 64K context chain-of-thought analysis.
What you can do
- Scientific chart and geometry problem reasoning
- Long video temporal event localization
- High-resolution scanned document analysis
Input & output
- Input
- Up to 4K images of arbitrary aspect ratio, video clips, and text queries up to 64K context
- Output
- Structured `<think>` visual chain-of-thought reasoning and `<answer>` conclusions
Try a prompt like this
请仔细观察这张电路原理图与示波器波形截图,逐步推导电容器 C2 击穿后输出端电压峰峰值的变化原因并给出计算过程。
Things to know
MIT license; fits on a single 24 GB GPU (~20–22 GB VRAM in BF16), though ultra-high-res 4K multi-image or long-video inputs expand visual token memory and thinking latency.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
ZhipuAI/GLM-4.1V-9B-Thinking
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="ZhipuAI/GLM-4.1V-9B-Thinking",
messages=[{"role": "user", "content": "请仔细观察这张电路原理图与示波器波形截图,逐步推导电容器 C2 击穿后输出端电压峰峰值的变化原因并给出计算过程。"}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide