Zhipu: glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation. Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.
الأسعار
إحصاءات سريعة
الأداء
المعاملات المدعومة
كل المزوّدين = مدعوم لدى كل مصدر يقدم هذا النموذج. بعض المزوّدين = يعتمد على المصدر الذي يعالج الطلب. الافتراضي = القيمة المرسلة عندما لا تحدد شيئًا.
| المعامل | المزوّدون | افتراضي |
|---|---|---|
| frequency_penalty | بعض المزوّدين | لا يُرسل افتراضيًا |
| include_reasoning | كل المزوّدين | - |
| logit_bias | بعض المزوّدين | - |
| logprobs | بعض المزوّدين | - |
| max_tokens | كل المزوّدين | - |
| min_p | بعض المزوّدين | - |
| parallel_tool_calls | بعض المزوّدين | - |
| presence_penalty | بعض المزوّدين | لا يُرسل افتراضيًا |
| reasoning | كل المزوّدين | - |
| reasoning_effort | بعض المزوّدين | - |
| repetition_penalty | بعض المزوّدين | لا يُرسل افتراضيًا |
| response_format | بعض المزوّدين | - |
| seed | بعض المزوّدين | - |
| stop | بعض المزوّدين | - |
| structured_outputs | بعض المزوّدين | - |
| temperature | كل المزوّدين | 1 |
| tool_choice | بعض المزوّدين | - |
| tools | كل المزوّدين | - |
| top_k | بعض المزوّدين | لا يُرسل افتراضيًا |
| top_logprobs | بعض المزوّدين | - |
| top_p | كل المزوّدين | 0.95 |
الأسئلة الشائعة
كم تكلّف glm-5.2 لكل مليون token؟
الإدخال بسعر $0.69 لكل مليون token، والإخراج بسعر $2.16 لكل مليون token. الفوترة بالـ token، بدون تقريب لأحجام دفعات.
كيف أصل إلى glm-5.2 عبر API؟
أرسل الطلبات إلى نقطة UnoRouter الطرفية /v1/chat/completions مع model=glm-5.2. أيّ مكتبة عميل متوافقة مع OpenAI تعمل. المصادقة تستخدم Bearer token قياسي.