GLM 4.7 vs North Mini Code

Z.ai · China  |  Cohere · Global · 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 North Mini Code for agentic software engineering, code generation, and terminal tasks or efficient sparse moe — 3b active of 30b, runs on a single h100. On a tight budget at scale, North Mini Code is the value pick.

GLM 4.7 (Z.ai) and North Mini Code (Cohere) 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. North Mini Code is cohere's first agentic coding model: an open-weight 30B/3B-active MoE built for real software-engineering and terminal tasks that runs on a single H100. They diverge most on price, context window and coding benchmarks — each quantified below from the models' real specs.

Key differences at a glance

Side-by-side specs

SpecGLM 4.7North Mini Code
ProviderZ.ai (China) Cohere (Global)
ReleasedDecember 22, 2025 June 9, 2026
Context window200K (~304 pages) 256K (~384 pages)
Price (in/out)$0.6/$2.2 per 1M tokens Open weight (self-host / free)
Open weight?Yes — self-hostable Yes — self-hostable
Modalitiestext, code text, code
SWE-Bench Verified73.8% 67.6%
MRCR v2 @ 1MNot published Not published

Who wins what

Genuinely permissive open weights — an MIT-licensed 358B mixture-of-experts with no commercial restrictions

GLM 4.7

An MIT-licensed 358B open mixture-of-experts with strong 73.8% SWE-Bench Verified coding — but two generations behind GLM 5.2 — and it leads SWE-Bench Verified 73.8% to 67.6%.

Strong agentic coding for the price — 73.8% on SWE-Bench Verified undercut most closed frontier models at launch

GLM 4.7

It scores 73.8% on SWE-Bench Verified against North Mini Code's 67.6% — a 6.2-point edge on real repository work.

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; North Mini Code does not.

Agentic software engineering, code generation, and terminal tasks

North Mini Code

GLM 4.7 is comparatively weak here — two generations behind — GLM 5, 5.1 and 5.2 have all shipped since, and new builds should default to those

Efficient sparse MoE — 3B active of 30B, runs on a single H100

North Mini Code

Cohere's first agentic coding model: an open-weight 30B/3B-active MoE built for real software-engineering and terminal tasks that runs on a single H100 — and it carries the larger 256K context.

High throughput (up to 2.8x Devstral Small 2) at low latency

North Mini Code

Cohere's first agentic coding model: an open-weight 30B/3B-active MoE built for real software-engineering and terminal tasks that runs on a single H100 — and it is the newer of the two.

Lowest cost at scale

North Mini Code

Its weights are open, so at volume you pay for your own hardware instead of GLM 4.7's $0.6/$2.2 per 1M tokens.

Largest single-prompt input

North Mini Code

Its 256K window is about 1.3× larger than GLM 4.7's 200K, fitting roughly 384 pages in one prompt.

Which should you pick?

A cost-sensitive startup shipping high volume

North Mini Code

At Open weight (self-host / free) it undercuts GLM 4.7, and on millions of tokens that margin decides the monthly bill.

Someone analysing very long documents or codebases

North Mini Code

Larger 256K 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 software engineering, code generation, and terminal tasks

North Mini Code

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.

North Mini Code: where it fits

Cohere's first agentic coding model: an open-weight 30B/3B-active MoE built for real software-engineering and terminal tasks that runs on a single H100. Released June 9, 2026 by Cohere, it is built for agentic software engineering, code generation, and terminal tasks, efficient sparse MoE — 3B active of 30B, runs on a single H100, high throughput (up to 2.8x Devstral Small 2) at low latency, and fully open weights under Apache 2.0 with fp8 and 4-bit builds.

Its trade-offs: text-only and coding-specialized — not multimodal or general-purpose, and 256K context and modest general-intelligence index trail frontier models. As an open-weight model, its running cost is your own hardware rather than a per-token fee.

The bottom line for this matchup

GLM 4.7 and North Mini Code overlap enough that the right pick depends on your specific job. North Mini Code costs less per token; North Mini Code 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, North Mini Code for agentic software engineering, code generation, and terminal tasks. Rather than crowning one, run the same hard task through both once and let the results decide.

Want both GLM 4.7 and North Mini Code 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.

See pricing

Frequently asked questions

Is GLM 4.7 or North Mini Code better for coding?

On SWE-Bench Verified, GLM 4.7 scores 73.8% and North Mini Code scores 67.6% — GLM 4.7 has the measurable edge.

Which is cheaper, GLM 4.7 or North Mini Code?

North Mini Code is cheaper — $0.6/$2.2 per 1M tokens vs Open weight (self-host / free).

Which has the bigger context window?

North Mini Code — 256K vs 200K, about 1.3× larger. Useful only if the model actually reasons over the full window, which not all do.

Can I use both GLM 4.7 and North Mini Code together?

Yes — a multi-model platform like LumiChats gives you GLM 4.7, North Mini Code 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 North Mini Code?

North Mini Code — released June 9, 2026, about 6 months after GLM 4.7.

Related comparisons

Specifications and benchmarks reflect publicly reported figures as of June 2026 and may change as providers release updates. Always verify on your own workload.