z-aiVision

Z.ai: GLM 5V Turbo (retires Dec 31)

GLM-5V-Turbo is Z.ai’s first native multimodal agent foundation model, built for vision-based coding and agent-driven tasks. It natively handles image, video, and text inputs, excels at long-horizon planning, complex coding,...

Context
203k tokens
Input / 1M tokens
$1.20
Output / 1M tokens
$4
Benchmark

Pricing

Input tokens$1.20 per 1M tokens
Output tokens$4 per 1M tokens
Cache read$0.24 per 1M tokens

Technical details

Model IDz-ai/glm-5v-turbo
Context window203k tokens
Input modalitiesimage, text, video
Output modalitiestext
TokenizerOther
Max output tokens131,072

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'z-ai/glm-5v-turbo',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Z.ai: GLM 5V Turbo (retires Dec 31)?

Get an API key and start making requests in minutes.

Get an API key