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.
GLM-5.1 is a legacy model. Open GLM-5.3 to start a new chat.
See GLM-5.3The facts
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.
| Model | Content tier | Intelligence | Context window | Price per message | Head-to-head |
|---|---|---|---|---|---|
| GLM-5.1 | Open | Brilliant | 205K | ~3.77 credits per message | This page |
| GLM-5.3 | Open | Smart & Cheap | 1M | ~0.42 credits per message | GLM-5.1 vs GLM-5.3 |
Similar models
Same lab, same tier, cheaper picks. Each one has its own page.
- MiMo V2.6 ProCheaper, same tier · ~1.08 credits per message
- Kimi K3.1 ProCheaper, same tier · ~2.14 credits per message
- GLM 5.3 UncensoredAlso by Z.AI · ~3.04 credits per message
- GLM 5.3 Flash UncensoredAlso by Z.AI · ~0.46 credits per message
- Qwen 4 MaxSame tier · ~3.8 credits per message
- Kimi K3Same tier · ~3.52 credits per message
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.
Read more
- One key. Every model. Codex and Claude Code included.Codex CLI, Claude Code, OpenCode, Continue, Aider and Cline on one API key, uncensored models included. One base URL, one command per tool, the gotchas we hit.
- One API key, every model. OpenAI and Anthropic formats.OpenAI chat completions, the Responses API and Anthropic Messages on one endpoint. Your SDK, Claude Code and Codex CLI on every model. What it costs, and when going direct or using OpenRouter is the better call.
- A ChatGPT alternative without filters. You set the level.Mainstream models keep their filters everywhere. Here they sit next to open and uncensored ones, and you pick per message. What changes, what it costs, and when ChatGPT is still the better pick.
What changed
Dated changes to GLM-5.1, straight from our model registry.
- Nov 7, 2026Legacy
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.