Z.ai: GLM 5.1

Text input Text output
Author's Description

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Key Specifications
Cost
$$$$$
Context
202K
Released
Apr 07, 2026
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Seed Frequency Penalty Top P Response Format Reasoning Temperature Stop Presence Penalty Include Reasoning Max Tokens
Features

This model supports the following features:

Response Format Reasoning
Performance Summary

GLM-5.1, provided by z-ai, demonstrates moderate speed performance, ranking in the 21st percentile across seven benchmarks. It is positioned at premium pricing levels, falling into the 10th percentile for cost. A standout feature is its exceptional reliability, achieving a 100% success rate across all benchmarks, indicating minimal technical failures. The model excels in several critical areas. It achieved perfect accuracy in Hallucinations, General Knowledge, and Reasoning benchmarks, often being the most accurate model at its price point and speed. Its coding capability is particularly strong, with 96.0% accuracy, aligning with its description of a major leap in coding. Instruction Following also shows strong performance at 83.0% accuracy. While Email Classification and Ethics benchmarks show solid accuracy at 97.0% and 98.0% respectively, these scores place it in the 39th and 34th percentiles, suggesting there's room for improvement relative to other models in these specific categories. Overall, GLM-5.1 is a highly reliable model with significant strengths in knowledge, reasoning, and coding, albeit at a premium price and moderate speed.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $1.4
Completion $4.4
Input Cache Read $0.26

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
Io Net
Io Net | z-ai/glm-5.1-20260406 202K $1.4 / 1M tokens $4.4 / 1M tokens
DeepInfra
DeepInfra | z-ai/glm-5.1-20260406 202K $1.4 / 1M tokens $4.4 / 1M tokens
Parasail
Parasail | z-ai/glm-5.1-20260406 202K $1.4 / 1M tokens $4.4 / 1M tokens
Z.AI
Z.AI | z-ai/glm-5.1-20260406 202K $1.4 / 1M tokens $4.4 / 1M tokens
Friendli
Friendli | z-ai/glm-5.1-20260406 202K $1.4 / 1M tokens $4.4 / 1M tokens
AtlasCloud
AtlasCloud | z-ai/glm-5.1-20260406 202K $1 / 1M tokens $3.2 / 1M tokens
Novita
Novita | z-ai/glm-5.1-20260406 204K $1.4 / 1M tokens $4.4 / 1M tokens
Fireworks
Fireworks | z-ai/glm-5.1-20260406 202K $1.4 / 1M tokens $4.4 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by z-ai