
GLM-5.1
Z.ai
- پنجرهٔ زمینه
- 203K 202٬752 توکن
- حداکثر خروجی
- 131K 131٬072 توکن
- ورودی / خروجی
- متن → متن
قیمتهای API
USD / یک میلیون توکن
| ورودی | خروجی | ورودیِ ذخیرهشده در حافظهٔ نهان |
|---|---|---|
|
|
|
خط زمانی
- · نسخهٔ وزنها · پیوند شواهد
قیمت ورودی / خروجی · USD / یک میلیون توکن
| مدل | پیوندهای شواهد | قیمت ورودی / خروجی |
|---|---|---|
glm-5.1standard | zai-pricing مسیر API در دسترس نیست | $1٫40 / $4٫40 |
- · پیوندهای شواهد · GitHub search · Z.ai · pulls · anomalyco/models.dev · @models-dev-automation[bot]
- · پیوندهای شواهد · GitHub search · Z.ai · pulls · BerriAI/litellm · @dparkmit24
گزیده
env -u ZAI_API_KEY python -c 'import litellm; print(litellm.validate_environment(model="zai/glm-5.1"))'
- · ثبت در فهرست · GitHub · MiniMax-AI/minimax-code · code
گزیده
/** * Shared compatibility shim for the `edit` tool's arguments. * * Two model-side quirks are normalized before schema validation runs (both * mirror Pi 0.79's builtin edit tool shim): * * 1. Some models (MiniMax-M3 / GLM-5.1) emit `edits` as a JSON string even * though the public schema is `edits[]` — parse it back into an array. * 2. Legacy single-edit input (`oldText` / `newText` at the top level) is * folded into `edits[]`. * * One shared implementation is referenced by all three edit defs * (agent-core base, desktop, cloud); edit-defs-contract tests assert the * references are identical. */ export interface PreparedEditArguments { path: string; edits: { oldText: string; newText: string }[]; } export function prepareEditArguments(args: unknown): PreparedEditArguments { if (!args || typeof args !== 'object' || Array.isArray(args
این اشاره در کد، شناسهٔ مدل مورد استفاده را تأیید نمیکند.
مشخصات
GLM-5.1 مدلی از Z.ai است و وزنهای بازی دارد؛ در 2026-04-07 عرضه شد. پنجرهٔ زمینه 202٬752 توکن است. حداکثر خروجی 131٬072 توکن است. قیمت هر یک میلیون توکن ورودی $1٫40 و هر یک میلیون توکن خروجی $4٫40 است.
- پنجرهٔ زمینه
- 202٬752
- حداکثر خروجی
- 131٬072
- ورودی
- متن
- خروجی
- متن
- وزنها
- باز
- ورودی · USD / یک میلیون توکن
- $1٫40
- خروجی · USD / یک میلیون توکن
- $4٫40
- ورودیِ ذخیرهشده در حافظهٔ نهان · USD / یک میلیون توکن
- $0٫26
پرسشها
پنجرهٔ زمینهٔ GLM-5.1 چقدر است؟
پنجرهٔ زمینه 202٬752 توکن است. حداکثر خروجی 131٬072 توکن است.
قیمت GLM-5.1 چقدر است؟
قیمت هر یک میلیون توکن ورودی $1٫40 و هر یک میلیون توکن خروجی $4٫40 است. قیمت ورودیِ ذخیرهشده در حافظهٔ نهان بهازای هر یک میلیون توکن $0٫26 است.
آیا وزنهای GLM-5.1 در دسترس عموم است؟
بله. Z.ai وزنها را منتشر میکند.
GLM-5.1 چه زمانی عرضه شد؟
در 2026-04-07.