Try Hanzo
Z.ai

GLM Flash Latest

This model always redirects to the latest model in the GLM Flash family.

Specifications

Context Window1M
Modalitiestext
Price…
Model ID~z-ai/glm-flash-latest
TypeScript
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})

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

console.log(response.choices[0].message.content)
…

Use GLM Flash Latest via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

Build what’s next.