Pick GLM 4.7 for genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions or strong agentic coding for the price — 73.8% on swe-bench verified undercut most closed frontier models at launch. Pick MiniMax M2.7 for agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported) or independently ranked 14th of 97 on the artificial analysis intelligence index. On a tight budget at scale, MiniMax M2.7 is the value pick.
GLM 4.7 (Z.ai) and MiniMax M2.7 (MiniMax) are two of the models people most often weigh against each other in 2026. GLM 4.7 is an MIT-licensed 358B open mixture-of-experts with strong 73.8% SWE-Bench Verified coding — but two generations behind GLM 5.2. MiniMax M2.7 is a cheap open-weight agentic coder with near-frontier terminal scores — held back by a non-commercial licence and non-standard benchmarks. They diverge most on price and context window — each quantified below from the models' real specs.
Key differences
Price: MiniMax M2.7 is about 2× cheaper on input ($0.3/$1.2 per 1M tokens vs $0.6/$2.2 per 1M tokens) — meaningful once you are processing millions of tokens a month.
Context window: 200K vs 205K — within a few percent of each other, so treat this as a tie and test on your own long inputs, since usable recall varies by model.
Recency: MiniMax M2.7 is the newer model by about 3 months (released March 18, 2026), usually meaning fresher training data and capabilities.
Specifications
Spec
GLM 4.7
MiniMax M2.7
Provider
Z.ai (China)
MiniMax (China)
Released
December 22, 2025
March 18, 2026
Context window
200K (~304 pages)
205K (~307 pages)
Price (in/out)
$0.6/$2.2 per 1M tokens
$0.3/$1.2 per 1M tokens
Open weight?
Yes — self-hostable
Yes — self-hostable
Modalities
text, code
text, code
SWE-Bench Verified
73.8%
Not published
MRCR v2 @ 1M
Not published
Not published
Who wins what
Genuinely permissive open weights — an MIT-licensed 358B mixture-of-experts with no commercial restrictions: GLM 4.7 — MiniMax M2.7 is comparatively weak here — open weights but a NON-COMMERCIAL licence — commercial use requires prior written authorisation from MiniMax, and at least one major tracker still mislabels it as MIT
Strong agentic coding for the price — 73.8% on SWE-Bench Verified undercut most closed frontier models at launch: GLM 4.7 — MiniMax M2.7 is comparatively weak here — reports SWE-Bench Pro instead of the standard Verified set, which blocks like-for-like comparison
An unusually generous 128K maximum output, which suits bulk refactors and long generation: GLM 4.7 — GLM 4.7 lists an unusually generous 128K maximum output, which suits bulk refactors and long generation among its strengths; MiniMax M2.7 does not.
Agentic and terminal coding well above its price tier (57.0 on Terminal-Bench 2, vendor-reported): MiniMax M2.7 — At $0.3/$1.2 per 1M tokens it undercuts GLM 4.7 ($0.6/$2.2 per 1M tokens), and that gap compounds at volume.
Independently ranked 14th of 97 on the Artificial Analysis Intelligence Index: MiniMax M2.7 — A cheap open-weight agentic coder with near-frontier terminal scores — held back by a non-commercial licence and non-standard benchmarks — and it runs cheaper at $0.3/$1.2 per 1M tokens.
Sparse mixture-of-experts — roughly 230B total but only ~10B active, so it runs on local hardware: MiniMax M2.7 — GLM 4.7 is comparatively weak here — text-only with no vision, and self-hosting a 358B model is a serious hardware commitment
Lowest cost at scale: MiniMax M2.7 — At $0.3/$1.2 per 1M tokens, it is the cheaper of the two — the gap dominates the bill on high-volume workloads.
Which should you pick?
A cost-sensitive startup shipping high volume: MiniMax M2.7 — At $0.3/$1.2 per 1M tokens it undercuts GLM 4.7, and on millions of tokens that margin decides the monthly bill.
Someone analysing very long documents or codebases: MiniMax M2.7 — Larger 205K window fits more in one prompt.
Anyone whose priority is genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions: GLM 4.7 — It is specifically built for that.
Anyone whose priority is agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported): MiniMax M2.7 — That is its strongest area.
GLM 4.7: where it fits
An MIT-licensed 358B open mixture-of-experts with strong 73.8% SWE-Bench Verified coding — but two generations behind GLM 5.2. Released December 22, 2025 by Z.ai, it is built for genuinely permissive open weights — an MIT-licensed 358B mixture-of-experts with no commercial restrictions, strong agentic coding for the price — 73.8% on SWE-Bench Verified undercut most closed frontier models at launch, an unusually generous 128K maximum output, which suits bulk refactors and long generation, and cheap long-running agent loops thanks to aggressive prompt caching.
Its trade-offs are real: two generations behind — GLM 5, 5.1 and 5.2 have all shipped since, and new builds should default to those, its Verified lead narrows sharply on harder evaluations like SWE-Bench Pro, and text-only with no vision, and self-hosting a 358B model is a serious hardware commitment. At $0.6 in / $2.2 out per million tokens, it sits in the budget price band.
MiniMax M2.7: where it fits
A cheap open-weight agentic coder with near-frontier terminal scores — held back by a non-commercial licence and non-standard benchmarks. Released March 18, 2026 by MiniMax, it is built for agentic and terminal coding well above its price tier (57.0 on Terminal-Bench 2, vendor-reported), independently ranked 14th of 97 on the Artificial Analysis Intelligence Index, sparse mixture-of-experts — roughly 230B total but only ~10B active, so it runs on local hardware, and served by five separate hosts at uniform pricing, so there is no provider lock-in.
Its trade-offs: open weights but a NON-COMMERCIAL licence — commercial use requires prior written authorisation from MiniMax, and at least one major tracker still mislabels it as MIT, reports SWE-Bench Pro instead of the standard Verified set, which blocks like-for-like comparison, and already superseded internally by M3, and its 205K context is small against 1M-class rivals. At $0.3 in / $1.2 out per million tokens, it sits in the budget price band.
The bottom line for this matchup
GLM 4.7 and MiniMax M2.7 overlap enough that the right pick depends on your specific job. MiniMax M2.7 costs less per token; MiniMax M2.7 holds the larger context; and each leads in its own area — GLM 4.7 for genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions, MiniMax M2.7 for agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported). Rather than crowning one, run the same hard task through both once and let the results decide.
Frequently asked questions
Is GLM 4.7 or MiniMax M2.7 better for coding?
Public SWE-Bench figures are not available for MiniMax M2.7, so the honest test is your own repository — run an identical real bug through both. By design, GLM 4.7 leans toward genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions while MiniMax M2.7 leans toward agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported), and that positioning usually predicts which feels better on your codebase.
Which is cheaper, GLM 4.7 or MiniMax M2.7?
MiniMax M2.7 is cheaper — $0.6/$2.2 per 1M tokens vs $0.3/$1.2 per 1M tokens, roughly 2× apart on input.
Which has the bigger context window?
Effectively neither — 200K vs 205K is a difference of a few percent. Remember advertised ≠ usable: recall typically degrades before the ceiling.
Can I use both GLM 4.7 and MiniMax M2.7 together?
Yes — a multi-model platform like LumiChats gives you GLM 4.7, MiniMax M2.7 and 40+ others under one ₹69/day pass (about $1/day), so you can draft with one and cross-check with the other instead of buying two subscriptions.
Which is newer, GLM 4.7 or MiniMax M2.7?
MiniMax M2.7 — released March 18, 2026, about 3 months after GLM 4.7.
GLM 4.7 vs MiniMax M2.7
Z.ai · China | MiniMax · China · Updated June 2026
Quick verdict
Pick GLM 4.7 for genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions or strong agentic coding for the price — 73.8% on swe-bench verified undercut most closed frontier models at launch. Pick MiniMax M2.7 for agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported) or independently ranked 14th of 97 on the artificial analysis intelligence index. On a tight budget at scale, MiniMax M2.7 is the value pick.
GLM 4.7 (Z.ai) and MiniMax M2.7 (MiniMax) are two of the models people most often weigh against each other in 2026. GLM 4.7 is an MIT-licensed 358B open mixture-of-experts with strong 73.8% SWE-Bench Verified coding — but two generations behind GLM 5.2. MiniMax M2.7 is a cheap open-weight agentic coder with near-frontier terminal scores — held back by a non-commercial licence and non-standard benchmarks. They diverge most on price and context window — each quantified below from the models' real specs.
Key differences at a glance
▸Price: MiniMax M2.7 is about 2× cheaper on input ($0.3/$1.2 per 1M tokens vs $0.6/$2.2 per 1M tokens) — meaningful once you are processing millions of tokens a month.
▸Context window: 200K vs 205K — within a few percent of each other, so treat this as a tie and test on your own long inputs, since usable recall varies by model.
▸Recency: MiniMax M2.7 is the newer model by about 3 months (released March 18, 2026), usually meaning fresher training data and capabilities.
Side-by-side specs
Spec
GLM 4.7
MiniMax M2.7
Provider
Z.ai (China)
MiniMax (China)
Released
December 22, 2025
March 18, 2026
Context window
200K (~304 pages)
205K (~307 pages)
Price (in/out)
$0.6/$2.2 per 1M tokens
$0.3/$1.2 per 1M tokens
Open weight?
Yes — self-hostable
Yes — self-hostable
Modalities
text, code
text, code
SWE-Bench Verified
73.8%
Not published
MRCR v2 @ 1M
Not published
Not published
Who wins what
Genuinely permissive open weights — an MIT-licensed 358B mixture-of-experts with no commercial restrictions
GLM 4.7
MiniMax M2.7 is comparatively weak here — open weights but a NON-COMMERCIAL licence — commercial use requires prior written authorisation from MiniMax, and at least one major tracker still mislabels it as MIT
Strong agentic coding for the price — 73.8% on SWE-Bench Verified undercut most closed frontier models at launch
GLM 4.7
MiniMax M2.7 is comparatively weak here — reports SWE-Bench Pro instead of the standard Verified set, which blocks like-for-like comparison
An unusually generous 128K maximum output, which suits bulk refactors and long generation
GLM 4.7
GLM 4.7 lists an unusually generous 128K maximum output, which suits bulk refactors and long generation among its strengths; MiniMax M2.7 does not.
Agentic and terminal coding well above its price tier (57.0 on Terminal-Bench 2, vendor-reported)
MiniMax M2.7
At $0.3/$1.2 per 1M tokens it undercuts GLM 4.7 ($0.6/$2.2 per 1M tokens), and that gap compounds at volume.
Independently ranked 14th of 97 on the Artificial Analysis Intelligence Index
MiniMax M2.7
A cheap open-weight agentic coder with near-frontier terminal scores — held back by a non-commercial licence and non-standard benchmarks — and it runs cheaper at $0.3/$1.2 per 1M tokens.
Sparse mixture-of-experts — roughly 230B total but only ~10B active, so it runs on local hardware
MiniMax M2.7
GLM 4.7 is comparatively weak here — text-only with no vision, and self-hosting a 358B model is a serious hardware commitment
Lowest cost at scale
MiniMax M2.7
At $0.3/$1.2 per 1M tokens, it is the cheaper of the two — the gap dominates the bill on high-volume workloads.
Which should you pick?
A cost-sensitive startup shipping high volume
→ MiniMax M2.7
At $0.3/$1.2 per 1M tokens it undercuts GLM 4.7, and on millions of tokens that margin decides the monthly bill.
Someone analysing very long documents or codebases
→ MiniMax M2.7
Larger 205K window fits more in one prompt.
Anyone whose priority is genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions
→ GLM 4.7
It is specifically built for that.
Anyone whose priority is agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported)
→ MiniMax M2.7
That is its strongest area.
GLM 4.7: where it fits
An MIT-licensed 358B open mixture-of-experts with strong 73.8% SWE-Bench Verified coding — but two generations behind GLM 5.2. Released December 22, 2025 by Z.ai, it is built for genuinely permissive open weights — an MIT-licensed 358B mixture-of-experts with no commercial restrictions, strong agentic coding for the price — 73.8% on SWE-Bench Verified undercut most closed frontier models at launch, an unusually generous 128K maximum output, which suits bulk refactors and long generation, and cheap long-running agent loops thanks to aggressive prompt caching.
Its trade-offs are real: two generations behind — GLM 5, 5.1 and 5.2 have all shipped since, and new builds should default to those, its Verified lead narrows sharply on harder evaluations like SWE-Bench Pro, and text-only with no vision, and self-hosting a 358B model is a serious hardware commitment. At $0.6 in / $2.2 out per million tokens, it sits in the budget price band.
MiniMax M2.7: where it fits
A cheap open-weight agentic coder with near-frontier terminal scores — held back by a non-commercial licence and non-standard benchmarks. Released March 18, 2026 by MiniMax, it is built for agentic and terminal coding well above its price tier (57.0 on Terminal-Bench 2, vendor-reported), independently ranked 14th of 97 on the Artificial Analysis Intelligence Index, sparse mixture-of-experts — roughly 230B total but only ~10B active, so it runs on local hardware, and served by five separate hosts at uniform pricing, so there is no provider lock-in.
Its trade-offs: open weights but a NON-COMMERCIAL licence — commercial use requires prior written authorisation from MiniMax, and at least one major tracker still mislabels it as MIT, reports SWE-Bench Pro instead of the standard Verified set, which blocks like-for-like comparison, and already superseded internally by M3, and its 205K context is small against 1M-class rivals. At $0.3 in / $1.2 out per million tokens, it sits in the budget price band.
The bottom line for this matchup
GLM 4.7 and MiniMax M2.7 overlap enough that the right pick depends on your specific job. MiniMax M2.7 costs less per token; MiniMax M2.7 holds the larger context; and each leads in its own area — GLM 4.7 for genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions, MiniMax M2.7 for agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported). Rather than crowning one, run the same hard task through both once and let the results decide.
Want both GLM 4.7 and MiniMax M2.7 without two subscriptions? LumiChats gives you these plus 40+ models under one ₹69/day pass (about $1/day) — draft with one, cross-check with the other.
Public SWE-Bench figures are not available for MiniMax M2.7, so the honest test is your own repository — run an identical real bug through both. By design, GLM 4.7 leans toward genuinely permissive open weights — an mit-licensed 358b mixture-of-experts with no commercial restrictions while MiniMax M2.7 leans toward agentic and terminal coding well above its price tier (57.0 on terminal-bench 2, vendor-reported), and that positioning usually predicts which feels better on your codebase.
Which is cheaper, GLM 4.7 or MiniMax M2.7?
MiniMax M2.7 is cheaper — $0.6/$2.2 per 1M tokens vs $0.3/$1.2 per 1M tokens, roughly 2× apart on input.
Which has the bigger context window?
Effectively neither — 200K vs 205K is a difference of a few percent. Remember advertised ≠ usable: recall typically degrades before the ceiling.
Can I use both GLM 4.7 and MiniMax M2.7 together?
Yes — a multi-model platform like LumiChats gives you GLM 4.7, MiniMax M2.7 and 40+ others under one ₹69/day pass (about $1/day), so you can draft with one and cross-check with the other instead of buying two subscriptions.
Which is newer, GLM 4.7 or MiniMax M2.7?
MiniMax M2.7 — released March 18, 2026, about 3 months after GLM 4.7.
Specifications and benchmarks reflect publicly reported figures as of June 2026 and may change as providers release updates. Always verify on your own workload.