Zhipu
GLM-5.2
Zhipu's MIT-licensed flagship — a coding-agent favourite.
GLM-5.2 is Zhipu's current flagship (MIT license, 1M-token context) and a strong performer on agentic coding benchmarks — a popular cheaper alternative to frontier models in coding setups.
Best for
Coding agentsBudget buildsAutomation
Strengths
- ▸Good coding
- ▸Cheap
- ▸1M-token context
Use GLM-5.2 via AnyModel
One OpenAI-compatible endpoint — just set the model id:
curl https://anymodel.org/v1/chat/completions \
-H "Authorization: Bearer $ANYMODEL_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "am/glm-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'
AnyModel