AI DevelopmentDecision Matrix10 min readPublished

MiniMax M4 vs Kimi K3.1 Pro vs Ergo vs GLM-5.4 Compared

Four open-weight flagships, one week. Price and weights differ more than the benchmark rows do, and the vendors\u2019 own reports never put all four in the same table.

DA
Digital Applied
PublishedDecember 4, 2026
Read time10 min
SourcesVendor model pages, technical report, Hugging Face repositories and pricing pages, December 4, 2026

Four flagship models from open-weight labs are on offer as of December 4, 2026: MiniMax M4, Kimi K3.1 Pro, Amazon Ergo and GLM-5.4. M4 is the cheapest to call at $0.80 input and $3.10 output per million tokens, but its weights are not downloadable yet. Ergo and Kimi K3.1 Pro can be downloaded today under custom licences. GLM-5.4 gained a pay-as-you-go price this week and still has no public weights.

The benchmark picture is harder to read than the price list. MiniMax’s report compares M4 with Kimi K3.1 Pro and GLM-5.3. Amazon’s model card compares Ergo with Kimi K3.1 Pro and GLM 5.3. No vendor report puts M4 and Ergo in one table, and none includes GLM-5.4. Kimi K3.1 Pro and GLM-5.3 appear in both, and Kimi is the thread that connects them most usefully.

Key takeaways
  1. 01
    Cheapest API: MiniMax M4$0.80 in and $3.10 out per million tokens, against $1 and $3 for Ergo on Bedrock, $1.40 and $4.40 for GLM-5.4 and $2 and $10 for Kimi K3.1 Pro.
  2. 02
    Two models you can download todayAmazon Ergo (626 GB in MXFP4) and Kimi K3.1 Pro both publish weights on Hugging Face. Both licences carry a $20 million model-as-a-service clause.
  3. 03
    M4 and GLM-5.4 weights are still missingMiniMax says it hopes to open-source M4 within a few weeks. Z.ai has not published GLM-5.4 weights, and its Hugging Face repository returns an access error.
  4. 04
    Read each benchmark table on its ownThe two reports give different Kimi scores for rows with the same name. Do not subtract one vendor’s number from another’s.
  5. 05
    Vision narrows the fieldErgo takes text only. M4, Kimi K3.1 Pro and GLM-5.4 accept images and video.

01 — The fieldFour models, four different release states

The four models arrived within about six weeks of each other. Kimi K3.1 Pro was announced on October 24. Z.ai opened GLM-5.4 through its Coding Plan on November 23, as covered in our earlier piece on the repeated layers and Coding Plan access. Amazon announced Ergo on December 1, and MiniMax released M4 on December 3.

Release state matters more than the launch date. A model with downloadable weights can be run on your own hardware, fine-tuned and hosted by a provider you choose. A model reachable only through its maker’s API behaves like any other cloud service: its price and terms can change, and your data goes where the vendor’s contract says it goes. Three of these four had an API on day one. Only Ergo and Kimi K3.1 Pro have weights anyone can download today.

This article compares the four and links to the launch coverage instead of repeating it. For M4’s price tiers and plans see the MiniMax M4 launch article. For Ergo’s download sizes and licence text see the Amazon Ergo article.

02 — At a glanceSpecifications, price and licence on one table

The table below puts the facts a buyer needs first on one grid. Prices are each vendor’s own list price per million tokens for uncached input and output. Ergo’s price is Amazon’s Bedrock price, because Bedrock is the first-party API Amazon lists for it. Z.ai’s GLM-5.4 price is new since our November 23 article, which listed no API tariff.

Two details deserve a second look. Parameter counts are not comparable in a simple way, because these are mixture-of-experts models and only a fraction of the parameters work on each token. And Z.ai’s model page describes GLM-5.4 as built on a roughly 750B-parameter base and does not state an active count, so the cell below says so instead of guessing.

Sources: MiniMax M4 blog post and technical report; Moonshot AI’s Hugging Face model card, licence and pricing page; Amazon’s Ergo model card and Bedrock price; Z.ai’s pricing and GLM-5.4 pages. Retrieved December 4, 2026.
MiniMax M4Kimi K3.1 ProAmazon ErgoGLM-5.4
ReleasedDecember 3, 2026October 24, 2026; weights on Hugging Face since early NovemberDecember 1, 2026November 23, 2026 (Coding Plan); API price listed by December 4
Parameters, total / active2.74T / 66B2.8T / 104B1.1T / 55BAbout 750B base model; active count not stated
Context1,000,000 tokens1,048,576 tokens1,048,576 tokens1M tokens
Input typesText, image, videoText, image, videoText onlyText, image, video, file
API price per 1M, in / out$0.80 / $3.10 (cached input $0.05)$2 / $10 (cached input $0.20)$1 / $3 on Bedrock, global inference (cached input $0.03)$1.40 / $4.40 (cached input $0.26)
Weights you can downloadNo. MiniMax hopes to release them “within the next few weeks”Yes, Hugging FaceYes, Hugging Face; MXFP4 626 GBNo public repository
LicenceNone published yetCustom Kimi K3.1 Pro LicenseCustom Amazon Ergo Open-Weights LicenseNone published

03 — CostWhat the price gap means for a real workload

Per-million prices are easier to compare after they are applied to a job. Take a batch that sends 10 million input tokens and receives 2 million output tokens, with no caching. At list prices that costs $14.20 on M4, $16.00 on Ergo, $22.80 on GLM-5.4 and $40.00 on Kimi K3.1 Pro. The arithmetic is input price times 10 plus output price times 2 for each model. Kimi’s own faster tier, Highspeed, is listed at $4 and $20, double the standard rate.

Three caveats keep this from being a final answer. First, cached input is much cheaper on all four, from $0.03 to $0.26 per million, so an agent that re-reads the same repository will pay less than the plain figure. Second, reasoning models spend output tokens on thinking, and M4 and Ergo both always reason, so the output count in a real run can be far larger than the visible answer. Third, a cheaper model that needs more retries costs more per accepted result. Count dollars per task your reviewers accept, not dollars per token.

A router or hosting provider may list a different price for the same model than the maker does. This table uses each maker’s or first-party seller’s own page.

Worked example

Workload: 10M input tokens plus 2M output tokens, uncached. M4 $14.20. Ergo $16.00. GLM-5.4 $22.80. Kimi K3.1 Pro $40.00. These use the list prices in the table above and our own arithmetic.

04 — Weights and licenceDownloadable is not the same as unrestricted

Ergo and Kimi K3.1 Pro are both described as open-weight, and both licences are custom documents rather than an OSI-approved open-source licence. Their commercial terms look alike. Each lets you use, modify and sell, with one condition aimed at companies that resell inference.

Moonshot’s licence defines “Model as a Service” as giving a third party access to inference or fine-tuning, for example through an API, in a way that lets them control inputs, parameters or training data. A licensee that runs such a business and whose group revenue exceeds 20 million US dollars over any 12 months must sign a separate agreement with Moonshot before using the software commercially. The licence exempts internal use and use through Moonshot’s own products or certified inference partners. It adds an attribution rule: a product with more than 100 million monthly active users, or more than 20 million dollars in monthly revenue, must show “Kimi K3.1-Pro” on its interface.

Amazon’s licence has the same $20 million model-as-a-service threshold and also bans using Ergo to reconstruct its training data. Our Ergo article covers the exact wording. For a business that uses a model inside its own products, neither threshold applies in practice. For a hosting company or an API reseller with more than $20 million in revenue, both models need a conversation with the vendor first.

M4 and GLM-5.4 have no licence to read, because there are no published weights. MiniMax says weights will follow after internal and third-party safety evaluations. Z.ai’s November announcement tied weight publication to safety work and gave no date. Until a licence is published, plan nothing that depends on self-hosting either model.

Weights you can run

Ergo is not the only model you can run today. Kimi K3.1 Pro’s weights are on Hugging Face too, with a licence that carries the same $20 million clause. The practical difference is size. Ergo’s MXFP4 download is 626 GB. Kimi’s repository holds roughly 2.8 TB of tensors by its parameter counts, our own arithmetic.

05 — BenchmarksMiniMax’s report: M4 against Kimi and GLM-5.3

Every number on this page that describes quality comes from a vendor’s own report. They are claims until an independent lab reproduces them.

MiniMax’s Table 2 compares M4 with Kimi K3.1 Pro, DeepSeek-V4.1-Flash-1017, GLM-5.3, two Claude models, GPT-6.2 Sol and Gemini 4 Neon. It does not include GLM-5.4 or Ergo. The report says M4 has the highest score among the compared open-weight models on 27 of 30 benchmarks, and on 10 of 11 agentic coding rows. The rows below are a selection of ten, taken from that table with the three open-weight models this article is about.

M4 is ahead in seven of the ten rows shown and behind Kimi in three: Terminal Bench 4.1, GDPx v1.0 and PMPP-Hard. The report also states its own limits, including a gap to frontier proprietary models in software development.

Source: MiniMax-M4 technical report, Table 2 (vendor-reported). GLM-5.3, not GLM-5.4. A dash means the report lists no result.
BenchmarkMiniMax-M4Kimi K3.1 ProGLM-5.3
FrontierCode-AA 2.033.025.521.6
Terminal Bench 4.156.668.240.9
SWE-Marathon v1.244.039.232.9
Frontier SWE-v238.834.430.2
ProgramBench40.031.519.0
Terminal Bench Science42.938.18.1
OSWorld v2.180.079.6—
Vals Index v2.261.760.958.4
GDPx v1.05.36.32.8
PMPP-Hard85.586.981.1

06 — Ergo\u2019s cardAmazon’s card: Ergo against Kimi and GLM 5.3

Amazon’s Hugging Face model card compares Ergo with Kimi K3.1 Pro, GLM 5.3 and several other open models. It marks results taken from independently run public leaderboards with a dagger, and the unmarked cells are Amazon’s own runs. The card also reports an internal benchmark, FMR-Bench AI SWE, where Ergo scores 65.4 against Kimi’s 58.6. That benchmark is Amazon’s own, so treat it as a claim about the maker’s tasks rather than a public measure.

On the public coding rows Kimi leads Ergo on DeepSWE, Terminal-Bench 4.0, ProgramBench, Terminal-Bench Science, FrontierML, AutomationBench-AA and GDPval-AA. Ergo is ahead on FrontierSWE v2, 31.5 to 29.3. Amazon’s own claim is narrower than a general win: first among U.S. open-weights models on the seven coding benchmarks it reports, and first or second among the open-weights models it compares against.

Source: Amazon Ergo model card on Hugging Face (vendor-reported). GLM 5.3, not GLM-5.4. † marks a result from an independently run public leaderboard, per Amazon.
BenchmarkAmazon ErgoKimi K3.1 ProGLM 5.3
DeepSWE74.277.969.5
FrontierSWE v231.529.330.2†
Terminal-Bench 4.046.263.336.9
ProgramBench23.524.114.8
Terminal-Bench Science 0.121.335.75.7†
FrontierML24.529.6†19.6†
AutomationBench-AA70.0†73.3†62.2†
GDPval-AA 1.086.289.087.4

07 — Reading acrossWhy the two tables cannot be merged

It is tempting to line the two tables up and conclude that M4 beats Ergo. The numbers do not allow it. The reports do not share a row where M4 and Ergo appear together, so there is no head-to-head result for the pair.

The overlap that does exist shows why. Both reports list Frontier SWE-v2 and ProgramBench with Kimi K3.1 Pro in the table, and they give Kimi different scores. MiniMax reports 34.4 on Frontier SWE-v2 and 31.5 on ProgramBench. Amazon reports 29.3 and 24.1. Terminal Bench Science is 38.1 in one report and 35.7 in the other. The terminal benchmark is also a different version: MiniMax uses 4.1 and Amazon uses 4.0. Each vendor ran its own harness, settings or subset, so the same model name carries different results.

The sensible reading is within each table. In MiniMax’s report M4 is mostly ahead of Kimi. In Amazon’s card Ergo is mostly behind Kimi. That makes Kimi K3.1 Pro the safest common reference, and it fits an independent view. Sebastian Raschka’s December 3 analysis of open-weight lag says Kimi K3.1 Pro led open-weight models overall on the Artificial Analysis Progress Index v1 that day. His piece is dated December 3, the day M4 launched, so it may not cover M4 and does not settle that question either.

Same name, different numbers

Kimi K3.1 Pro on Frontier SWE-v2: 34.4 in MiniMax’s report, 29.3 in Amazon’s. On ProgramBench: 31.5 and 24.1. Treat a vendor’s table as that vendor’s own comparison.

08 — Which oneWhich model for which job

Use the specification table for the hard constraints first, then the benchmark rows for a shortlist. The routing below is a starting point drawn from the facts above, not a ranking.

For the lowest price, M4 lists the lowest per-token rates. For weights you can run today, Ergo is the smaller download at 626 GB in MXFP4, and its licence allows internal use, but it is text only and carries the $20 million clause for anyone offering it as a service. Kimi K3.1 Pro also has weights, at a much larger size.

For vision input, Ergo is out. M4, Kimi K3.1 Pro and GLM-5.4 accept images and video. For coding agents, Kimi K3.1 Pro leads most public rows in both reports, M4’s vendor claims lead the open-weight group on 10 of 11 agentic coding rows in its own table, and Ergo’s claim rests partly on an internal benchmark. Try two candidates on your own repository before you commit.

You want the lowest API price
MiniMax M4 at $0.80 in and $3.10 out. No weights yet.
MiniMax M4
You want weights you can run today
Ergo is a 626 GB download in MXFP4, text only. Kimi K3.1 Pro is much larger. Check the $20M clause if you resell access.
Amazon Ergo
You need image or video input
M4, Kimi K3.1 Pro or GLM-5.4. Ergo cannot read images.
Kimi K3.1 Pro
You are building coding agents
Start with Kimi K3.1 Pro, add M4 on price, and test both on your repository.
Kimi K3.1 Pro
You want a hosted option from Z.ai
GLM-5.4 at $1.40 in and $4.40 out, cached $0.26. Weights are not public.
GLM-5.4

09 — Before you commitA short test that decides it faster

Pick twenty tasks from your own backlog: a few easy, a few that failed before, and at least one that needs an image if you use vision. Run the same prompts through two models, with reasoning effort and context settings recorded. Judge acceptance by the same reviewer without seeing the model name. Record accepted results, retries and spend.

Watch two failure cases. A cheaper model can lose its advantage when it needs three tries where another needs one. And a model that scores well on a coding table can still fail on your repository’s build setup, which no vendor benchmark contains.

Set a date to look again. M4’s weights may arrive in a few weeks, GLM-5.4’s price came only this week, and any of these tables can change. Our earlier comparison of Qwen4 Max, Kimi K3.1 Pro and GLM-5.3 and the Kimi K3.1 Pro launch article hold background. If you want help choosing a model for a workflow, an AI transformation review starts from your tasks.

Decision

Shortlist by price and weights, then test two

Rule models in or out on the facts a vendor cannot spin: price, whether weights exist and what the licence allows. Then run two finalists on your own tasks. Keep each vendor’s benchmark table in its own column, and revisit M4 and GLM-5.4 once their weights and licences are published. Our AI transformation service can run that test with your team.

Model selection

Choose a model on your own tasks

Turn the shortlist into a test with your repository, your documents and a reviewer\u2019s verdict.

Price per accepted taskWeights and licence checkVision and agent tests
Working material

Bring the shortlist

  • →Two candidate models
  • →Twenty real tasks
  • →The reviewer who signs off
Answers

Frequently asked questions

MiniMax M4 lists $0.80 per million input tokens and $3.10 per million output tokens on MiniMax’s own pricing. Ergo on Bedrock is $1 and $3, GLM-5.4 is $1.40 and $4.40, and Kimi K3.1 Pro is $2 and $10. Cached input is cheaper on all four.

Digital Applied newsletter

Deep dives on AI, marketing and development.

Practical guides and fresh insights by email. No recycled takes.

Related dispatches

Related reading

Google Search

See more Digital Applied analysis in your Google results by adding us as a preferred source.

Add as a preferred source