GLM 5.1 vs North Mini Code

Z.ai · China  |  Cohere · Global · Updated June 2026

Quick verdict

Pick GLM 5.1 for long-horizon autonomous agentic engineering (up to 8-hour runs) or state-of-the-art open-weight coding (topped swe-bench pro 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 5.1 (Z.ai) and North Mini Code (Cohere) are two of the models people most often weigh against each other in 2026. GLM 5.1 is an open-weight (MIT) Chinese coding model built for long-horizon agentic engineering, topping SWE-Bench Pro at launch while running autonomously for up to 8 hours. 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 and context window — each quantified below from the models' real specs.

Key differences at a glance

Side-by-side specs

SpecGLM 5.1North Mini Code
ProviderZ.ai (China) Cohere (Global)
ReleasedApril 7, 2026 June 9, 2026
Context window200K (~300 pages) 256K (~384 pages)
Price (in/out)$1.4/$4.4 per 1M tokens Open weight (self-host / free)
Open weight?Yes — self-hostable Yes — self-hostable
Modalitiestext, code text, code
SWE-Bench VerifiedNot published 67.6%
MRCR v2 @ 1MNot published Not published

Who wins what

Long-horizon autonomous agentic engineering (up to 8-hour runs)

GLM 5.1

A core design strength of GLM 5.1.

State-of-the-art open-weight coding (topped SWE-Bench Pro at launch)

GLM 5.1

A core design strength of GLM 5.1.

Sustained tool use across thousands of calls

GLM 5.1

A core design strength of GLM 5.1.

Agentic software engineering, code generation, and terminal tasks

North Mini Code

A core design strength of North Mini Code.

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

North Mini Code

A core design strength of North Mini Code.

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

North Mini Code

A core design strength of North Mini Code.

Lowest cost at scale

North Mini Code

At Open weight (self-host / free), it is the cheaper of the two — the gap dominates the bill on high-volume workloads.

Largest single-prompt input

North Mini Code

Its 256K window is about 1.3× larger, 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 5.1, 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 long-horizon autonomous agentic engineering (up to 8-hour runs)

GLM 5.1

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 5.1: where it fits

An open-weight (MIT) Chinese coding model built for long-horizon agentic engineering, topping SWE-Bench Pro at launch while running autonomously for up to 8 hours. Released April 7, 2026 by Z.ai, it is built for long-horizon autonomous agentic engineering (up to 8-hour runs), state-of-the-art open-weight coding (topped SWE-Bench Pro at launch), sustained tool use across thousands of calls, and self-hostable under a permissive MIT license.

Its trade-offs are real: text-only, with no image, audio, or video input, and 754B-parameter MoE demands heavy GPU resources to self-host. At $1.4 in / $4.4 out per million tokens, it sits in the mid 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 5.1 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 5.1 for long-horizon autonomous agentic engineering (up to 8-hour runs), 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 5.1 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 5.1 or North Mini Code better for coding?

Public SWE-Bench figures are not available for GLM 5.1, so the honest test is your own repository — run an identical real bug through both. By design, GLM 5.1 leans toward long-horizon autonomous agentic engineering (up to 8-hour runs) while North Mini Code leans toward agentic software engineering, code generation, and terminal tasks, and that positioning usually predicts which feels better on your codebase.

Which is cheaper, GLM 5.1 or North Mini Code?

North Mini Code is cheaper — $1.4/$4.4 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 5.1 and North Mini Code together?

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

North Mini Code — released June 9, 2026, about 2 months after GLM 5.1.

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.