All models
Z.ai

GLM 4.7

glm-4.7

Pricing

~99.7%
Input
$0.00154 / 1,000,000 tokens
Output
$0.00616 / 1,000,000 tokens
Cache read
$0.000308 / 1,000,000 tokens
Cache write
$0.00154 / 1,000,000 tokens
How pricing works

Discount history

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

Model details

Input
text
Output
text
Context window
128,000 tokens
Maximum output
32,768 tokens
Availability
$9.2KUncapped 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_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p