Skip to content
Back to models
Text & chat754B-A40BReasoningCodingResearchWriting

GLM-5.1

Developed by Z.aiInput: Text · Output: Text

GLM-5.1 is Zhipu AI's 754B-total, 40B-active MIT-licensed MoE flagship model using DeepSeek Sparse Attention and 200K context for long-horizon software engineering, terminal workflows, and autonomous tool execution.

What you can do

  • End-to-end repository generation
  • Autonomous terminal debugging and repair
  • Long-horizon multi-step engineering agents

Input & output

Input
Repository specifications, terminal execution outputs, multi-turn tool logs, and text up to 200K tokens
Output
Extended reasoning trajectories, multi-file repository code, terminal commands, and tool calls

Try a prompt like this

Design and implement a complete Python CLI static analyzer for SQL migration files—including AST parsing, lock-risk rules, CLI flags, and pytest suite—ready to run in a clean repo.

Things to know

Frontier 754B MoE requires multi-node GPU clusters (~1.5TB BF16 or ~780GB FP8 across 2× 8×80GB or 1× 8×141GB H200/B200 nodes); MIT-licensed open weights supported in vLLM and SGLang.

All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.