All models
Z.ai

GLM 5

glm-5

Pricing

~99.5%
Input
$0.00505 / 1,000,000 tokens
Output
$0.01616 / 1,000,000 tokens
Cache read
$0.00101 / 1,000,000 tokens
Cache write
$0.00505 / 1,000,000 tokens
How pricing works

Discount history

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

Model details

Input
text
Output
text
Context window
198,000 tokens
Maximum output
32,768 tokens
Availability
$8.9KUncapped capacity
Updated
11/8/2026, 3:58:06 AM UTC

Capacity is reserved when your request is accepted.

Capabilities

ChatStreamingReasoning

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p