Skip to content

Models / Z.ai

Z.aiAvailable on TokenCenter

GLM 5

z-ai/glm-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.

Key facts

Input price
$1.00 / 1M tokens
Output price
$3.20 / 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 $2.60 (1M input tokens × $1.00 + 0.5M output tokens × $3.20). 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-5", "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
27.9

Design Arena

CategoryRankEloWin rate
Agents: HTML slides18114745.1%
Agents: Godot game dev21114446.7%
Agents: Android native24116155.2%
Agents: Full-stack27112351.7%
Agents: Mobile apps32113351.6%
Models: SVG37116654.4%
Models: Game dev39123757.4%
Models: 3D40122956.3%
Models: Code41124855.5%
Models: Websites42124955%
Models: ASCII art44114947.9%
Models: Data visualization44123053%
Models: UI components48123053.6%

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_reasoninglogprobsmax_tokenspresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p