All models
Z.AI

GLM-5.1

Z.AI's coding model built for long-horizon work, pitched as able to grind on one task for hours. Strong at planning, coding and multi-step agent runs, 200K context, text only, open content level. GLM-5.3 is newer and a fraction of the price but sits a tier lower; Kimi K3 is the stronger current open pick.

OpenOpen-weight models with lighter filters. Discuss more, refuse less.
Brilliant
Intelligence
~3.77 credits ($0.038)
Estimated price per message
2,04,800 tokens
Context window
Text
Input modalities

GLM-5.1 is a legacy model. Open GLM-5.3 to start a new chat.

See GLM-5.3

The facts

Made by
Z.AI
Content tier
OpenOpen-weight models with lighter filters. Discuss more, refuse less.
Intelligence
Brilliant
Known for
Code, Analysis, Reasoning
Estimated price per message
~3.77 credits ($0.038)Reference message with 16,000 input tokens and 1,500 output tokens. Rates shown for OpenRouter.
Price per 1M tokens
$1.82 input, $5.72 output182 / 572 credits
Cached input per 1M tokens
$0.3433.8 credits
Context window
2,04,800 tokens≈ 315 pages of text in one go
Input modalities
Text
Output modalities
Text
Tool use
Yes: search, memory, code and more
Served via
OpenRouter
API model id
Not on the API anymore. Use glm-5.3.
Status
Legacy

Charges depend on usage and provider. Currency estimates use the one-time credit pack rate of $0.01 per credit.

What GLM-5.1 is best for

Use it for

  • Writing, reviewing and fixing code
  • Multi-step reasoning: math, logic, planning
  • Research and analysis of long material
  • Agent work with tools: search, memory, code

Skip it for

  • New projects: GLM-5.3 replaces it
  • Tasks that require image input

GLM-5.1 vs the closest alternatives

Price, context and tier side by side. Open a head-to-head for the full breakdown.

ModelContent tierIntelligenceContext windowPrice per messageHead-to-head
GLM-5.1OpenBrilliant205K~3.77 credits per messageThis page
GLM-5.3OpenSmart & Cheap1M~0.42 credits per messageGLM-5.1 vs GLM-5.3

GLM-5.1: questions and answers

How much does GLM-5.1 cost?

About 3.77 credits ($0.038) for a reference message via OpenRouter. Per million tokens, $1.82 for input and $5.72 for text output. Cached input costs $0.34 per million tokens. Reference message with 16,000 input tokens and 1,500 output tokens.

Is GLM-5.1 uncensored?

GLM-5.1 is in the Open tier. Its responses can still be filtered.

Can I use GLM-5.1 via API?

GLM-5.1 is a legacy model and no longer listed on the API. Use GLM-5.3 (glm-5.3) instead. The API needs a paid account: any plan.

How big is the context window of GLM-5.1?

2,04,800 tokens. That is about 315 pages of text in one go.

What inputs and outputs does GLM-5.1 support?

Input: Text. Output: Text. It supports tool calling.

Who serves GLM-5.1 on this platform?

Available providers include OpenRouter.

What is GLM-5.1 good for?

Use it for: Writing, reviewing and fixing code; Multi-step reasoning: math, logic, planning; Research and analysis of long material; Agent work with tools: search, memory, code.

Is there a cheaper alternative to GLM-5.1?

MiMo V2.6 Pro: same tier, the same or a higher intelligence level, and about 1.08 credits per reference message instead of 3.77.

GLM-5.1 or GLM-5.3: which one should I pick?

GLM-5.1 costs about 3.77 credits per reference message, has a 205K token context window and sits in the Open tier. GLM-5.3 costs about 0.42 credits, has 1M tokens of context and sits in the Open tier. Both run in the same chat, so you can switch mid conversation and judge the answers yourself.

How can I try GLM-5.1?

GLM-5.1 is a legacy model. New chats use GLM-5.3, which you can try with free starter credits, no card needed.

What changed

Dated changes to GLM-5.1, straight from our model registry.

  • Nov 7, 2026
    Legacy

    Moved to legacy. Hidden from the model picker. Replaced by GLM-5.3

Try GLM-5.3 now.

Free credits to start, no card needed. The chat opens with GLM-5.3 selected and a prompt ready. Just send.