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.
Z.ai GLM 5.4 costs $0.40 per 1M input tokens and $2.46 per 1M output tokens at the standard tier, the lowest default-region price among the 6 providers SF·SIX tracks, from PrimeIntellect. Cached input reads cost $0.0744 per 1M tokens. Updated ; prices checked . Standard default-region prices run from $0.40 / $2.46 to $1.40 / $4.40 per 1M input / output tokens; the context window is 1,048,576 tokens.
- Developer
- Z.ai (Zhipu)
- Input modalities
- text, image, video
- Output modalities
- text
- Context tokens
- 1,048,576
- Latest price observation
- 2026-12-02
- Lowest paired standard token quote
- $0.40 input / $2.46 output per 1M tokens
Providers and prices
| Provider and channel | Input | Output or native rate | Unit and status | Cache read / 1M | Context | Max output | Throughput | Latency | Uptime | Cheapest / fastest | Source and observation |
|---|---|---|---|---|---|---|---|---|---|---|---|
| PrimeIntellectOpenRouter | $0.40 | $2.46 | 1M tokenspriced · USD | $0.0744 | 1,048,576 | 131,072 | 94 tok/s | 431 ms | 100.0% | Cheapest standard price | OpenRouter2026-12-02 |
| AtlasCloudOpenRouter · fp8 | $1.40 | $4.40 | 1M tokenspriced · USD | $0.26 | 1,048,576 | 131,072 | 92 tok/s | 1.26 s | 100.0% | OpenRouter2026-12-02 | |
| BasetenOpenRouter · fp8 | $1.40 | $4.40 | 1M tokenspriced · USD | $0.14 | 1,048,576 | 262,144 | 88 tok/s | 1.01 s | 100.0% | OpenRouter2026-12-02 | |
| CrusoeOpenRouter · fp8 | $1.40 | $4.40 | 1M tokenspriced · USD | $0.26 | 1,048,576 | 943,718 | 94 tok/s | 522 ms | 100.0% | OpenRouter2026-12-02 | |
| FriendliOpenRouter · Zero data retention | $1.40 | $4.40 | 1M tokenspriced · USD | $0.26 | 1,048,576 | 943,718 | 154 tok/s | 363 ms | 100.0% | OpenRouter2026-12-02 | |
| ModalOpenRouter | $1.40 | $4.40 | 1M tokenspriced · USD | $0.26 | 1,048,576 | 943,718 | 224 tok/s | 557 ms | 100.0% | Fastest measured | OpenRouter2026-12-02 |
Cheapest standard price: $0.40 / $2.46 per 1M input / output tokens, from PrimeIntellect. Fastest measured: 224 tok/s, from Modal.
Price and release history
- · Listed on AtlasCloud (fp8) at $1.40 / $4.40 per 1M input / output tokens
- · Listed on Friendli (Zero data retention) at $1.40 / $4.40 per 1M input / output tokens
- · Listed on Modal at $1.40 / $4.40 per 1M input / output tokens
- · Listed on Z.ai (fp8) at $1.40 / $4.40 per 1M input / output tokens
- · Listed on Baseten (fp8) at $1.40 / $4.40 per 1M input / output tokens
- · Listed on Crusoe (fp8) at $1.40 / $4.40 per 1M input / output tokens
- · Listed on Friendli at $1.40 / $4.40 per 1M input / output tokens
- · Listed on PrimeIntellect at $0.40 / $2.46 per 1M input / output tokens
- · First seen by SF·SIX
- · Released
Price moves from the last 30 days of the SF·SIX change feed, from 0.5% (blended 3:1 for token prices). Every dated observation: the price-history API.
Speed by provider
| Provider and terms | Throughput | Latency | Uptime | Input / 1M |
|---|---|---|---|---|
| Modal | 224 tok/s | 557 ms | 100.0% | $1.40 |
| FriendliZero data retention | 154 tok/s | 363 ms | 100.0% | $1.40 |
| Crusoefp8 | 94 tok/s | 522 ms | 100.0% | $1.40 |
| PrimeIntellect | 94 tok/s | 431 ms | 100.0% | $0.40 |
| AtlasCloudfp8 | 92 tok/s | 1.26 s | 100.0% | $1.40 |
| Basetenfp8 | 88 tok/s | 1.01 s | 100.0% | $1.40 |
Previous 30 minutes; reported by OpenRouter. Fastest first.
Cost of common workloads
| Model | Support chatbot / month | RAG / research assistant / month | Batch summarisation / month |
|---|---|---|---|
| Z.ai GLM 5.4 | $79.28 | $98.50 | $52.32 |
| R1 0528 | $80.50 | $110.10 | $60.75 |
| GLM 5 | $83.40 | $122.88 | $69.60 |
| Morph V3 Fast | $84.00 | $144.80 | $86.00 |
Support chatbot: 50,000 requests a month of 1,500 input and 400 output tokens; RAG / research assistant: 20,000 requests a month of 8,000 input and 700 output tokens; Batch summarisation: 10,000 requests a month of 10,000 input and 500 output tokens. Each model at its standard headline price, next to the 3 comparable models priced nearest to it. Prompt caching, batch discounts and long-context prices are not included, so the estimates are indicative. Estimate your own workload
Alternatives
| Model | Input / 1M | Output / 1M | Context | Why listed |
|---|---|---|---|---|
| Gemini 3.5 Flash LiteGoogle DeepMind | $0.30 | $2.50 | 1,048,576 | 7% cheaper (blended), same or larger context |
| Hy4Tencent | $0.417 | $1.25 | 1,048,576 | 32% cheaper (blended), same or larger context |
| MiMo-V2.6-Flash-MOPDXiaomi | $0.50 | $1.00 | 1,048,576 | 32% cheaper (blended), same or larger context |
| GLM 5Z.ai (Zhipu) | $0.60 | $1.92 | 204,800 | also by Z.ai (Zhipu) |
| GLM 4.5VZ.ai (Zhipu) | $0.60 | $1.80 | 65,536 | also by Z.ai (Zhipu) |
| GLM 4.5Z.ai (Zhipu) | $0.60 | $2.20 | 131,072 | also by Z.ai (Zhipu) |
Models with the same output modalities from other model families, at their standard headline prices. Intelligence Index: Artificial Analysis, where scored.
Capabilities
| Capability | Support |
|---|---|
| Input modalities | text, image, video |
| Output modalities | text |
| Image input (vision) | Yes |
| Tool calling | Yes (6 of 6 endpoints) |
| Structured outputs (JSON) | Yes (5 of 6 endpoints) |
| Reasoning | Yes (6 of 6 endpoints) |
| Web search | Not listed |
| Log probabilities | Yes (3 of 6 endpoints) |
| Seed | Yes (3 of 6 endpoints) |
| Max output tokens | 943,718 |
From the model’s modalities and its providers’ published parameter lists. “Not listed” means no provider lists the parameter, not that the model cannot do it.
Compare and estimate
Frequently asked questions
How much does Z.ai GLM 5.4 cost per 1M tokens?
$0.40 per 1M input tokens and $2.46 per 1M output tokens at the standard tier, the lowest default-region price SF·SIX tracks, from PrimeIntellect.
Which providers offer Z.ai GLM 5.4?
6 providers with 6 priced endpoints: AtlasCloud, Baseten, Crusoe, Friendli, Modal, PrimeIntellect.
What is the context window of Z.ai GLM 5.4?
1,048,576 tokens, with up to 943,718 output tokens per request on its providers.
How fast is Z.ai GLM 5.4?
The fastest measured endpoint is Modal at 224 tok/s with 557 ms latency, as reported by OpenRouter for the previous 30 minutes.
What are cheaper alternatives to Z.ai GLM 5.4?
Gemini 3.5 Flash Lite at $0.30 / $2.50 (7% cheaper, blended); Hy4 at $0.417 / $1.25 (32% cheaper, blended); MiMo-V2.6-Flash-MOPD at $0.50 / $1.00 (32% cheaper, blended). Standard prices per 1M input / output tokens.
Which features does Z.ai GLM 5.4 support?
Its providers list tool calling, structured outputs (JSON), reasoning, log probabilities, seed. It takes text, image, video input and returns text output.
How much does a support chatbot cost with Z.ai GLM 5.4?
About $79.28 a month for 50,000 requests of 1,500 input and 400 output tokens, at the standard headline price before caching and batch discounts.
Prediction markets
Z.ai GLM 5.4 meets the rule for SF·SIX price ladders; the current average standard input price across qualifying OpenRouter endpoints is $1.23 per 1M tokens. Open Z.ai GLM 5.4 markets (Hedera testnet, test funds only) · How AI prediction markets work
Sources and freshness
| Source | Records | Latest observation | Source checked |
|---|---|---|---|
| OpenRouter | 6 |
Data as of . Price changes: the SF·SIX change feed, last 30 days. Prices are USD per 1M tokens at the standard service tier in the default region: the cheapest qualifying provider per model, with flex, batch, priority and fast endpoints and unusually low outliers never used as the headline. “Blended” weights input and output 3:1. Methodology
These are dated, non-executable observations. Verify the exact endpoint, price and terms with the source before use. Unknown values are not free.