WordGPT
Z.ai (GLM) logo

Z.ai: GLM 5.4

z-ai/glm-5.4

GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.

Modalities

TextImageVideoText

In / out price

$1.4 / $4.4 per 1M

Context

1.05M

Released

Dec 2, 2026

Why use GLM 5.4

  • Understands images
  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs
  • Very long context: whole books or codebases in one prompt

Pricing

Input$1.4 / 1M tokens
Output$4.4 / 1M tokens
Cached input (read)$0.26 / 1M tokens

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

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.4$0.0099$9.92$9.92

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

1,048,576 tokens ≈ 1,577 pages

Fits: uses 11% of the window (room for 8× this much).

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)