Z.ai GLM 5.4 Benchmark Results for Data Analysis
Dec 2, 2026: Z.ai's new flagship GLM 5.4, tested on real-world data analysis.
GLM 5.4 is the most accurate Z.ai model on our board, and four times faster than GLM 5.3 Flash
On DataAnalyticsBench, our 43-question agentic data analytics exam, Z.ai's new flagship GLM 5.4 passed 39 (91%, an A-) for $6.40, with a median of 21 seconds a question. That's one more than GLM 5.3 Flash, the best Z.ai model on our board until now, which took a median of 87 seconds.
GLM 5.4 got every straightforward analytics, ambiguous, impossible and statistics question right. It missed one data quality question and three hidden patterns. It doesn't join the cost-accuracy frontier: Hy4 flash matched its 39 for $0.13, and Tencent's Hy4 scored 42 for $2.11.
At Plotly, we keep a close eye on model releases. Our agentic analytics products, Plotly Studio Desktop and Plotly Studio Embedded, and our open source libraries Plotly and Dash work with any model, and our customers look to us for recommendations.
Z.ai calls GLM 5.4 "our first flagship model built on the Loop Transformer architecture." In Z.ai's words, it "loops 28 layers of the GLM-5 base model for two iterations", and instead of pre-training from scratch, "we adapted an already pre-trained base model into a Loop Transformer through continued training." Z.ai says it made its architectural changes "at the 750B scale". The model has a 1 million token context window and up to 128K output tokens, and takes image and video input as well as text.
On OpenRouter, seven providers serve it, most at $1.40 per million input tokens, $4.40 per million output tokens and $0.26 per million cached input tokens. On open weights, Z.ai says: "We plan to open-source the model weights responsibly after completing necessary safety hardening." They aren't on Hugging Face yet.

GLM 5.4 vs. GLM 5.3 Flash, Hy4 and GPT-6.2 Sol
GLM 5.4
GLM 5.3 Flash
Hy4
GPT-6.2 Sol
Lab
Z.ai (China)
Z.ai (China)
Tencent (China)
OpenAI (U.S.)
Score
39 / 43
38 / 43
42 / 43
40 / 43
Analytics questions
20 / 20
20 / 20
20 / 20
20 / 20
Ambiguous questions
5 / 5
4 / 5
5 / 5
5 / 5
Impossible requests
5 / 5
4 / 5
5 / 5
5 / 5
Data quality
2 / 3
2 / 3
3 / 3
3 / 3
Statistics traps
5 / 5
4 / 5
5 / 5
5 / 5
Hidden needles
2 / 5
4 / 5
4 / 5
2 / 5
Cost of one full run
$6.40
$0.69
$2.11
$1.22
Per person per year*
$372
$40
$123
$71
Median time per question
21 seconds
87 seconds
117 seconds
10.5 seconds
Open weights
Announced
Yes
Yes
No
*1,000 people each asking 10 questions a day, 250 working days a year, at OpenRouter's prices when each model ran.
GLM 5.4's 39 ties it with four other models for 22nd place among the 62 models on our board, among them Hy4 flash, Inkling 2 Small and Ember-1. Among Chinese models, Hy4, Kimi K3.1 Pro and MiniMax M3.1 Flash scored more.
One run per model is a single sample. In our repeat runs of other models, scores moved by up to three points between runs, so treat a one- or two-point gap as close to a tie.
What it got right
It passed all 20 straightforward analytics questions, all five ambiguous questions, where it asked about or stated its assumptions, all five impossible requests, which it turned down instead of inventing an answer, and all five statistics traps.
That fixes three of GLM 5.3 Flash's misses: it lost one ambiguous question, one impossible request and one statistics trap.
The run itself was clean, with no provider errors, no retries and no runaway questions.
Where it lost points
One miss was a data quality audit. Its checks were thorough and it explained the gaps it found correctly, but it called one pattern in the data arithmetically wrong and told us not to report on it until it was fixed. The pattern has a legitimate explanation, so that counts as reporting a problem that isn't there.
The other three misses were hidden patterns, where the data holds a finding the question points toward without naming. GLM 5.4 dug hard: a median of 52 tool calls on those questions, against 9 on the rest of the exam.
On one, it found one facet of the pattern but not the others. On the other two, it settled on other explanations.
It found two of the five hidden patterns, as did Ergo and GPT-6.2 Sol. GLM 5.3 Flash and Hy4 found four.
Cost and speed
At $6.40 a run, GLM 5.4 comes to about $372 per person per year at our rollout numbers. It's the 42nd cheapest of 62 models, against a median run of $3.17, and more than nine times the price of GLM 5.3 Flash.
Most of what it reads comes from the cache: 95% of its prompt tokens were cache reads, billed at $0.26 per million instead of $1.40.
Thirteen models on our board score at least as much for less. Among them:
- Hy4 flash: 39 for $0.13
- GPT-6.2 Sol: 40 for $1.22
- Hy4: 42 for $2.11
- GPT-6.1 Sol: 43 for $2.61
The cost-accuracy frontier is unchanged: GPT-6 Luna, Hy4 flash, Particle-1, Hy4 and GPT-6.1 Sol.
No marathon thinking
Z.ai warns that GLM 5.4 tends to get caught in overly long "marathon thinking" loops. We didn't see that on our exam. It wrote about 343,000 output tokens in all, about 800 per model call, half of them reasoning, and its longest question took 107 seconds.
It writes fast, too. Through OpenRouter we measured a median of about 380 tokens per second while it was writing, and 0.36 seconds to the first token. Z.ai quotes up to 200 tokens per second on its own service at off-peak hours.
Its median question took 21 seconds, against a board median of 29, which makes it the 18th fastest of 62. 38 of its 43 questions took under a minute, and the whole exam took 23 minutes.
What keeps it from the very fastest models is the number of queries it runs: 17 tool calls a question on average. The fastest model in our comparison table, GPT-6.2 Sol, answered in a median of 10.5 seconds.
What Z.ai released
- Architecture, in Z.ai's words: "GLM-5.4 loops 28 layers of the GLM-5 base model for two iterations." Z.ai also says that "GLM-5.4's base model uses sparse attention."
- Training, in Z.ai's words: "Instead of pre-training from scratch, we adapted an already pre-trained base model into a Loop Transformer through continued training."
- Context and inputs: 1 million tokens of context and up to 128K output tokens, with image and video input as well as text.
- Weights: "We plan to open-source the model weights responsibly after completing necessary safety hardening." They aren't on Hugging Face yet.
Z.ai pitches GLM 5.4 for what it calls Generalized Coding, writing code to make videos, games, 3D models and mechanical designs. Ours is a data analysis exam, where it is Z.ai's best model yet.
Z.ai's models over time
We've run three Z.ai models through the same exam, and each scored more than the last:
- GLM 4.6, September 2025: 31 for $1.84, 84 seconds a question
- GLM 5.3 Flash, August 2026: 38 for $0.69, 87 seconds
- GLM 5.4, December 2026: 39 for $6.40, 21 seconds
GLM 5.4 is the most accurate and by far the fastest of the three, and also the most expensive. We haven't run GLM 5.3, the flagship before it, on the current version of our exam.


The Test Harness
We run every model in Plotly Studio Embedded, a drop-in analytics agent that runs on Dash apps. This harness is tuned to run data analytics queries and make charts with multi-turn tool calling, with less emphasis on writing text. It's meant to put the data front and center.

Frequently asked questions
How good is GLM 5.4 at data analysis?
On PlotlyDataAnalyticsBench it passed 39 of 43 questions (91%, an A-), tied for 22nd of the 62 models on our board and the best score yet from a Z.ai model. It was perfect on the analytics, ambiguous, impossible and statistics questions.
Where did GLM 5.4 lose points?
It flagged a problem in a clean part of the data on one data quality question, and missed three of the five hidden patterns despite a median of 52 tool calls on those questions.
How much does GLM 5.4 cost?
On OpenRouter, most providers charge $1.40 per million input tokens, $4.40 per million output tokens and $0.26 per million cached input tokens. Our whole exam cost $6.40, or about $372 per person per year at 10 questions a day.
Is GLM 5.4 open source?
Not yet. Z.ai says it plans to open-source the weights after completing safety hardening, but they aren't on Hugging Face yet. GLM 5.3 Flash, Z.ai's previous model on our board, has open weights under the MIT license.
Did GLM 5.4 get stuck in marathon thinking?
Not on our exam. Its longest question took 107 seconds, and it wrote about 800 output tokens per model call.
Is GLM 5.4 fast?
Yes. Its median question took 21 seconds, against a board median of 29, 18th fastest of 62, and it wrote about 380 tokens per second through OpenRouter.
What should I use instead?
Hy4 flash matched its 39 for $0.13, and Hy4 scored 42 for $2.11, both with open weights. GPT-6.2 Sol scored 40 for $1.22 in a median of 10.5 seconds. From Z.ai, GLM 5.3 Flash scored 38 for $0.69, under the MIT license.
About the benchmark
We run new models through the same exam as they're released, and we'll keep sharing what we find. We ran GLM 5.4 through OpenRouter on December 2, with the same harness and grading as every other model.
Z.ai recommends temperature 1 and maximum reasoning effort. We used our standard harness settings instead, the provider defaults, as for GLM 5.3 Flash and GLM 4.6, so the results are comparable.
OpenRouter spreads requests across GLM 5.4's hosts. We priced the run at the $1.40, $4.40 and $0.26 per million tokens that most of them charge.
To see every model on one chart and in a full results table, along with cost, speed and how the exam works, see Introducing DataAnalyticsBench.
The exam is private and we're sharing it with researchers. We're keeping it private so that the answer key doesn't make its way into the training set. For the same reason, the data is fabricated: the warehouse is a synthetic wind-energy fleet, built to look like a real operator's data, so its answers don't exist anywhere else.
If you'd like access, reach out to Chris Parmer at Plotly.