GLM 4.5V
import { streamText } from 'ai'
const result = streamText({ model: 'zai/glm-4.5v', prompt: 'Why is the sky blue?'})Playground
Try out GLM 4.5V by Z.AI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
GLM 4.5V
Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.
P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.
Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.
More models by Z.AI
| Model |
|---|
About GLM 4.5V
GLM 4.5V extends the GLM-4.5-Air foundation with multimodal vision capabilities. Built by Z.AI, it targets image reasoning, document understanding, and visual grounding tasks at a comparable scale to other models in its class.
The model supports a broad range of visual input types: single images, multi-image analysis, long video understanding with event recognition, complex chart and document parsing, and GUI task handling including screen reading and icon recognition. A distinctive feature is visual grounding, where the model localizes specific elements in images with bounding box coordinates, enabling applications that need to point at or interact with visual content programmatically.
GLM 4.5V includes a thinking mode switch that balances quick responses against deeper reasoning. For straightforward visual questions, disable thinking for fast responses. For complex multi-image analysis or document interpretation, enable thinking to improve accuracy. The model operates within a context window of 66K tokens.
What To Consider When Choosing a Provider
- Configuration: High-resolution images consume more input tokens. Consider resizing images to the minimum resolution your task requires to control costs.
- Configuration: Enable thinking for complex visual reasoning tasks (chart analysis, multi-image comparison). Disable it for simple captioning or classification to reduce latency.
- Configuration: When using visual grounding, the model returns bounding box coordinates normalized by image dimensions. Your application needs to handle this coordinate format for downstream processing.
- Zero Data Retention: AI Gateway does not currently support Zero Data Retention for this model. See the documentation for models that support ZDR.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
When to Use GLM 4.5V
Best for
- Document and chart understanding: Parsing complex layouts with mixed text, tables, and figures requires joint visual-textual reasoning
- GUI automation and testing: Screen reading, icon recognition, and visual element localization in one model
- Multi-image analysis: Multiple images or image sequences processed in a single request
- Long video understanding: Event recognition and temporal reasoning across extended video content
- Visual grounding tasks: Bounding box coordinates for detected elements are returned natively
Consider alternatives when
- Text-only capabilities: GLM-4.5 or GLM-4.5-Air provides the same language foundation without the vision overhead
- Image generation needed: GLM 4.5V is input-multimodal only and produces text output
- Advanced vision features: GLM-4.6V offers an upgraded 128K context window and native multimodal function calling
- Pixel-accurate frontend replication: GLM-4.6V includes targeted improvements for HTML/CSS reconstruction from screenshots
Conclusion
GLM 4.5V brings vision-language capability to the GLM-4.5 generation, with a focus on document understanding, GUI interaction, and visual grounding. The thinking mode switch gives you control over the accuracy-latency tradeoff on a per-request basis.