glm-5.1

glm-5.1

GLM-5.1 is the next-generation flagship model launched by Zhipu AI, specifically designed to tackle “long-term, complex engineering tasks.”
2026-04-10
LLM
Model capability: thinkingModel capability: function_call
Input:
$0.86/1M tokensstarting from
Output:
$3.5/1M tokensstarting from
Bulk order? Contact your manager for exclusive deals

API Overview

GLM-5.1 is the next-generation flagship model launched by Zhipu AI, specifically designed to tackle “long-term, complex engineering tasks.” GLM-5.1 boasts exceptional self-correcting and long-term optimization capabilities, enabling it to maintain high productivity across hundreds of iterations and thousands of tool calls. Whether it’s generating intricate codebases, optimizing underlying core logic, or managing autonomous development workflows lasting several hours, GLM-5.1 demonstrates judgment and execution skills that closely resemble those of human experts.───────────────────────────────────────────────────────────────────

Core Capabilities

Peak Performance in Long-Term Engineering Tasks: Achieving state-of-the-art (SOTA) performance on key engineering benchmarks such as SWE-Bench Pro, demonstrating its outstanding ability to handle large-scale, unstructured codebase tasks.

Continuous Optimization and Iterative Architecture: Equipped with powerful “repeated iteration and strategy refinement” capabilities, GLM-5.1 not only maintains—rather, continually improves—output quality as the number of tool calls increases, steadily approaching the optimal solution through continuous experimentation and self-calibration.

A “Doer” for Complex System Engineering: Supports continuous autonomous work for more than 8 hours, capable of independently completing the entire workflow—from architectural design and environment configuration to functional implementation. It excels particularly in subjective tasks like web application development, where explicit metrics are lacking.

Deep Integration with the Agentic Coding Ecosystem: Natively compatible with mainstream development workflows such as Claude Code and OpenClaw, making it the preferred model within the coding agent community and delivering developers a genuine boost in productivity.</

Playground

Log in to explore more features! Click to Log In

API Analytics

API Reference (1)

API DescriptionAPI EndpointRequest MethodStabilityParameter Description
Chat (Zhipu GLM Multimodal)
POST
Stable
View Details

API Pricing

$
ModelDescriptionContextOfficial Price302.AI Price

glm-5.1

Input length [0, 32k]
200000

Input$0.86 / 1M tokens
Output$3.5 / 1M tokens

Input$0.86/ 1M tokens
Output$3.5/ 1M tokens
Original Price

glm-5.1

Input length [32k, 200k]
200000

Input$1.2 / 1M tokens
Output$4 / 1M tokens

Input$1.2/ 1M tokens
Output$4/ 1M tokens
Original Price