Flash

Comparison·Models & Products·2026-12-06 09:16

GLM-5.4 vs Qwen4-35B-A3B vs MiniMax M4: 42 vs 25, M4 Has No Index Score Yet

Zhipu's flagship GLM-5.4 was announced on Nov 23 and opened its API on Dec 2, Alibaba's Qwen4-35B-A3B went open-weight on Hugging Face on Dec 4, and MiniMax's flagship M4 shipped on Dec 3; this comparison sets the three against Artificial Analysis' Intelligence Index v5.0.2 as read on Dec 6, the vendors' official blogs and pricing pages, across leaderboard scores, prices, specs and openness.

Three laptops side by side on a white desk in a bright sunlit office, their screens showing teal, orange and blue AI dashboards
GLM-5.4 vs Qwen4-35B-A3B vs MiniMax M4. AI-generated illustration.

Latest

1 updates · newest first
  1. Comparison published: GLM-5.4 vs Qwen4-35B-A3B vs MiniMax M4 is live.

Side by side

✓ marks the side that wins the row
Item GLM-5.4 Qwen4-35B-A3B / MiniMax M4
Price$1.40 input, $0.26 cached, $4.40 output per million tokensQwen4-35B-A3B: $0.06 input, $0.36 output; MiniMax M4: $0.80 input, $0.05 cached, $3.10 output (per million tokens)✓
Intelligence Index42 (Max, Artificial Analysis v5.0.2)Qwen4-35B-A3B: 25 (Xhigh); MiniMax M4: not published
FrontierCode-AA 2.028.2% (Artificial Analysis)Qwen4-35B-A3B: 16.1% (Artificial Analysis); MiniMax M4: 33.0 (technical report, measured by Artificial Analysis with the Stirrup framework)✓
Terminal-Bench 4.146.5% (Artificial Analysis)Qwen4-35B-A3B: 21.2% (Artificial Analysis); MiniMax M4: 56.6 (MiniMax technical report)
Context window1 million tokensQwen4-35B-A3B: 1,048,576 tokens; MiniMax M4: 1 million tokens
OpennessClosed weights, not publishedQwen4-35B-A3B: Apache 2.0, open; MiniMax M4: weights not published✓
Cost per index task$5.08 (Artificial Analysis Intelligence Index)Qwen4-35B-A3B: $0.55; MiniMax M4: not published

Verdict

Verdict: Intelligence Index scores are 42 against 25, with M4 unlisted; on FrontierCode-AA 2.0, M4 scores 33.0, GLM-5.4 scores 28.2% and Qwen4-35B-A3B scores 16.1%; API input prices are $1.40 vs $0.06 vs $0.80 per million tokens; all three offer a 1-million-token context; Qwen4-35B-A3B is the only one with open weights published.

01Overview

The three models arrived within two weeks of each other with different vendors, positioning and openness: GLM-5.4 is Zhipu's closed flagship, Qwen4-35B-A3B is the first open-weight model in the Qwen4 family, and M4 is MiniMax's flagship, with weights promised within weeks. All three offer a 1-million-token context window, while Artificial Analysis' Intelligence Index v5.0.2 lists only two of them.

  1. Publishers and dates: Zhipu (Z.ai) announced GLM-5.4 on Nov 23, 2026 and opened its API on Dec 2; Alibaba's Qwen team released Qwen4-35B-A3B as open weights on Hugging Face on Dec 4, 2026; MiniMax released M4 on Dec 3, 2026
  2. Positioning: GLM-5.4 is Zhipu's flagship, aimed at coding and agents; Qwen4-35B-A3B is the first open-weight model in the Qwen4 family, aimed at local and self-hosted deployment; M4 is MiniMax's flagship, aimed at long-horizon agents and enterprise work and built for domestic chips
  3. Leaderboard positions: Artificial Analysis Intelligence Index v5.0.2 (read Dec 6, 2026): GLM-5.4 scores 42, Qwen4-35B-A3B scores 25, M4 is not listed; Agent Arena (Dec 3, 2026): M4 scores 1194, first among open-weight models and 17th overall, while GLM-5.4 and Qwen4-35B-A3B have no published score
  4. Openness: GLM-5.4 is closed-weight, with Zhipu saying weights follow after a safety-hardening pass and giving no date; Qwen4-35B-A3B weights are published under the Apache 2.0 license, which allows commercial use; M4 weights are not published, with MiniMax saying they follow within weeks after internal and third-party safety evaluations and giving no license terms

02Specs and pricing

On specs, all three models are natively multimodal, with a 1-million-token context window; they differ in scale and deployment: GLM-5.4 is about 750B in scale and M4 totals 2.74 trillion parameters, while Qwen4-35B-A3B holds 35B main parameters with about 3B active per token. Prices are from the vendors' official pricing pages: input costs $1.40 vs $0.06 vs $0.80 per million tokens.

  1. Model scale: GLM-5.4 is about 750B in scale on the Loop Transformer architecture, with 28 middle layers run twice per token and the first and last layers single-pass; Zhipu says it approaches the performance of 2T-to-3T-parameter models, and the parameter count is not disclosed; Qwen4-35B-A3B holds 35B main parameters with about 3B active per token, plus a 20B n-gram embedding table and a 2B multi-token prediction module, about 56B in total; M4 totals 2.74 trillion parameters with 66B active per token
  2. Architecture: GLM-5.4 uses the Loop Transformer, running 28 middle layers with shared weights twice; Qwen4-35B-A3B mixes linear and sparse attention, with 40 layers alternating Gated DeltaNet blocks and Qwen Sparse Attention blocks, routing 8 of 256 experts plus 1 shared expert per token; M4 is a natively multimodal MoE whose 68 attention layers all use the new sparse attention mechanism MSA2, with the companion system MFlashKV offloading KV cache to SSDs
  3. Context and output limits: GLM-5.4 has a 1-million-token context with 128K maximum output; Qwen4-35B-A3B has a native context of 1,048,576 tokens (Artificial Analysis lists 984K); M4 has a 1-million-token context
  4. Multimodal input: GLM-5.4 accepts text, image, video and file input and returns text (Z.ai official docs); Qwen4-35B-A3B accepts text, image and video input and returns text (model card); M4 is described as natively multimodal, with MiniMax's official blog not listing input modalities in detail
  5. Reasoning controls: GLM-5.4 cannot turn thinking off, with reasoning effort defaulting to the highest level; Qwen4-35B-A3B offers four levels — xhigh, high, low and off — defaulting to high; M4 offers five levels — low, medium, high, xhigh and max — defaulting to max
  6. API prices: GLM-5.4 costs $1.40 per million input tokens, $0.26 for cached input and $4.40 for output (Z.ai pricing page); Qwen4-35B-A3B costs $0.06 per million input tokens and $0.36 for output through its hosted API, with a 95% cache-hit discount (Alibaba Cloud API, Artificial Analysis model page); M4 costs $0.80 per million input tokens, $0.05 for cached input and $3.10 for output (MiniMax official blog and pricing page)
  7. Channels and deployment: GLM-5.4 is API-only for now, with the GLM Coding Plan subscription and Baidu AI Cloud's Ciyuansuo model marketplace as additional channels; Qwen4-35B-A3B weights are open and self-hostable, with day-zero support for Transformers, llama.cpp, vLLM, SGLang and MLX, plus BF16, FP8 and GGUF quantized versions, and a 4-bit quantized build that runs on a single consumer GPU; M4 is API-only for now, with M Plan and MiniMax Code as additional channels and weights to follow within weeks
  8. Availability: none of the three vendors publishes regional restrictions; Qwen4-35B-A3B weights are publicly downloadable from Hugging Face

03Benchmarks

Benchmarks centre on one board, Artificial Analysis' Intelligence Index v5.0.2, read on Dec 6: GLM-5.4 scores 42 at maximum reasoning effort and Qwen4-35B-A3B scores 25 at xhigh, while M4 has no index score yet; M4's coding and agent scores come from its technical report, and Agent Arena and the Vals Index are independent boards as of Dec 3. Where the same benchmark was measured by different parties, the source is noted.

  1. Intelligence Index (Artificial Analysis v5.0.2): GLM-5.4 scores 42 (Max), up 10 from GLM-5.3's 32; Qwen4-35B-A3B scores 25 (Xhigh), above the median of 11 for open-weight models of similar size; M4 is not published
  2. Cost per index task (Artificial Analysis Intelligence Index): GLM-5.4 costs $5.08 per task, close to the previous generation's $5.01; Qwen4-35B-A3B costs $0.55 per task; M4 is not published
  3. FrontierCode-AA 2.0: GLM-5.4 scores 28.2% (Artificial Analysis); Qwen4-35B-A3B scores 16.1% (Artificial Analysis, Xhigh); M4 scores 33.0 (MiniMax technical report, measured by Artificial Analysis with the Stirrup framework)
  4. Terminal-Bench 4.1: GLM-5.4 scores 46.5% (Artificial Analysis); Qwen4-35B-A3B scores 21.2% (Artificial Analysis, Xhigh); M4 scores 56.6 (MiniMax technical report)
  5. AutomationBench-AA: GLM-5.4 scores 69.4% (Artificial Analysis); Qwen4-35B-A3B scores 57.9% (Artificial Analysis); M4 is not published
  6. MMMU-Pro: GLM-5.4 scores 79% (Artificial Analysis); Qwen4-35B-A3B scores 76% (Artificial Analysis); M4 is not published
  7. Agent Arena and Vals Index: M4 scores 1194 on Agent Arena (first among open-weight models, 17th overall, $0.47 per task, Dec 3) and 61.65% on Vals Index v2.2; GLM-5.4 and Qwen4-35B-A3B have no published score on either board
  8. Vendor-published scores: Qwen4-35B-A3B's model card lists DeepSWE 61.8, NL2Repo 51.7 and HealthBench 47.4, all above Qwen3.8-Flash-Next's 58.7, 48.1 and 34.8; M4's technical report lists OSWorld v2.1 at 80.0, SWE-Marathon v1.2 at 44.0 and Finance Agent v2 at 66.7; GLM-5.4's official materials publish no comparable scores
  9. Speed: GLM-5.4 takes about 14.1 minutes per Intelligence Index task with about 32.29 seconds to the first answer token (Artificial Analysis, Z.ai API); Qwen4-35B-A3B takes about 15.2 minutes per task with about 22.79 seconds to the first answer token (Artificial Analysis, Alibaba Cloud API); M4 is not published

04How to choose

Matched by use case: for work that calls a flagship model through an API on a limited budget, MiniMax M4, at $0.80 input and $3.10 output per million tokens, below GLM-5.4's $1.40 and $4.40; for work that needs local deployment or fine-tuning, Qwen4-35B-A3B, whose Apache 2.0 weights are published; for work that selects on the Intelligence Index, GLM-5.4, whose 42 is the highest published score of the three.

  1. API calls on a limited budget: for work that calls a flagship model through an API on a limited budget, MiniMax M4, at $0.80 input and $3.10 output per million tokens; for the same 1 million input tokens plus 100,000 output tokens, M4 costs $1.11, GLM-5.4 costs $1.84 and Qwen4-35B-A3B's hosted API costs $0.096
  2. Local deployment or fine-tuning: for work that needs local deployment or fine-tuning, Qwen4-35B-A3B, whose Apache 2.0 weights are published, with a 4-bit quantized build that runs on a single consumer GPU, plus BF16, FP8 and GGUF quantized versions
  3. Long-horizon coding and terminal work: for long-horizon coding and terminal tasks, MiniMax M4, at 33.0 on FrontierCode-AA 2.0 and 56.6 on Terminal-Bench 4.1 (technical report); GLM-5.4 scores 28.2% and 46.5% on the same two (Artificial Analysis), and Qwen4-35B-A3B scores 16.1% and 21.2% (Artificial Analysis)
  4. Image and video understanding: for work that needs image and video understanding through an API, GLM-5.4, with an Intelligence Index of 42 and MMMU-Pro at 79% (Artificial Analysis), and image-evaluation scores roughly double its predecessor's; Qwen4-35B-A3B scores 76% on MMMU-Pro (Artificial Analysis)
  5. Desktop operation and financial modeling: for desktop operation and financial modeling, MiniMax M4, at 80.0 on OSWorld v2.1 and 66.7 on Finance Agent v2 (technical report), with $0.47 per task on Agent Arena; the other two models publish no comparable scores
  6. Deployment: GLM-5.4 and M4 are API-only for now, with weights unpublished for both; Qwen4-35B-A3B weights are open and self-hostable, with a hosted API available through Alibaba Cloud as well

Why it matters

all three models offer a 1-million-token context, with Intelligence Index scores of 42 against 25 and M4 unlisted; input prices span 23x, and Qwen4 is the only one with open weights published.
Useful Tap if this story helped you
Send to a friendMakes a share image for X, WeChat, Telegram and more

SourcesZ.ai GLM-5.4 official blog (Nov 23, 2026); Z.ai GLM-5.4 official docs (checked Dec 6, 2026); Z.ai GLM-5.4 official pricing page (checked Dec 6, 2026); Artificial Analysis GLM-5.4 model page (read Dec 6, 2026); Artificial Analysis Qwen4-35B-A3B model page (read Dec 6, 2026); Hugging Face Qwen 4 launch post (Dec 4, 2026); Qwen4-35B-A3B model card (read Dec 6, 2026); MiniMax M4 official blog (Dec 4, 2026); MiniMax M4 pricing page (checked Dec 6, 2026); HIMIAO GLM-5.4 flash (Dec 5, 2026); HIMIAO Qwen4-35B-A3B flash (Dec 4, 2026); HIMIAO MiniMax M4 review (Dec 4, 2026). This article is a summary of public information and does not constitute investment advice.

From HIMIAO Horizon · himiao.ai

Grab todayOpenAI Codex for Students: $100 in Free CreditsHIMIAO Picks →

Follow HIMIAO Horizon

No sign-up · Unsubscribe any time

Email

Notifications

A ping on your phone or computer when the brief is out. No email needed.

HIMIAO PicksWeekly freebies: one email every Friday, a 5-minute read

Comments

  1. Loading comments…
Ask the cat