anoman
Sign InGet API Key

Zhipu (GLM)

GLM 5.2

modelglm-5-2
MidStableCommunity★ Low cost in tierStreamingToolsBatchLong contextChina

Context

1.0M

Input / 1M tokens

$1.40

Output / 1M tokens

$4.40

Cached input / 1M tokens

$0.3290

Cache write / 1M tokens

— (bills at input price)

About this model

GLM 5.2

GLM 5.2 is a model by Zhipu (GLM), available through the Anoman AI OpenAI-compatible API with a 1.0M-token context window. It costs $1.40 per 1M input tokens and $4.40 per 1M output tokens, and is available from the Pro plan.

Key facts

Maker
Zhipu (GLM)
Context window
1.0M tokens
Max output
131K tokens
Lane
Community: needs account opt-in; the provider may use data for training
Modality
Text
Input price
$1.40 per 1M tokens
Output price
$4.40 per 1M tokens
Processing region(s)
cn
Route
Via SiliconFlow's API
Cheapest plan
Available from the Pro plan
Price comparison
Priced below 26 of 115 pro-band community models on Anoman (blended price: 1 part input to 3 parts output).

More models by Zhipu (GLM)

Code example

Chat completion with GLM 5.2

from openai import OpenAI

client = OpenAI(
    base_url="https://api.anoman.io/v1",
    api_key="anm-sk-..."
)

response = client.chat.completions.create(
    model="glm-5-2",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Alternatives

Similar models in our catalog

Same maker first, then the closest price to GLM 5.2 in the Anoman catalog.

Use GLM 5.2 through Anoman.