Z.ai (GLM) logo

Z.ai: GLM 5.1

z-ai/glm-5.1

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...

Modalities

TextText

In / out price

$0.96 / $3.03 per 1M

Context

205K

Released

Apr 7, 2026

Why use GLM 5.1

  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs

Pricing

Input$0.96 / 1M tokens
Output$3.03 / 1M tokens
Cached input (read)$0.18 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

How it ranks

Intelligence index26.1
Coding index55.8
Agentic index23.9

Source: Artificial Analysis (artificialanalysis.ai) via OpenRouter (openrouter.ai/rankings).

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
Z.ai: GLM 5.1$0.0068$6.83$6.83

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

Z.ai: GLM 5.1

204,800 tokens ≈ 308 pages

Fits: uses 59% of the window.

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from Z.ai (GLM)