GLM-5.2
Pricing & Specs
Zhipu AI · $1.4 input / $4.4 output per 1M tokens · 262.144K context window
The per-token price never tells the full story. A typical task (1K input + 500 output tokens) on GLM-5.2 costs about $0.0036 — roughly $3.60 per 1,000 runs. But if it needs 3x the tokens of a cheaper model to match quality on YOUR task, the economics flip. The only way to know is to benchmark it on your actual workload.
GLM-5.2 API Pricing
| Tokens | Price |
|---|---|
| Input | $1.4 / 1M tokens |
| Output | $4.4 / 1M tokens |
| Cached input | $0.26 / 1M tokens |
50% discount available for batch API requests. Batch API pricing is available via Together at 50%; cache pricing is not published.
What that means in practice
GLM-5.2 Specs
| Spec | Value |
|---|---|
| Context window | 262.144K tokens |
| Input modalities | text |
| Output modalities | text |
| Reasoning model | Yes |
| Tool / function calling | Yes |
| JSON mode | Yes |
| Streaming | Yes |
| Prompt caching | No |
| Batch API | Yes |
FAQ
How much does GLM-5.2 cost?
GLM-5.2 costs $1.4 per 1M input tokens and $4.4 per 1M output tokens ($0.26 per 1M cached input tokens).
What is GLM-5.2's context window?
GLM-5.2 has a 262.144K-token context window.
Can I test GLM-5.2 on my own task?
Yes. OpenMark lets you benchmark GLM-5.2 against 100+ models on your own task with real API calls — no API keys needed, free tier available.
Is GLM-5.2 the right model for YOUR task?
Pricing tables can't answer that. Benchmark it against 100+ models
on your actual workload — real API calls, real costs. Free tier available.