zhipuai/glm-5
General GLM flagship for coding, analysis, and tool-heavy engineering workflows
This model's cache
This model page returns the exact headers below. The page and /api/models/zhipuai--glm-5 share the model:zhipuai--glm-5 tag, so invalidation stays scoped to this model.
/models/zhipuai--glm-5public, max-age=300, stale-while-revalidate=3600catalogmodel:zhipuai--glm-5Workers 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',
}),
})Invalidate this cache tag
await ctx.cache.purge({ tags: ['model:zhipuai--glm-5'] })Use this when one model changes and you do not want to evict the whole catalog.
- Released
- Feb 12, 2026
- Last updated
- Feb 12, 2026
- Context window
- 204.8K tokens
- Max output
- 131.1K tokens
- Open weights
- Yes
- Family
- Glm
Starts at
$1
per 1M input tokens
Output
$3.2
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 | $1 | $3.2 | 204.8K | Docs |
zhipuai/glm-5.2
GLM-5.2
Open flagship GLM for long-horizon coding agents and million-token context work
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