Generated hero card titled GLM-5.4 vs MiniMax M4, subtitled Nearly Half the Cost, Twice the Wait, with two labelled groups reading 39 of 43, $6.40 and 21 s for GLM-5.4 against 41 of 43, $3.52 and 50 s for MiniMax M4, footed with Plotly DataAnalyticsBench, 43 agentic questions, December 2026.
Guides & Insights

GLM-5.4 vs MiniMax M4: Nearly Half the Cost, Twice the Wait

Author

Rowan Sterling

Date Published

Models in this article · 4View all models →
Back to all posts

Two Chinese flagship releases landed ten days apart in late 2026, and they are close enough in price, context and ambition that the choice between them comes down to a single trade. GLM-5.4, released on 23 November, answers faster and costs more per run. MiniMax M4, released on 3 December, answers better and costs less per run while taking more than twice as long to think. Both run on a one-million-token context. Both are closed today, though for different reasons.

That is a cleaner decision than most model comparisons produce, and it is worth taking seriously rather than reducing to a spec sheet, because the two models get there by opposite architectural routes.

Two days, two strategies

GLM-5.4 is Z.ai's first Loop Transformer flagship. Instead of adding parameters, it runs a shared block of 28 layers through two iterations, buying reasoning depth by reusing computation rather than by growing the model. Z.ai claims that gets it to intelligence comparable to 2T–3T parameter systems, admits it can fall into long "marathon thinking" loops, and reports 10–14% shorter outputs on GPQA-Diamond and MMLU-Pro. The parameter count is not in Z.ai's post; secondary coverage puts it around 750B.

MiniMax M4 takes the opposite approach at the opposite scale. It is a 2.74-trillion-parameter mixture of experts with 66B active per token, spread across 68 transformer layers, the first four dense and the rest MoE. Routing selects 4 of 384 experts per text token plus one shared expert that is always active. Vision comes from an in-house 631M-parameter ViT trained jointly with text and video.

Both models are betting on the same thing — that serving cost, not parameter count, is the constraint that matters — and both are betting on sparse attention to get there. MiniMax's version is more aggressive. MSA2 works in 16-token blocks, selects the top 128 blocks, and gives each token a 2,048-token view of the past. MiniMax says that makes the per-token KV cache four times smaller than its previous sparse attention and the FP8 decoding kernel eight times faster, and MFlashKV keeps the full KV history on SSD at 256 bytes per 8-bit token.

Generated two-column scoreboard for GLM-5.4 and MiniMax M4: passed 39 of 43 versus 41 of 43, full-run cost $6.40 versus $3.52, median per question 21 s versus 50 s, input $1.40 and output $4.40 versus $0.80 and $3.10, context 1.05M versus 1M, weights closed versus promised. Footed 'Exam figures per Plotly; M4 architecture claims are vendor-reported.'

The exam both models sat

Plotly ran both models through the same 43-question agentic data-analysis exam within a day of each other, which makes this one of the few comparisons in the current cycle with genuinely like-for-like numbers.

• Score — MiniMax M4 passed 41 of 43 for 95% and a grade of A; GLM-5.4 passed 39 of 43 for 91% and A-.

• Cost for the full run — $3.52 for MiniMax M4 against $6.40 for GLM-5.4.

• Median time per question — 50 seconds for MiniMax M4 against 21 seconds for GLM-5.4.

• Total exam time — 58 minutes for MiniMax M4 against 23 minutes for GLM-5.4.

• Overall rank on the board — tied 10th of 63 for MiniMax M4; tied 22nd of 62 for GLM-5.4.

The category breakdowns tell you more than the totals. GLM-5.4 was perfect on ambiguous questions, impossible requests and statistics traps, dropped one data-quality question by reporting a problem that did not exist, and missed three of five hidden-pattern questions. MiniMax M4 was perfect across five categories and missed two hidden-pattern questions — a cleaner profile, and it did it while being cheaper.

The cost difference is not a rate-card artefact, which is the interesting part. MiniMax M4's tokens cost roughly 43% less on input and 30% less on output than GLM-5.4's, yet it finished the run at 55% of GLM-5.4's cost. It managed that by burning far fewer tokens overall: 29.8 million against the 182.7 million its own predecessor M3.1 Flash needed, with 96% of prompt tokens served as cache reads. GLM-5.4, by contrast, produced about 343,000 output tokens across the run and averaged 17 tool calls per question, rising to 52 on the hidden-pattern questions.

Speed is where they invert

Per question, GLM-5.4 is more than twice as fast. Per token, the ranking flips: Plotly measured MiniMax M4 at a median of about 156 tokens per second, while GLM-5.4's median generation rate was roughly 380 tokens per second. GLM-5.4 is the faster generator that finishes later, because it takes longer routes through the problem; MiniMax M4 generates more slowly but needs fewer round trips.

MiniMax's own throughput claim is about a different axis entirely — 1,589 tokens per second per chip on Huawei Ascend 950DT at 100 tokens per second per user, which it says matches DeepSeek-V4-Pro on Nvidia GB300 and is about three times Kimi K3.1's throughput on the same hardware. That is a serving-density claim, not a latency claim, and it matters if you are the one buying GPUs rather than the one buying tokens.

For most builders the practical read is this: GLM-5.4 feels interactive at 21 seconds, MiniMax M4 does not at 50. If your product surfaces an answer to a waiting human, that difference is worth more than four points of accuracy. If it feeds a batch job or an agent loop that runs unattended, it is worth almost nothing.

Capture of Z.ai's GLM-5.4 release post dated 2026-11-23, headlined 'GLM-5.4: Toward Generalized Coding with Our First Loop Transformer', showing the bullet claiming intelligence comparable to 2T-3T parameter models, the bullet on Generalised Coding, the admission that the model tends to get caught in marathon thinking loops, and the Loop Architecture diagram with its prelude, two loop passes over 28 shared layers, and Coda.

Weights: promised versus closed

Neither model is open today, but they are not closed in the same way. GLM-5.4 is API-only with no announced plan to release weights. MiniMax M4 is announced as an open-weight model whose weights will be published within a few weeks of release, after safety evaluations, with no licence named and no training data promised.

That is a real difference and it should be treated with proportionate scepticism. "Within weeks after safety evaluations" is a commitment with two escape hatches in it — the timing and the evaluation — and the announcement does not say what happens if the evaluations do not go well. But a stated intent to publish is a different starting position from silence, and for anyone planning a deployment that needs to outlive a vendor's pricing page, it is the single most important line in either release.

The specification difference is narrower than the marketing suggests. Both serve a one-million-token context. Both accept text, image and video. GLM-5.4's maximum output is around 131K tokens; MiniMax M4's is not published in the material I can verify.

Generated cost card titled 'What 1,000 analysts cost per year', with two bars labelled GLM-5.4 at $372 per person and MiniMax M4 at $204 per person, an assumption line reading '1,000 people, 10 questions a day, 250 working days', and a footer reading 'Scaled from Plotly's measured per-run exam cost; one run each.'

Where each belongs

• Real-time or interactive use — GLM-5.4. A 21-second median against 50 seconds is the largest single difference between these models that a user will feel.

• Batch analysis, long agent runs, cost-dominated workloads — MiniMax M4. Cheaper per run, more accurate on the one exam both sat, and it spent 55% of what GLM-5.4 spent to get there.

• Needing weights eventually — MiniMax M4, with the caveat that the promise has not been kept yet.

• Needing to call it today through one API with fallback — GLM-5.4 is available on OrcaRouter at $1.40 and $4.40 per million tokens with 0% markup and automatic failover. MiniMax M4 is not in our catalogue yet; it is available through MiniMax's own API and several third-party platforms, and we would rather say that than imply otherwise.

The honest summary is that MiniMax M4 is the better model on the only public test both have taken, and GLM-5.4 is the faster one. Neither result is decisive, both come from a single run of a 43-question exam that Plotly warns can move three points between runs, and the four-point accuracy gap sits close enough to that noise floor that a second run could narrow it. What will not move is the latency and the price per run, and those point in opposite directions.

Compared in this article1

Detected from this article · Benchmarks: Artificial Analysis · updated daily