GLM 5.4 API pricing

GLM 5.4 from Z.ai runs on 3 providers. The lowest price is $1.40 input and $4.40 output per 1M tokens, on Z.ai. Every provider charges the same. This page shows the current price for each listed model. Read features for what people ask an agent to do, and the product for the step where a task stops.

New to token pricing? Read how AI API pricing works: input, output and cached tokens, and cost per finished task.

Updated

Lab
Z.ai
Context
1.05M
Input
Text and images
Providers
3

Specs

GLM 5.4 specs
Context window1,048,576 tokens
Max output131,072 tokens
Release date23 November 2026
Input and outputInput: text, image, video, PDF. Output: text.
Tool callingYes
ReasoningYes
Open weightsNo

Context and max output can differ by provider. Each provider’s limit is in the price table.

Every price, by provider

GLM 5.4 prices by provider, in US dollars per 1 million tokens
ProviderInputOutputCachedCache writeBatch inBatch outContextMax output
Z.aifp8$1.40$4.40$0.26–––1.05M131K
Crusoefp8$1.40$4.40$0.26–––1.05M944K
Basetenfp8$1.40$4.40$0.14–––1.05M262K

Questions about GLM 5.4

What is the context window of GLM 5.4?
The context window of GLM 5.4 is 1,048,576 tokens.
What is the max output of GLM 5.4?
The max output of GLM 5.4 is 131,072 tokens.
What is the release date of GLM 5.4?
The release date of GLM 5.4 is 23 November 2026.
Does GLM 5.4 support tool calling?
Yes. GLM 5.4 supports tool calling.

Prices in US dollars. Token prices are per 1 million tokens. abracadabra compiles them from each provider’s listing on OpenRouter, the LiteLLM price list (MIT licence, © 2023 Berri AI), model specs from models.dev (sst/models.dev, MIT licence, © 2025 models.dev) and the providers’ own pricing pages, and refreshes them daily. Check a provider’s page before you commit to a price. The compilation is free to use under CC BY 4.0, with a link back; data from each source stays under that source’s terms: /api/ai-pricing.

See which tasks your agent finishes.

A price says what a call costs. abracadabra reads every conversation your agent has and shows the topics people bring, the tasks that get done and the turn where the rest stop.

The free plan does not ask for a card. We open the workspace after this request.