Textby Z.AI

GLM 4.7

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...

  • By price it is in the pricier half of the 345 text models GenMagic runs (189th cheapest).
  • Among the models GenMagic runs, it places in the top 10 on 1 of its 35 benchmarks: 9th of 11 on CL-bench Life.
  • It was listed on Dec 22, 2025.

Data last changed Nov 13, 2026 · tracked since Oct 29, 2026 · Every model change

Try GLM 4.7

Generate with GLM 4.7 right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

205K tokens

Max output

131K tokens

Input price

$0.90 / 1M tokens

Output price

$3.30 / 1M tokens

Cached input

$0.17 / 1M tokens

Benchmarks

How GLM 4.7 scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

45.3

source date 2026-11-11
Source: openrouter
AIMEMathematics

83.3%± 4.8

source date 2026-01-29
Source: epoch
APEX-AgentsAgentic & Tool Use

8.7%

Source: epoch
Chess PuzzlesReasoning & Knowledge

21%± 4.1

source date 2026-10-14
Source: epoch
CL-benchLong Context

15.9%

Source: epoch
Design Arena: 3DDesign & Generation

1173 Elo

Source: designarena
Design Arena: CodeDesign & Generation

1207 Elo

Source: designarena
Design Arena: SVGDesign & Generation

1133 Elo

Source: designarena
FrontierMathMathematics

2.4%± 0.9

source date 2026-01-30
Source: epoch

0%± 0.0

source date 2026-01-30
Source: epoch
GPQA DiamondReasoning & Knowledge

81.8%± 3.0

source date 2026-10-31
Source: openrouter
LMArena (Coding)Instruction & Preference

1454 Elo

source date 2026-11-11
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1402 Elo

source date 2026-11-11
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1443 Elo

source date 2026-11-11
Source: lmarena

1432 Elo

source date 2026-11-11
Source: lmarena
LMArena: MathMathematics

1413 Elo

source date 2026-11-11
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1446 Elo

source date 2026-11-11
Source: lmarena
LMArena (Overall)Instruction & Preference

1435 Elo

source date 2026-11-11
Source: lmarena
ProofBenchMathematics

6%± 2.4

Source: epoch
SimpleBenchReasoning & Knowledge

47.7%

Source: epoch
SimpleQA VerifiedReasoning & Knowledge

32.2%± 1.5

source date 2026-08-27
Source: epoch
tau-bench (Airline)Agentic & Tool Use

71.8%± 2.3

source date 2026-10-31
Source: openrouter
WebDev ArenaAgentic & Tool Use

1435 Elo

source date 2026-01-05
Source: epoch

Compare against every model in the full benchmark matrix.

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use GLM 4.7 through the API

The model id is z-ai/glm-4.7. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-4.7",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="z-ai/glm-4.7",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "z-ai/glm-4.7" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use GLM 4.7 in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Z.ai: GLM 4.7, or enter z-ai/glm-4.7 as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Z.ai: GLM 4.7 (this model)Z.AI$0.90 in / $3.30 out per 1M tokens205K
Moondream: Moondream 3 PreviewMoondream$0.45 in / $3.75 out per 1M tokens32K
Mistral: Mistral Large 4Mistral AI$1.05 in / $3.15 out per 1M tokens1M
Google: Gemini 3.5 Flash LiteGoogle$0.45 in / $3.75 out per 1M tokens1M
Amazon: Nova 2 LiteAmazon$0.45 in / $3.75 out per 1M tokens1M
Morph: Morph V3 LargeMorph$1.35 in / $2.85 out per 1M tokens262K

More from Z.AI

All 19 Z.AI models

Price and listing history

Every change GenMagic has recorded for GLM 4.7 since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 52%$0.59 in / $2.18 out per 1M tokens$0.90 in / $3.30 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Z.AI publishes them (model card on Hugging Face), checked daily.
  • Benchmarks: 35 scores from Artificial Analysis and OpenRouter, Epoch AI, Design Arena, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 13, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with GLM 4.7 today

One GenMagic plan unlocks GLM 4.7 and every other model across text, image, audio, and video.