GLM-5

deprecatedmit754B / 32B

👋 Join our <a href="https://raw.githubusercontent.com/zai-org/GLM-5/refs/heads/main/resources/wechat.png" target="_blank">WeChat</a> or <a href="https://discord.gg/QR7SARHRxK" target="_blank">Discord</a> community.

Context
203K
Max output
128K
Input price
$1/1M tokens
Output price
$3.2/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Prompt Caching
Fine-tuning

Details

Model IDzai-org/GLM-5
FamilyGLM-5
Licensemit
Statusdeprecated
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters754B / 32B
Architecturemoe
Context window203K tokens
Max input—
Max output128K tokens
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$1
Output
$3.2
Cache write
—
Cache read
$0.2
Batch in
—
Batch out
—

API

GET/v1/models/huggingface/zai-org/GLM-5