z-ai

Z.ai: GLM 5 Turbo

GLM-5 Turbo is a new model from Z.ai designed for fast inference and strong performance in agent-driven environments such as OpenClaw scenarios. It is deeply optimized for real-world agent workflows...

Context
262k 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-5-turbo
Context window262k tokens
Input modalitiestext
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-5-turbo',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Z.ai: GLM 5 Turbo?

Get an API key and start making requests in minutes.

Get an API key