Zhipu AI (Z.ai)

GLM-4.7

Generally availableOpen weights205K contextReasoning

Summary

GLM-4.7 is an open-weight language model from Zhipu AI (Z.ai), released on 22 Dec 2025. It accepts text and generates text, with a 205K-token context window and up to 131K output tokens per response. As of 18 Nov 2026, the lowest listed API price is $0.40 per million input tokens and $1.75 per million output tokens (DeepInfra), across 6 providers we track. It is scheduled for retirement on 31 Dec 2026.

Mature GLM model for dependable coding, reasoning, and structured agent tasks

Last verified 18 Nov 2026. Every figure on this page links to its source.

Specifications

DeveloperZhipu AI (Z.ai)
Release date22 Dec 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsOpen weights [Hugging Face]
Licensemit [Hugging Face]
Parameters358B [Hugging Face]
Context window205K (204,800 tokens) [models.dev]
Max output131K tokens [models.dev]
Knowledge cutoffApr 2025 [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingYes [models.dev]
Retirement date31 Dec 2026 [OpenRouter]
Hugging Facezai-org/GLM-4.7 [Hugging Face]

GLM-4.7 API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
DeepInfra
zai-org/GLM-4.7
$0.40$1.75$0.08203Kmodels.dev, 18 Nov 2026
OpenRouter
z-ai/glm-4.7
$0.40$1.75$0.08203KOpenRouter, 18 Nov 2026
Z.ai API
glm-4.7
$0.60$2.20$0.11205Kmodels.dev, 18 Nov 2026
Hugging Face Inference Providers
zai-org/GLM-4.7
$0.60$2.20$0.11205Kmodels.dev, 18 Nov 2026
Novita AI
zai-org/glm-4.7
$0.60$2.20$0.11205Kmodels.dev, 18 Nov 2026
Vercel AI Gateway
zai/glm-4.7
$0.60$2.20–200Kmodels.dev, 18 Nov 2026

Running GLM-4.7 locally

Estimated memory, from the parameter count and the architecture in config.json on Hugging Face. Includes about 0.8 GB of runtime overhead.

QuantizationWeightsTotal, 8K contextTotal, 32K context
Q4_K_M (4-bit)217 GB221 GB230 GB
Q8_0 (8-bit)381 GB385 GB394 GB
FP16 / BF16 (16-bit)717 GB721 GB730 GB

At 4-bit with an 8K conversation, GLM-4.7 needs about 221 GB, more than any single consumer graphics card; it needs a unified-memory machine, a multi-GPU setup or a split between graphics card and system RAM. Check your own hardware, or see Best computer for local AI on our sister site AIPCs.

Frequently asked questions

What is the context window of GLM-4.7?

GLM-4.7 has a context window of 204,800 tokens (205K) and can generate up to 131,072 tokens in a single response, according to models.dev.

How much does the GLM-4.7 API cost?

Through Z.ai API, GLM-4.7 costs $0.60 per million input tokens and $2.20 per million output tokens. The lowest listed price is $0.40 input / $1.75 output through DeepInfra. Prices last verified 18 Nov 2026.

Is GLM-4.7 open source?

GLM-4.7 is an open-weight model: its weights are published on Hugging Face as zai-org/GLM-4.7 under the mit license. Check the license terms before commercial use.

When was GLM-4.7 released?

Zhipu AI (Z.ai) released GLM-4.7 on 22 Dec 2025, according to models.dev.

Which providers offer GLM-4.7?

We track GLM-4.7 on 6 providers: DeepInfra, OpenRouter, Z.ai API, Hugging Face Inference Providers, Novita AI, Vercel AI Gateway.

How much VRAM does GLM-4.7 need?

About 221 GB at 4-bit (Q4_K_M) with an 8K-token conversation, and about 385 GB at 8-bit. That is more than any single consumer graphics card holds. These are estimates from the model's published parameter count and architecture.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Qwen3.5 27BAlibaba (Qwen)23 Feb 2026262K$0.25$2Open
Kimi K2.5Moonshot AI27 Jan 2026262K$0.45$2.25Open
Qwen3.5 122B-A10BAlibaba (Qwen)23 Feb 2026262K$0.26$2.08Open
DeepSeek ChatDeepSeek1 Dec 2025164K$0.26$1.03Open
Kimi-K2-ThinkingMoonshot AI6 Nov 2025262K$0.60$2.50Open
Magistral Small 1.2Mistral AI18 Sept 2025128K$0.50$1.50Open

Change history

  • OpenRouter price changed: input $0.60 → $0.40, output $2.20 → $1.75 per 1M tokens
  • OpenRouter price changed: input $0.54 → $0.60, output $1.98 → $2.20 per 1M tokens
  • No longer listed on baseten
  • No longer listed on amazon-bedrock
  • OpenRouter price changed: input $0.60 → $0.54, output $2.20 → $1.98 per 1M tokens

Sources