← All news

News / AI models / Z.ai

GLM 5.4

GLM 5.4 is an open-weight model by Z.ai, released 2 Dec 2026. It reads text, image, video and writes text, with a context window of 1M tokens and up to 944K tokens out. Through OpenRouter it costs $1.4 per million input tokens and $4.4 per million output tokens.

Facts from OpenRouter and Hugging Face · updated 3 Dec 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $5 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "z-ai/glm-5.4", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of GLM 5.4?

GLM 5.4 has a context window of 1,048,576 tokens, about 1,573 pages of text, and can write up to 943,718 tokens in one reply.

How much does GLM 5.4 cost?

Through OpenRouter, $1.4 per million input tokens and $4.4 per million output tokens. The maker's own price can differ.

Is GLM 5.4 open source?

Yes, its weights are published on Hugging Face as zai-org/GLM-5.4.

When was GLM 5.4 released?

It became available on 2 Dec 2026.

Something wrong? Email hello@capylaunch.com. All AI models

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy