zhipuai/glm-5.2
Open flagship GLM for long-horizon coding agents and million-token context work
This model's cache
This model page returns the exact headers below. The page and /api/models/zhipuai--glm-5.2 share the model:zhipuai--glm-5.2 tag, so invalidation stays scoped to this model.
/models/zhipuai--glm-5.2public, max-age=300, stale-while-revalidate=3600catalogmodel:zhipuai--glm-5.2Workers Cache derives the key from this path/query, plus the Worker entrypoint and current Worker version.
export const Route = createFileRoute('/models/$modelSlug')({
headers: () => ({
'Cache-Control': 'public, max-age=300, stale-while-revalidate=3600',
'Cache-Tag': 'catalog,model:zhipuai--glm-5.2',
}),
})Invalidate this cache tag
await ctx.cache.purge({ tags: ['model:zhipuai--glm-5.2'] })Use this when one model changes and you do not want to evict the whole catalog.
- Released
- Jun 13, 2026
- Last updated
- Jun 13, 2026
- Context window
- 1M tokens
- Max output
- 131.1K tokens
- Open weights
- Yes
- Family
- Glm
Starts at
$1.4
per 1M input tokens
Output
$4.4
Sellers
1
No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.
Sorted by lowest input price
| Provider | Input / 1M | Output / 1M | Context | |
|---|---|---|---|---|
Zhipu AI glm-5.2 | $1.4 | $4.4 | 1M | Docs |
zhipuai/glm-5.1
GLM-5.1
Strong GLM coding model for agentic engineering, terminals, and repository generation
zhipuai/glm-5v-turbo
GLM-5V-Turbo
Fast GLM vision model for screenshots, documents, and multimodal agent tasks
zhipuai/glm-5-turbo
GLM-5-Turbo
Faster GLM-5 lane for coding agents that need lower latency