z-ai
Z.ai: GLM 4.7
Try in chat →GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...
Context
205k tokens
Input / 1M tokens
$0.60
Output / 1M tokens
$2.20
Benchmark
—
Uptime & performance
Loading…
Pricing
Input tokens$0.60 per 1M tokens
Output tokens$2.20 per 1M tokens
Cache read$0.11 per 1M tokens
Apps and activity
Loading…
Technical details
Model IDz-ai/glm-4.7
Context window205k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens131,072
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://themegabrain.ru/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'z-ai/glm-4.7',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Z.ai: GLM 4.7?
Try it in the browser first, then get an API key and start making requests in minutes.