GLM 5V Turbo
Neural Network
GLM 5V Turbo is Z.ai's natively multimodal agent model for code, image, and video processing.
Specifications
- Input
- text, images, documents
- Output
- text
- Context size
- 202 752 tokens
- Max answer length
- 131 072 tokens
- Reasoning effort
- low, medium, high
- Capabilities
- reasoning, function calling
Prompt cost
(per 1M tokens)
Answer cost
(per 1M tokens)
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '<your bothub access token>',
baseURL: 'https://openai.bothub.chat/v1'
});
// Sync - Text generation
async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'glm-5v-turbo',
});
}
// Async - Text generation
async function main() {
const stream = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'glm-5v-turbo',
stream: true
});
for await (const chunk of stream) {
const part: string | null = chunk.choices[0].delta?.content ?? null;
}
}
main();
How it works GLM 5V Turbo?
GLM 5V Turbo is Z.ai's first natively multimodal agent model: it accepts images, video, and text in a single stream rather than through separate recognizers, and is optimized for visual programming and agent scenarios. The model excels at long-horizon planning, where a task needs to be broken down into steps and brought to a result, and at complex coding. In BotHub, it is accessible from Russia without a VPN or foreign card: you pay with a Russian card in rubles only for tokens used, not for a subscription, and tokens do not expire. Over 250 other models are available in the same window, making it easy to switch between them, and a unified OpenAI-compatible API allows you to connect GLM 5V Turbo to your service and switch models without rewriting the integration. Chats are encrypted via AES-GCM, and data is not saved. It is useful if you need to build an interface from a layout or screenshot, analyze an error from a screen recording, describe video content, assign a multi-step task to an agent, or perform code refactoring and debugging.Frequently asked questions about GLM 5V Turbo
You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.
glm-5v-turbo is a model from z-ai for working with text, documents, and images. It is suitable for analyzing large materials: the context of up to 202,752 tokens accommodates large documentation. It is useful for code, analyzing diagrams and screenshots, analytics, and scenarios involving external function calls.
In a single response, glm-5v-turbo can output up to 131,072 tokens — that's dozens of pages. This capacity is enough for a detailed document analysis, a large report, or a voluminous code fragment that won't need to be assembled from multiple messages in parts.
Yes, the reasoning mode is confirmed by our data: before answering, the model builds a solution path rather than outputting the first option that comes to mind. This is noticeable in multi-step tasks — mathematics, logic, code analysis, and comparing data from a long document.
Yes, glm-5v-turbo supports function calling and structured JSON output. You describe the tools, the model decides when to call them, and returns the answer in the specified schema. Through the unified OpenAI-compatible BotHub API, it is easy to integrate into your agents and services.
Images and documents — yes, they can be sent as input along with the request: the model will describe the image, analyze a diagram or screenshot, or read a file. There is no note about audio and video in our data, so rely on confirmed formats or check with your own task.
There is no separate assessment of Russian language quality in our data, so we won't make promises in advance — check it with your own phrasing, it takes a couple of minutes in the chat. The service itself is available from Russia without a VPN or foreign card, with payment in rubles based on actual token usage.