Skip to content

GLM-4.7

z-ai/glm-4.7

Z.ai's open-weight (MIT) coding-focused model from December 2025, with a 200K context, 128K output and reasoning that can be kept across turns and tool calls. Superseded by the GLM-5 series, now led by GLM-5.3.

API
curl "$AUDIOLAB_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-4.7",
  "messages": [
    {
      "role": "user",
      "content": "Help me plan my next project."
    }
  ],
  "max_tokens": 256
}'
Input Price
$0.51 / 1M tokens
Output Price
$1.87 / 1M tokens
Context
204.8K tokens
Output Cap
131.1K tokens

Capabilities

Explore what GLM-4.7 supports, then use the API section for a request tailored to this model.

Max tokensReasoningInclude reasoning

Model Information

Provider
Z.AI
Product
Language Models
Release Date
Dec 22, 2025
Data Policy
Not specified
Region
Singapore
Input
Text
Output
Text
Provider Documentation

Playground

Try GLM-4.7 by Z.AI. Requests use the selected workspace’s credits and API pricing.

GLM-4.7Credits —
GLM-4.7
⌘ / Ctrl + Enter to send

Providers

Compare available endpoints, pricing, and context limits for GLM-4.7.

ProviderContextOutput CapInput PriceOutput PriceEndpoint
Z.AI204.8K tokens131.1K tokens$0.51 / 1M tokens$1.87 / 1M tokens
glm-4.7

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max input tokens204800
Max output tokens131072

Provider Notes

General LLM inference is an integration preview. Managed billing and deployment acceptance must be enabled before requests can be served.

Performance

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-4.7",
  "messages": [
    {
      "role": "user",
      "content": "Help me plan my next project."
    }
  ],
  "max_tokens": 256
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modelz-ai/glm-4.7 — Required model identifier.
max_tokensView Accepted Values
reasoningView Accepted Values
include_reasoningView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Max input tokens204800
Max output tokens131072

Similar Models

Explore more language models and compare their capabilities.

ModelContextInput PriceOutput Price
GLM-5.2Z.AI1M tokens$1.19 / 1M tokens$3.74 / 1M tokens
GLM-5Z.AI204.8K tokens$0.85 / 1M tokens$2.72 / 1M tokens
GLM-4.7-FlashXZ.AI204.8K tokens$0.0595 / 1M tokens$0.34 / 1M tokens
Claude Haiku 5.5Anthropic1M tokens$0.085 / 1M tokens$0.425 / 1M tokens
GPT-6.1 SolOpenAI1.1M tokens$1.70 / 1M tokens$8.50 / 1M tokens
Claude Sonnet 5.5Anthropic1M tokens$1.70 / 1M tokens$8.50 / 1M tokens
View All Language Models