# GLM-5.1

GLM-5.1 نموذج ذكاء اصطناعي من Z.ai بأوزان متاحة للعامة، صدر في 2026-04-07. تبلغ سعة نافذة السياق 202,752 رمزًا. يبلغ الحد الأقصى للإخراج 131,072 رمزًا. السعر لكل مليون رمز هو $1.40 للإدخال و$4.40 للإخراج.

- المطوّر: Z.ai
- Id: zai-org/glm-5.1
- حسب التقارير: 2026-07-12T00:14:27.000Z
- صدر: 2026-04-07T00:00:00.000Z
- رصد: 2026-09-17T00:11:02.202Z
  - [رابط مصدر](https://models.dev/#glm-5.1)
- الحالة: صدر
- نسخة الأوزان: 2026-04-04
  - [رابط مصدر](https://huggingface.co/api/models/zai-org/GLM-5.1/paths-info/26e1bd6e011feb778d25ae34b09b07074139d92d)
- الرابط الأساسي: https://alexgetman.com/ar/models/z-ai/glm-5-1-833/

## أسئلة شائعة

### ما حجم نافذة السياق في 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.

## التسلسل الزمني

- 2026-11-05T17:47:34.513Z · [GitHub · MiniMax-AI/minimax-code · code](https://github.com/MiniMax-AI/minimax-code/blob/3c21163c85a9684030cb147bfef48c6284fa3c46/packages/agent-core/src/tools/edit-prepare-arguments.ts)
> /**
>  * 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
هذا المرجع في الشفرة لا يثبت وجود معرّف نموذج مستخدم فعليًا.
- 2026-11-13T19:01:50.882Z · [GitHub search · Z.ai · pulls · BerriAI/litellm · @dparkmit24](https://github.com/BerriAI/litellm/pull/32966)
> env -u ZAI_API_KEY python -c 'import litellm; print(litellm.validate_environment(model="zai/glm-5.1"))'
- 2026-11-13T19:01:50.882Z · [GitHub search · Z.ai · pulls · anomalyco/models.dev · @models-dev-automation[bot]](https://github.com/anomalyco/models.dev/pull/13561)

## روابط المصادر

- [review](https://docs.z.ai/api-reference/llm/chat-completion)
- [zai-pricing](https://docs.z.ai/guides/overview/pricing)
- [GitHub search · Z.ai · pulls · BerriAI/litellm · @dparkmit24](https://github.com/BerriAI/litellm/pull/32966)
- [GitHub · MiniMax-AI/minimax-code · code](https://github.com/MiniMax-AI/minimax-code/blob/3c21163c85a9684030cb147bfef48c6284fa3c46/packages/agent-core/src/tools/edit-prepare-arguments.ts)
- [GitHub search · Z.ai · pulls · anomalyco/models.dev · @models-dev-automation[bot]](https://github.com/anomalyco/models.dev/pull/13561)
- [hf-author-artifacts:zai-org](https://huggingface.co/api/models/zai-org/GLM-5.1/paths-info/26e1bd6e011feb778d25ae34b09b07074139d92d)
- [huggingface-router](https://huggingface.co/zai-org/GLM-5.1)
- [models-dev](https://models.dev/#glm-5.1)

## الإشارات

