{"id":"dashscope/glm-5.2","name":"GLM-5.2","vendor":"Z.ai","kind":"text","description":"GLM-5.2 can work through long engineering tasks using source text and results from tools. A million-token context keeps earlier decisions within reach.","useCases":["Plan a refactor across several services","Revise a debugging plan after reading test output"],"technical":[{"label":"API model ID","value":"dashscope/glm-5.2"},{"label":"Provider","value":"Z.ai"},{"label":"Modality","value":"Text"},{"label":"Input","value":"Chat messages"},{"label":"Output","value":"Text"},{"label":"Endpoint","value":"POST /v1/chat/completions"},{"label":"API constraints","value":"While thinking is on, tool_choice cannot force a tool: use auto or none."}],"parameters":[{"name":"messages","type":"","description":""},{"name":"temperature","type":"","description":""},{"name":"top_p","type":"","description":""},{"name":"max_tokens","type":"","description":""},{"name":"max_completion_tokens","type":"","description":""},{"name":"stream","type":"","description":""},{"name":"stream_options","type":"","description":""},{"name":"tools","type":"","description":""},{"name":"tool_choice","type":"","description":""},{"name":"parallel_tool_calls","type":"","description":""},{"name":"enable_thinking","type":"","description":""},{"name":"thinking_budget","type":"","description":""},{"name":"seed","type":"","description":""},{"name":"stop","type":"","description":""},{"name":"presence_penalty","type":"","description":""},{"name":"top_k","type":"","description":""},{"name":"repetition_penalty","type":"","description":""}],"pricing":{"currency":"USD","generated":"2026-11-21T02:23:44Z","notes":[],"rates":[{"charge":"per 1M input tokens","options":"","price":1.68,"from":null,"until":null,"note":null,"status":"active"},{"charge":"per 1M output tokens","options":"","price":5.28,"from":null,"until":null,"note":null,"status":"active"},{"charge":"per 1M cached input tokens","options":"","price":0.336,"from":null,"until":null,"note":null,"status":"active"}]},"links":{"page":"https://sociaro.com/models/dashscope/glm-5.2","markdown":"https://sociaro.com/models/dashscope/glm-5.2.md","json":"https://sociaro.com/models/dashscope/glm-5.2.json","pricing":"https://sociaro.com/pricing?model=dashscope%2Fglm-5.2","docs":"https://docs.sociaro.com/models/dashscope-glm-5-2/","playground":null},"examples":[]}