GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
curl -X POST https://ai.layercloud.ir/ollama/v1/chat/completions \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "zai/glm-5.1", "messages": [{"role": "user", "content": "Hello!"}] }'
Get an API key
Read this page in plain markdown