Miavo
All models
ChatGLM
Zhipu GLM · text

GLM 5

glm-5

GLM 5 base flagship — released 2026-02-12, available on Pro and Max coding tiers.

Pricing

Input$0.60 / MTok
Output$1.92 / MTok
Context
200k tokens
Provider
ChatGLM
Zhipu GLM

Capabilities

Chat completions

Multi-turn dialogue, system prompts.

Streaming

SSE chunks for incremental output.

Tool / function calling

Structured arguments via JSON schemas.

Image input

Pass images alongside the prompt.

Video generation

Text and image to short video, async.

JSON mode

Coming soon.

Make your first call.

Drop your sk-maas-… key in and you're done.

chat.ts
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.miavo.xyz/v1',
  apiKey: process.env.MACAW_API_KEY!,
});

const res = await client.chat.completions.create({
  model: 'glm-5',
  messages: [
    { role: 'user', content: 'Write me a haiku about gateways.' },
  ],
});

console.log(res.choices[0].message.content);

More from Zhipu GLM