z-ai

Z.ai: GLM 5.3 (retires Dec 31)

GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...

Context
1M tokens
Input / 1M tokens
$1.40
Output / 1M tokens
$4.40
Benchmark

Pricing

Input tokens$1.40 per 1M tokens
Output tokens$4.40 per 1M tokens
Cache read$0.26 per 1M tokens

Technical details

Model IDz-ai/glm-5.3
Context window1M 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.3',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Z.ai: GLM 5.3 (retires Dec 31)?

Get an API key and start making requests in minutes.

Get an API key