Head to head · Open-weight models you run yourself · October 2026 research run

GLM-4.7-Flash vs Nanbeige4.2-3B

GLM-4.7-Flash scores 63 (B) on agent readiness against Nanbeige4.2-3B's 61 (C), and leads in 0 of 4 scored categories. Nanbeige4.2-3B leads on reach and documentation and upkeep. Both do open-weight models you run yourself.

Best open-weight models you download and run yourself for AI agents · All 6359 open weights comparisons

Which one, for what

GLM-4.7-Flash B

Best for Agents and developers who want a small, permissively licensed tool-calling model on one 24 to 32 GB GPU or Mac, in almost any runtime

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

No change to the files since 29 January 2026 and no zai-org reply on discussions since 31 January

Nanbeige4.2-3B C

Best for Local agents that need tool calling and a long context on a laptop or a small GPU

Ahead on

  • Reach, 85 against 80
  • Documentation and upkeep, 72 against 28

Watch for

Its own architecture: Transformers loads it only with the repository's code

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Documentation and upkeep Nanbeige4.2-3B +44

GLM-4.7-Flash 28

The card covers architecture, parameters and languages and misses four of the seven items, for 8. Training data is 0, as the card describes none. The last change was on 1 February 2026 at the latest, within a year but past 180 days, for 5. Responsiveness is 5, since zai-org answered 6 of the 40 most recent discussions, all by 31 January, which is a few. Version policy is 5 for a first release with no files replaced, and file health is 5, as config.json and tokenizer_config.json disagree on context and a config report waits without a reply.

Nanbeige4.2-3B 72

Model card 17, Intended use, limitations, the architecture, the parameters (3B outside the embeddings), the context and the languages (in the metadata) are on the card. Training data 5, A general description of how the fine-tuning and reinforcement learning data was built and filtered, with no sources, sizes or cut-off. Last change 15, the last commit, on 11 September 2026, updated modeling_nanbeige.py, 60 days before this check and within 90. Responsiveness 20, Of the 34 most recent discussions that aren't pull requests (21 July to 10 September 2026), 20 have a reply from a Nanbeige member, which is most. Version policy 5, Nanbeige's earlier models (Nanbeige4-3B, 4.1-3B) stay in their own repositories, as the Base, FP8, 8-bit and DSpark builds of this one do. File health 10, Config, tokenizer config, template and card agree on the architecture and the 262,144 tokens. 17 + 5 + 15 + 20 + 5 + 10 = 72.

Reach Nanbeige4.2-3B +5

GLM-4.7-Flash 80

Memory earns 25, since Ollama's smallest build is the 19 GB q4_K_M one, about 22.8 GB with the fifth added, which fits 24 GB. Runtimes reach the cap of 25, with model code in released vLLM, SGLang and Transformers, a converter in a released llama.cpp build and a local entry in Ollama's library. Builds earn nothing, because Z.ai publishes only BF16 and every quantised build is someone else's. The MIT licence with nothing added gives the full 15 for terms, the files download with no account or gate for 10, and Z.ai plus three other providers serve it for 5.

Nanbeige4.2-3B 85

Memory 30, the smallest build from Nanbeige is the FP8 repository (the 8-bit GPTQ one is the same size), 5.19 GB, and 5.19 GB × 1.2 = 6.2 GB, within 16 GB. bartowski's GGUF isn't read for this line. Runtimes 15, Released SGLang 0.5.23 has the model (srt/models/nanbeige.py) with its parsers, llama.cpp b12242 has the nanbeige architecture, and vLLM 0.33.0 names NanbeigeForCausalLM in its registry, served through its Transformers backend. Builds 15, Quantised builds from Nanbeige at two precisions, FP8 and 8-bit GPTQ, each in its own repository. Terms 15, Apache 2.0 in the card's metadata, an OSI licence, with no use policy or other terms on the card. Download 10, the Hub API reports gated false for the model and its FP8 and 8-bit repositories on 10 November 2026, so the files download with no account and nothing to accept. Hosted 0, Hugging Face maps no inference provider to it, and no Nanbeige or BOSS Zhipin API for it was found. 30 + 15 + 15 + 15 + 10 + 0 = 85.

Score by category

CategoryWeight this runGLM-4.7-FlashNanbeige4.2-3BEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%258085Nanbeige4.2-3B +5
Risk20%205555even
Agent interface10%108585even
Documentation and upkeep10%102872Nanbeige4.2-3B +44
Negative events≤1500
TotalB 63/100C 61/100

Facts side by side

FactGLM-4.7-FlashNanbeige4.2-3B
KindOpen-weight modelOpen-weight model
VendorZ.ai (Zhipu AI)Nanbeige LLM Lab (BOSS Zhipin)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITApache-2.0 (Hub metadata only; the repository has no LICENSE file)
Read-only variant documentednono
llms.txtnono
Last release2026-01-292026-09-11
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews2.8/5 (4)none

Verdicts

GLM-4.7-Flash

A small MIT-licensed mixture-of-experts model with about 3B active parameters, for local agent and coding work with several tool calls per turn and optional thinking. It runs in Ollama at about 23 GB and in nearly every common runtime. The main risk is neglect, with no changes or replies since early February and no safety results.

Nanbeige4.2-3B

A small model built for agent work, with tool calling it was trained for, a thinking switch and a 256K context in about 5 GB, under Apache 2.0, from a lab that answers most questions. Its architecture is its own, so check your runtime: SGLang and llama.cpp have it, Transformers needs the repository's code, and Nanbeige ships no GGUF.

Before you call either

GLM-4.7-Flash

  1. On our reference machine start it with vllm serve zai-org/GLM-4.7-Flash --max-model-len 65536 --tool-call-parser glm47 --reasoning-parser glm45 --enable-auto-tool-choice --served-model-name glm-4.7-flash
  2. Or run ollama run glm-4.7-flash for the 19 GB q4_K_M build
  3. Without the glm47 and glm45 parsers, tool calls and reasoning come back as plain text
  4. Use a released vLLM (0.32.0 or later) or SGLang (0.5.22 or later); the card's nightly and pull-request builds date from January 2026
  5. Pass chat_template_kwargs: {"enable_thinking": false} for short tasks, since thinking is on by default
  6. Set clear_thinking: false to keep earlier reasoning in multi-turn agent work, as Z.ai does for τ²-Bench and Terminal Bench
  7. Set the context length yourself, since config.json allows 202,752 tokens and tokenizer_config.json says 128,000

Nanbeige4.2-3B

  1. Serve it with SGLang 0.5.23 or later and pass --tool-call-parser nanbeige --reasoning-parser nanbeige
  2. Pass tools in the request. The card recommends tool_call_format="xml"
  3. Set preserve_thinking true for multi-turn tool use and coding, false for plain chat
  4. Use temperature 1.0 for agent and tool work and 0.6 for reasoning and chat, per the card
  5. For llama.cpp use b12242 or later. The GGUF files on the Hub are bartowski's, not Nanbeige's
  6. If you load it with Transformers, read modeling_nanbeige.py first: trust_remote_code runs it

Questions

Which is better for AI agents, GLM-4.7-Flash or Nanbeige4.2-3B?

GLM-4.7-Flash scores 63 (B) on agent readiness against Nanbeige4.2-3B's 61 (C), and leads in 0 of 4 scored categories. Nanbeige4.2-3B leads on reach and documentation and upkeep.

Other comparisons with GLM-4.7-Flash or Nanbeige4.2-3B

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.