z-ai
Z.ai: GLM 4.7 Flash
Try in chat →As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...
Context
200k tokens
Input / 1M tokens
$0.06
Output / 1M tokens
$0.40
Benchmark
—
Uptime & performance
Loading…
Pricing
Input tokens$0.06 per 1M tokens
Output tokens$0.40 per 1M tokens
Apps and activity
Loading…
Technical details
Model IDz-ai/glm-4.7-flash
Context window200k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens117,964
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-4.7-flash',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Z.ai: GLM 4.7 Flash?
Try it in the browser first, then get an API key and start making requests in minutes.