pick GLM-5.4 if
- need video input through the GLM Coding Plan
model comparison
Zhipu AI against Anthropic, compared on listed price, real workload cost, context and capabilities.
GLM-5.4 adds video input; Claude Sonnet 5.5 lists text and images. Sonnet rejects temperature, top_p and top_k, and requires auto rather than forced tool selection. GLM-5.4 currently needs the GLM Coding Plan while its public model api awaits assessment.
checked 2026-11-24. sources: Z.ai docs: GLM-5.4,Claude Sonnet 5.5 model page (Anthropic docs),What's new in Claude Sonnet 5.5 (Anthropic docs)
| spec | GLM-5.4 | Claude Sonnet 5.5 |
|---|---|---|
| provider | Zhipu AI | Anthropic |
| input price | $1.4/M | $2/M |
| output price | $4.4/M | $10/M |
| cached input | $0.26/M | $0.1/M |
| blended price (3:1) | $2.15/M | $4/M |
| context window | 1M tokens | 1M tokens |
| max output | 128k tokens | 128k tokens |
| input | text, images, video | text, images |
| structured output | yes | yes |
| weights | closed | closed |
| released | November 23, 2026 | September 28, 2026 |
| workload | GLM-5.4 | Claude Sonnet 5.5 |
|---|---|---|
| one chat reply3,000 tokens in, 500 outClaude Sonnet 5.5 costs 1.7× as much as GLM-5.4 | $0.0064 | $0.01 |
| summarise a 100-page report50,000 tokens in, 1,500 out, one requestClaude Sonnet 5.5 costs 1.5× as much as GLM-5.4 | $0.08 | $0.12 |
| 1,000 classification calls500 tokens in, 20 out, per call | $0.79 | $1.20 |
| coding-agent session2M tokens in across ~60 turns, 60,000 out, no cache | $3.06 | $4.60 |
| same session, cached85% of input read from the prompt cache, the rest written to itClaude Sonnet 5.5 costs 1.3× as much as GLM-5.4 | $1.13 | $1.52 |
at listed rates. token counts are typical sizes, not measurements.
GLM-5.4 is Z.ai's flagship and its first model built on a Loop Transformer, which runs 28 layers of the GLM-5 base twice. it reads video, images, text and files across a 1M-token context.
Anthropic's mid-tier Claude model, which Anthropic describes as its best combination of speed and intelligence. it succeeds Sonnet 5 at the same $2 / $10 rate, with a 1M-token context and half the cache-read price, and sits below Opus 5.5.
GLM-5.4 lists lower input and output prices. on a coding-agent session (2M tokens in, 60,000 out) GLM-5.4 costs $3.06 and Claude Sonnet 5.5 $4.60.
yes. in an octomind session, /model octohub:glm-5.4 and /model octohub:claude-sonnet-5-5 switch models without losing the conversation, so you can draft on one and review on the other.
switch between models inside the same octomind session.
prices from the catalog of 2026-11-24