MODELS / Z.AI

GLM 5

GLM 5 is a frontier-class, general-purpose large language model optimized for complex systems engineering and long-horizon agentic tasks. It builds on the GLM 4.5 agent-centric lineage and is designed to support multi-step reasoning, math (including AIME-style benchmarks),…

TEXTREASONINGREASONINGTOOL-USEIMPLICIT-CACHING
202.8K
CONTEXT WINDOW
131.1K
MAX OUTPUT TOKENS
$1
INPUT PRICE / 1M TOKENS
$3.20
OUTPUT PRICE / 1M TOKENS
QUICKSTART

Call it in one request.

OpenAI-compatible: change the base URL, and the setup is complete.

curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/zai/glm-5",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
SPECIFICATIONS

The full spec sheet.

Context, pricing, modalities, routing, and deployment: everything GLM 5 supports, in one table.

MODEL ID
blackboxai/zai/glm-5
DEVELOPED BY
Z.AI
MODEL TYPE
Text
RELEASED
Feb 12, 2026
CONTEXT WINDOW
202.8K
MAX OUTPUT TOKENS
131.1K
INPUT MODALITIES
text
OUTPUT MODALITIES
text
INPUT PRICE
$1 / 1M tokens
OUTPUT PRICE
$3.20 / 1M tokens
REASONING
Supported
DATA RETENTION
Standard retention
DEDICATED DEPLOYMENT
Enterprise · single-tenant
SUPPORTED PARAMETERS
max_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoning