GLM-5.4
Z.ai's GLM-5.4 coding model, used through a subscription Coding Plan in terminal and IDE agents.
Overview
GLM-5.4 is Z.ai's coding-focused flagship model, announced on November 23, 2026. It is built on a Loop Transformer that runs a block of stored layers twice, so each token passes through more computation without storing a second copy of those weights. Z.ai positions it for repository-scale coding, agent workflows and multimodal reasoning, with support for text, image, video and file inputs where the client allows attachments.
The current access route is the GLM Coding Plan, a subscription that issues a key for Claude Code, Goose, OpenAI Codex CLI, Cline, OpenCode and Roo Code. Each client points at a protocol-matched base URL, so Anthropic-compatible tools and OpenAI-compatible tools can use the same plan. Usage is metered in credits based on uncached input, cached input and output tokens. Requests outside the weekday peak window in Beijing time consume half the credits, and each tier applies both a rolling usage limit and a weekly cap.
Lite starts at $18 per month, with roughly 30% off on yearly billing; Pro and Max tiers add larger credit allowances. A standalone pay-per-token API is not available yet and is listed as pending a security assessment. Open weights are planned after safety hardening, with no release date given.
Key features
- Loop Transformer with a reused layer block
- Long context window for repository sessions
- Plan-key endpoints for terminal and IDE agents
- Anthropic- and OpenAI-compatible base URLs
- Credit metering by cached and uncached tokens
- Off-peak credit discount
- Rolling usage windows and weekly caps
- Text, image, video and file inputs
Pricing
- Pricing model
- paid
- Monthly
- From $18/month
- Yearly
- Not on record
- Free plan
- No
- Free trial
- Not on record
- Last verified
- Checked November 29, 2026
Pros
- Fits existing Claude Code, Codex CLI and IDE agent setups
- Off-peak work costs half the credits
- Eligible plans get a larger token allowance than the previous model
- Long context supports multi-file repository sessions
Cons
- No standalone pay-per-token API yet
- Access is subscription-only through the Coding Plan
- Open weights have not been released
Who should use it
- Developers using Claude Code or Codex CLI
- Teams running IDE coding agents
- Long-context repository work
- Teams planning coding subscription budgets
Facts
- Category
- AI coding
- Platforms
- Command line, IDE plug-in, API
- Integrations
- None on record
- API
- Available
- Skill level
- Team size
- Data and privacy
- We have no verified details on data handling. Read the vendor's privacy policy before uploading sensitive material.
Frequently asked questions
How much does GLM-5.4 cost?
From $18/month. Checked November 29, 2026.
Does GLM-5.4 have a free plan?
Our data lists no free plan or trial for GLM-5.4.
Who is GLM-5.4 best for?
Developers using Claude Code or Codex CLI; Teams running IDE coding agents; Long-context repository work; Teams planning coding subscription budgets.
Which platforms does GLM-5.4 run on?
Command line, IDE plug-in, API.
Does GLM-5.4 have an API?
Yes, GLM-5.4 offers an API.
