{"id":"glm-5-2","canonicalKey":"zhipuai/glm-5.2","name":"GLM-5.2","url":"https://www.aimodel.directory/models/glm-5-2","lab":{"id":"zhipuai","name":"Zhipu AI (Z.ai)","url":"https://www.aimodel.directory/labs/zhipuai"},"status":"active","releaseDate":"2026-06-13","deprecationDate":null,"knowledgeCutoff":null,"openWeights":true,"license":"mit","paramsTotal":753329940480,"contextWindow":1000000,"maxOutput":131072,"inputModalities":["text"],"outputModalities":["text"],"capabilities":{"reasoning":true,"toolCall":true,"structuredOutput":true},"huggingFace":{"id":"zai-org/GLM-5.2","downloads":694248,"likes":5146},"pricing":[{"provider":"openrouter","providerName":"OpenRouter","providerModelId":"z-ai/glm-5.2","currency":"USD","unit":"per 1M tokens","input":0.0792,"output":8,"cachedInput":0.0792,"contextWindow":1048576,"source":"https://openrouter.ai/z-ai/glm-5.2","retrievedAt":"2026-10-04T22:35:46.316Z"},{"provider":"deepinfra","providerName":"DeepInfra","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":0.75,"output":2.4,"cachedInput":0.14,"contextWindow":1048576,"source":"https://github.com/sst/models.dev/blob/dev/providers/deepinfra/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"vercel","providerName":"Vercel AI Gateway","providerModelId":"zai/glm-5.2","currency":"USD","unit":"per 1M tokens","input":0.8,"output":2.55,"cachedInput":0.16,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/vercel/models/zai/glm-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"siliconflow","providerName":"SiliconFlow","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":1.302,"output":4.092,"cachedInput":0.26,"contextWindow":1049000,"source":"https://github.com/sst/models.dev/blob/dev/providers/siliconflow/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"alibaba","providerName":"Alibaba Cloud Model Studio","providerModelId":"glm-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.28,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/alibaba/models/glm-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"mistral","providerName":"Mistral API","providerModelId":"zai-glm-5-2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.14,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/mistral/models/zai-glm-5-2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"zai","providerName":"Z.ai API","providerModelId":"glm-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.26,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"cloudflare-workers-ai","providerName":"Cloudflare Workers AI","providerModelId":"@cf/zai-org/glm-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.26,"contextWindow":262144,"source":"https://github.com/sst/models.dev/blob/dev/providers/cloudflare-workers-ai/models/@cf/zai-org/glm-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"databricks","providerName":"Databricks","providerModelId":"databricks-glm-5-2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.26,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/databricks/models/databricks-glm-5-2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"google-vertex","providerName":"Google Vertex AI","providerModelId":"zai-org/glm-5.2-maas","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.14,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/google-vertex/models/zai-org/glm-5.2-maas.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"nebius","providerName":"Nebius AI Studio","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":null,"contextWindow":1048576,"source":"https://github.com/sst/models.dev/blob/dev/providers/nebius/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"togetherai","providerName":"Together AI","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.26,"contextWindow":1048575,"source":"https://github.com/sst/models.dev/blob/dev/providers/togetherai/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"huggingface","providerName":"Hugging Face Inference Providers","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":null,"contextWindow":262144,"source":"https://github.com/sst/models.dev/blob/dev/providers/huggingface/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"novita-ai","providerName":"Novita AI","providerModelId":"zai-org/glm-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.26,"contextWindow":1048576,"source":"https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/zai-org/glm-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"friendli","providerName":"FriendliAI","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.26,"contextWindow":1048576,"source":"https://github.com/sst/models.dev/blob/dev/providers/friendli/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"baseten","providerName":"Baseten","providerModelId":"zai-org/GLM-5.2","currency":"USD","unit":"per 1M tokens","input":1.4,"output":4.4,"cachedInput":0.3,"contextWindow":1048576,"source":"https://github.com/sst/models.dev/blob/dev/providers/baseten/models/zai-org/GLM-5.2.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"baseten","providerName":"Baseten","providerModelId":"zai-org/GLM-5.2-Fast","currency":"USD","unit":"per 1M tokens","input":2.1,"output":6.6,"cachedInput":0.21,"contextWindow":1048576,"source":"https://github.com/sst/models.dev/blob/dev/providers/baseten/models/zai-org/GLM-5.2-Fast.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"vercel","providerName":"Vercel AI Gateway","providerModelId":"zai/glm-5.2-fast","currency":"USD","unit":"per 1M tokens","input":2.8,"output":8.8,"cachedInput":0.56,"contextWindow":1000000,"source":"https://github.com/sst/models.dev/blob/dev/providers/vercel/models/zai/glm-5.2-fast.toml","retrievedAt":"2026-10-04T22:35:42.329Z"}],"factSources":{"hfId":{"url":"https://openrouter.ai/z-ai/glm-5.2","source":"openrouter","retrievedAt":"2026-10-04T14:53:49.358Z"},"name":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"family":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"status":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"license":{"url":"https://huggingface.co/zai-org/GLM-5.2","source":"huggingface","retrievedAt":"2026-10-04T22:35:48.927Z"},"toolCall":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"maxOutput":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"reasoning":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"attachment":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"description":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"hfDownloads":{"url":"https://huggingface.co/zai-org/GLM-5.2","source":"huggingface","retrievedAt":"2026-10-04T22:35:48.927Z"},"lastUpdated":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"openWeights":{"url":"https://huggingface.co/zai-org/GLM-5.2","source":"huggingface","retrievedAt":"2026-10-04T22:35:48.927Z"},"paramsTotal":{"url":"https://huggingface.co/zai-org/GLM-5.2","source":"huggingface","retrievedAt":"2026-10-04T22:35:48.927Z"},"releaseDate":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"contextWindow":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"inputModalities":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"outputModalities":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"structuredOutput":{"url":"https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.2.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"}},"lastVerified":"2026-10-04T22:35:48.927Z","dataLicense":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"AI Model Directory (https://www.aimodel.directory/models/glm-5-2)"}}