New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
AI News

GLM-5.4 vs MiniMax M4: 4.8 Points Behind at 1.6x the Price

OpenLux Team · Published 2026-12-04

For a week, GLM-5.4 had a price and no outside score. That changed on 4 December 2026: Artificial Analysis now rates it 42 on its Intelligence Index v5.0.2, and 28.2 on FrontierCode-AA 2.0, the coding test it also ran for MiniMax M4, where M4 scored 33.0 (MiniMax benchmark chart). That is a 4.8-point gap on the same harness, and GLM-5.4 is the more expensive model: $1.40 input and $4.40 output per million tokens against M4's $0.80 and $3.10, or $228 against $142 for a month of 100 million input and 20 million output tokens, 1.61 times. The question is whether anything GLM-5.4 does well is worth that premium.

Both models are on OpenLux: see the glm-5.4 and MiniMax-M4 model pages. Prices below were read from OpenLux at about 18:00 Beijing time on 4 December. Compiled by the OpenLux Team from public sources read the same day.

Two flagships released a day apart

Zhipu opened the GLM-5.4 API on 2 December. The Z.ai model page lists a 1M-token context, 128K maximum output, and video, image, text and file input. It is Zhipu's first Loop Transformer model: 28 layers of the GLM-5 base run twice at about the 750B scale, which Z.ai says performs like a 2T to 3T model. Thinking cannot be turned off, since thinking.type only accepts enabled, and Z.ai recommends reasoning_effort: max.

MiniMax released M4 the next day, 3 December, as a 2.74-trillion-parameter mixture-of-experts model with 66 billion active parameters and a 1M context (launch post). Its default effort is also max, and thinking also stays on. Vals AI lists its maximum output at 262,144 tokens, twice GLM-5.4's 128K. MiniMax says open weights will follow within weeks; Zhipu has not said that for GLM-5.4. We covered M4's launch in MiniMax M4 Release.

The 4.8 points that compare like with like

Most M4 numbers are MiniMax's own runs at max effort, so pick the rows carefully. FrontierCode-AA 2.0 is the cleanest: MiniMax states that Artificial Analysis scored M4 on it with its Stirrup harness, and the same organisation scored GLM-5.4. On that test M4 leads 33.0 to 28.2.

Terminal-Bench 4.1 looks bigger but is not comparable. M4 shows 56.6, which MiniMax marks as self-reported, while GLM-5.4's 46.5 comes from Artificial Analysis. A 10.1-point gap between two different setups tells you less than the 4.8 points above. On the one public terminal leaderboard that runs both vendors' models with the same agent, the Vals AI Terminal-Bench 4.0 table, M4 scores 44.95% at $3.65 per task; GLM-5.4 was not listed when we checked.

So the fair summary today is one shared coding score, in M4's favour, and several M4 claims that still need an outside run. Artificial Analysis had no M4 page at 18:20 Beijing time.

What a month costs at list and on OpenLux

At list, M4 is cheaper on every line: 1.75 times on input, 1.42 times on output and 5.2 times on cache reads ($0.26 against $0.05). For the reference month, GLM-5.4 is $140 plus $88, or $228, and M4 is $80 plus $62, or $142. If 80% of your input hits the cache, GLM-5.4 falls to $136.80 and M4 to $82, so the ratio widens to 1.67.

OpenLux prices each model through groups, and the two models sit in different ones:

Item GLM-5.4 MiniMax M4
List price, input / output per 1M $1.40 / $4.40 $0.80 / $3.10
List cache read per 1M $0.26 $0.05
OpenLux groups (ratio) Self-Deployed-1 (0.3), -2 (0.5), -3 (0.75), glm-1 (1.1) Self-Deployed-2 (0.5), -3 (0.75)
Cheapest OpenLux group, input / output $0.42 / $1.32 $0.40 / $1.55
Month, 100M in + 20M out, list $228 $142
Same month on OpenLux $68.40 (SD-1), $114 (SD-2) $71 (SD-2), $106.50 (SD-3)
FrontierCode-AA 2.0 28.2 33.0
Context / max output 1M / 128K 1M / 262,144
OpenLux API format OpenAI and Anthropic OpenAI only

Self-Deployed-1 is described as "Attractive discount, suitable for general Q&A", and Self-Deployed-3 as "Higher price. It excels at long-document sorting". M4's Self-Deployed-2 group has had uneven availability since launch, so we suggest Self-Deployed-3 for M4 production traffic; check the model page for the current state. On that basis GLM-5.4 in Self-Deployed-1 costs $68.40 a month against M4's $106.50, and the list-price order reverses: M4 costs 1.56 times as much. How groups and ratios bill is explained in OpenLux billing.

Per request the gap is small in absolute terms. A call with 50,000 input and 8,000 output tokens costs $0.1052 on GLM-5.4 and $0.0648 on M4 at list; on OpenLux it is $0.0316 for GLM-5.4 in Self-Deployed-1 and $0.0486 for M4 in Self-Deployed-3.

Where GLM-5.4 earns its place

GLM-5.4's clearest strength in the new data is restraint. On AA-Omniscience v1.1, Artificial Analysis measures how often a model avoids a wrong answer when it does not know the right one, and GLM-5.4 scores 88.06% on that non-hallucination rate. The cost is coverage: its accuracy on the same test is only 26.03%, so it says "I don't know" a lot. For support bots, internal search or anything where a confident wrong answer is worse than a refusal, that trade is useful. M4 has no Omniscience score to compare yet.

It also scores 69.4% on AutomationBench-AA, Artificial Analysis's business-workflow test, and 36.9% on HLE-Diamond. And it is a large step over its predecessor: 42 against GLM-5.3's 32 on the index, with 123 million output tokens used to run it against 135 million, 8.9% fewer, and 15.1 minutes per task against 23.6. If you already run GLM-5.3, see GLM-5.4 vs GLM-5.3; the upgrade is a model name at the same list price.

The format point matters too. On OpenLux, glm-5.4 answers on both the OpenAI-compatible and the Anthropic Messages endpoints, so it fits coding tools that only speak the Anthropic format. MiniMax-M4 is OpenAI-format only on OpenLux, even though MiniMax's own API offers both.

Where MiniMax M4 is ahead

M4 wins the shared coding score and the price list. It also has more third-party evidence than GLM-5.4 on agent work: Vals AI puts it at 61.65% on the Vals Index at $2.351 per test, and 44.95% on Terminal-Bench 4.0, neither of which has a GLM-5.4 entry yet. Its 262,144-token output ceiling helps long code generation and long reports, where GLM-5.4 stops at 128K.

The weights matter if you plan to self-host later. MiniMax has said M4's weights will be published within weeks; there is no such statement for GLM-5.4.

The setting that inflates both bills

Both models think at maximum effort by default and neither lets you switch thinking off. Artificial Analysis rates GLM-5.4 "very verbose", with 123 million output tokens on its index against a 69.6 million median, and an average of 32.66 seconds before the first answer token. Z.ai itself lists "marathon thinking" loops as a known issue and quotes 70 to 80 tokens per second at peak load. M4's documentation sets effort to max by default too.

In practice, output tokens, not the rate card, decide your bill on both. Set max_tokens on every call, lower the effort level where your task allows it, and compare actual output token counts in your usage log for a week before you commit. A model that is cheaper per token but thinks twice as long is not cheaper.

What is still unmeasured

Several numbers that would settle this comparison do not exist yet. Artificial Analysis has not published an Intelligence Index score for M4, so there is no 42-against-something headline, no M4 cost per index task to set against GLM-5.4's $5.08, and no M4 hallucination rate. Vals AI has not run GLM-5.4 on its index or on Terminal-Bench 4.0, so the $2.351-per-test and $3.65-per-task figures have no GLM-5.4 counterpart. And M4's open weights, which would let third parties test it on their own hardware, are still weeks away by MiniMax's own estimate.

GLM-5.4's other Artificial Analysis rows give a fuller picture of its profile: 52.0% on the CritPt v2 hard subset, 24.8% on Terminal-Bench-Science 0.1 and 21.6% on GDP.pdf. MiniMax's chart has science and document rows of its own, but they are MiniMax runs, not Artificial Analysis runs, so we do not pair them here. When Artificial Analysis publishes M4, the comparison should be redone row by row; until then, treat 4.8 points as the only like-for-like gap.

Which one to put in production

Choose MiniMax M4 if your workload is code generation, terminal agents or long outputs, and you call it through the OpenAI format. It has the better shared coding score, the lower list price and the higher output limit. On OpenLux, use Self-Deployed-3.

Choose GLM-5.4 if you need the Anthropic format, video or file input, or a model that prefers to decline rather than guess, or if you want the lowest monthly bill on OpenLux: $68.40 in Self-Deployed-1 for the reference month. Expect to cap its output.

Both run under one OpenLux key and one Base URL, so you can send the same prompts to glm-5.4 and MiniMax-M4 and compare the bills before deciding; How to Use GLM-5.4 shows the request setup. For the earlier comparison against GLM-5.3, see MiniMax M4 vs GLM-5.5.

To try both on one key, create an OpenLux account.

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot
  • Careers

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot
  • Careers

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |