GLM 4.7 vs North Mini Code

Z.ai · China  |  Cohere · Canada · Updated July 2026

Quick verdict

For coding, GLM 4.7 has the measured edge (73.8% vs 67.6% on SWE-Bench Verified). North Mini Code is the newer release (June 9, 2026).

GLM 4.7 (Z.ai, China) and North Mini Code (Cohere, Canada) line up two different AI ecosystems against each other — a comparison that is as much about cost philosophy and openness as raw capability. 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 (Canada)
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

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.

Someone analysing very long documents or codebases

→ North Mini Code

Its 256K window holds about 1.3× more than GLM 4.7's 200K in one prompt.

Someone who wants the most recent release

→ North Mini Code

Released June 9, 2026, after GLM 4.7 (December 22, 2025).

If this matters most: Genuinely permissive open weights — an MIT-licensed 358B mixture-of-experts with no commercial restrictions

→ GLM 4.7

This is GLM 4.7's main documented strength.

If this matters most: Agentic software engineering, code generation, and terminal tasks

→ North Mini Code

This is North Mini Code's main documented strength.

An enterprise with regional data-residency rules

→ North Mini Code or GLM 4.7

Origin (China vs Canada) affects where data is processed and which compliance regime applies — check the provider's terms for your region.

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.

Strengths: 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; Cheap long-running agent loops thanks to aggressive prompt caching.

Trade-offs: 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; 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.

Strengths: 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; Fully open weights under Apache 2.0 with fp8 and 4-bit builds.

Trade-offs: Text-only and coding-specialized — not multimodal or general-purpose; 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

This is less "which is smarter" and more "which ecosystem fits." GLM 4.7 (China) and North Mini Code (Canada) differ on pricing philosophy, data-residency, and tooling as much as on raw scores. North Mini Code is the cheaper option, which matters at volume. The pragmatic move is to run one real task through both and judge the outputs against your own constraints — including where your data is allowed to be processed.

Comparing models for real work? LumiChats puts 40+ leading AI models under one ₹69/day pass (about $1/day), so you can draft with one and cross-check with another without stacking subscriptions.

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. Many teams draft with one model and check the result with another. You can call each through its own provider, or use a multi-model platform; LumiChats, for example, puts 40+ leading models under one ₹69/day pass (about $1/day). Check which models a platform currently offers before you subscribe.

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

New model matchups

Sources

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