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

Gemma 4 26B A4B IT vs Nanbeige4.2-3B

Gemma 4 26B A4B IT scores 72.2 (BB) on agent readiness against Nanbeige4.2-3B's 61 (C), and leads in 2 of 4 scored categories. Nanbeige4.2-3B leads on 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

Gemma 4 26B A4B IT BB

Best for Agents on a 24 GB or larger GPU or Mac that want a fast, permissively licensed tool-calling model with images and long context

Ahead on

  • Reach, 90 against 85
  • Risk, 70 against 55

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

No safety evaluation figures published

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

  • Documentation and upkeep, 72 against 65

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.

Risk Gemma 4 26B A4B IT +15

Gemma 4 26B A4B IT 70

File safety 25, safetensors and GGUF only, with nothing from the repository run on load. Provenance 15, the files sit in Google's own organisation and every file has a checksum. Safety evaluation 0, the card says testing showed minimal policy violations but gives no figures. Agent guidance 10, the card names the harm categories its safety training covers and asks for content-safety safeguards, and the tool guide says to validate calls, with no prompt-injection guidance. Licence risk 15, Apache 2.0 with no added policy, no threshold and a working link. Security programme 5, Google's security.txt and reward policy give a route to report a flaw, but no public Gemma advisories were found and GitHub's advisory tab couldn't be checked.

Nanbeige4.2-3B 55

File safety 15, safetensors only, no .bin, .pt or .pth files (25). Provenance 15, the files sit in the Nanbeige organisation (Nanbeige LLM Lab), which the lab's arXiv report for this model links, so the publisher's own account, although the Hub hasn't verified it (10). Safety evaluation 0, no safety results on the card. Agent guidance 5, General cautions: the limitations section says outputs may be inaccurate, biased or harmful. Licence risk 15, Apache 2.0 has no use policy, no threshold and no clause letting the licensor change or revoke it. Security programme 5, BOSS Zhipin runs a security response centre for reporting flaws in its products, as read for the Nanbeige4.3-33B listing (5), though nothing links it to the model. 15 + 15 + 0 + 5 + 15 + 5 = 55.

Documentation and upkeep Nanbeige4.2-3B +7

Gemma 4 26B A4B IT 65

Model card 20, all seven items are there. Training data 10, a general description by type with a January 2025 cut-off and the filtering, but no sources, mix or sizes. Last change 10, the files last changed on 20 July 2026, 104 days before 1 November, still inside 180 days. Responsiveness 10, Google replied to 16 of the 35 questions and reports, and to 1 of the 9 since 23 July, with its newest reply on 1 October. Version policy 10, earlier Gemma generations keep their own repositories and gemma.ai has a dated releases page. File health 5, the files agree with the card but chat-template bug reports (discussions 32 and 48) still wait 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 Gemma 4 26B A4B IT +5

Gemma 4 26B A4B IT 90

Memory 25, Google's own 4-bit QAT GGUF is 14.4 GB, which with a fifth on top is 17.3 GB and lands in the 24 GB band, with the 1.2 GB vision projector extra for images. Runtimes 25, released support in vLLM, Transformers, llama.cpp, Ollama, SGLang and LM Studio, six of six. Builds 10, Google publishes one quantised precision (Q4_0 GGUF), since its unquantised QAT repository is BF16 and there's no FP8 build. Terms 15, plain Apache 2.0 with nothing added. Download 10, no account or gate. Hosted 5, the Gemini API serves it and four inference providers are live on Hugging Face.

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 runGemma 4 26B A4B ITNanbeige4.2-3BEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%259085Gemma 4 26B A4B IT +5
Risk20%207055Gemma 4 26B A4B IT +15
Agent interface10%108585even
Documentation and upkeep10%106572Nanbeige4.2-3B +7
Negative events≤1500
TotalBB 72.2/100C 61/100

Facts side by side

FactGemma 4 26B A4B ITNanbeige4.2-3B
KindOpen-weight modelOpen-weight model
VendorGoogle DeepMindNanbeige LLM Lab (BOSS Zhipin)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0Apache-2.0 (Hub metadata only; the repository has no LICENSE file)
Read-only variant documentednono
llms.txtnono
Last release2026-07-202026-09-11
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews3.8/5 (4)none

Verdicts

Gemma 4 26B A4B IT

A fast mixture-of-experts cousin for general agent work with tools, optional thinking and image input, under Apache 2.0. Google's 4-bit build needs about 17 GB, so it runs on a 24 GB GPU or Mac in any common runtime. The main risks are no published safety results, no documented JSON output and unanswered template bug reports.

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

Gemma 4 26B A4B IT

  1. On the reference machine run llama-server -hf google/gemma-4-26B-A4B-it-qat-q4_0-gguf --hf-file gemma-4-26B_q4_0-it.gguf --jinja -c 65536, and add the mmproj file for images
  2. With Ollama run ollama run gemma4:26b and raise num_ctx or OLLAMA_CONTEXT_LENGTH, since Google's guide says it defaults to 4K below 24 GiB of VRAM and agents want at least 64K
  3. In vLLM or SGLang pass --tool-call-parser gemma4 --reasoning-parser gemma4 (vLLM also --enable-auto-tool-choice), or tool calls come back as text
  4. Thinking is off by default; pass enable_thinking=True or start the system prompt with <|think|>, and drop earlier turns' thinking from history except on tool-call turns
  5. Validate tool names and arguments before running them, and check any JSON yourself

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, Gemma 4 26B A4B IT or Nanbeige4.2-3B?

Gemma 4 26B A4B IT scores 72.2 (BB) on agent readiness against Nanbeige4.2-3B's 61 (C), and leads in 2 of 4 scored categories. Nanbeige4.2-3B leads on documentation and upkeep.

Other comparisons with Gemma 4 26B A4B IT 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.