Skip to content

Models / Z.ai

Z.aiAvailable on TokenCenter

GLM 4.7

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.

Key facts

Input price
$0.54 / 1M tokens
Output price
$1.98 / 1M tokens
Context window
205K tokens
Max output
131K tokens
Accepts
Text
Returns
Text

Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $1.53 (1M input tokens × $0.54 + 0.5M output tokens × $1.98). Estimate your own usage.

Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.

Call it from your code

curl https://api.tokenctr.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENCENTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-4.7", "messages": [{"role": "user", "content": "Hello!"}]}'

Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart

Benchmarks

Artificial Analysis

Intelligence index
22.2
Coding index
45.3

Design Arena

CategoryRankEloWin rate
Agents: Android native27112756.1%
Models: ASCII art32116848.2%
Agents: Godot game dev33105835.8%
Agents: Mobile apps35110348.9%
Agents: Full-stack36105045.1%
Models: SVG48114154.3%
Models: Websites52122755.3%
Models: 3D53119154.3%
Models: Code53121854.8%
Models: Game dev57119255.2%
Models: UI components57119851.1%
Models: Data visualization59119751.2%

Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.

Supported request parameters

frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_atop_ktop_p