All models

Z.AI: GLM 4.7

by Z.AI

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 delivering more natural conversational experiences and superior front-end aesthetics.

Avg Score

80.0%

233 answers

Avg Latency

29.9s

14 runs

Pricing

$0.40

input

/

$1.50

output

per 1M tokens

Context

203K

tokens

Alternatives

Models with similar or better quality but different tradeoffs

Same Quality, Cheaper

Models with similar or better performance at a lower cost per token.

Same Quality, Faster

Models with similar or better performance but lower latency.

Same Cost, Better

Models at a similar price point with higher benchmark scores.

Other Models from Z.AI

Compare performance with other models from the same creator

ModelScoreLatencyCost/1M
Z.AI: GLM 4.6V$0.60
Z.AI: GLM 4.6$0.93
Z.AI: GLM 4.6$1.10
Z.AI: GLM 4.5V$1.20
Z.AI: GLM 4.5$0.95
Z.AI: GLM 4.5 Air$0.0000
Z.AI: GLM 4.5 Air$0.14
Z.AI: GLM 4 32B $0.10

Benchmark Performance

How this model performs across different benchmarks

Price vs Performance

Compare cost efficiency across all models

Current model
Other models
X-axis uses log scale for better visualization of price range

Score Over Time

Performance trends across all benchmark runs

Benchmark Activity

Number of benchmark runs over time

Quickstart

Get started with this model using OpenRouter

View on OpenRouter
import { OpenRouter } from "@openrouter/sdk";

const openrouter = new OpenRouter({
  apiKey: "<OPENROUTER_API_KEY>"
});

const completion = await openrouter.chat.completions.create({
  model: "z-ai/glm-4.7",
  messages: [
    {
      role: "user",
      content: "Hello!"
    }
  ]
});

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

Get your API key at openrouter.ai/keys