All models
Z.ai

GLM 5.1

GLM-5.1 is the next-gen LLM from Z.ai with enhanced reasoning, improved instruction following, and multi-language support.

glm-5.1

Pricing

~99%
Input
$0.01444 / 1,000,000 tokens
Output
$0.045382 / 1,000,000 tokens
Cache read
$0.002682 / 1,000,000 tokens
Cache write
$0.01444 / 1,000,000 tokens
How pricing works

Discount history

99%
Nov 7, 11:57 PMNov 8, 03:56 AM UTC

Model details

Input
text
Output
text
Context window
200,000 tokens
Maximum output
24,000 tokens
Availability
$11.5KUncapped capacity
Updated
11/8/2026, 3:58:06 AM UTC

Capacity is reserved when your request is accepted.

Capabilities

ChatStreamingReasoningTool calling

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p