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

DiffusionGemma 26B A4B IT vs Nanbeige4.2-3B

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

DiffusionGemma 26B A4B IT D

Best for Agents with about 64 GB of GPU memory that want fast single-user generation from text and images and can accept lower quality than Gemma 4

Ahead on

  • Risk, 70 against 55

Watch for

No quantised build from Google, so the smallest official build needs the 64 GB band

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 55
  • Agent interface, 85 against 70
  • Documentation and upkeep, 72 against 60

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.

Reach Nanbeige4.2-3B +30

DiffusionGemma 26B A4B IT 55

Memory earns 15 because the only Google build is 51.7 GB of BF16, about 62 GB with the fifth added, which needs the 64 GB band. Runtimes get 15 for Transformers from 5.11.0, SGLang from v0.5.22 and vLLM, whose releases from v0.24.0 (tag commit 28 June 2026) to v0.33.0 register DiffusionGemmaForBlockDiffusion; llama.cpp (b12114, and Ollama through its pin b11963) and LM Studio don't run it. Builds score 0 because Google publishes no quantised build, though others have published FP8, NVFP4, GGUF and 4-bit copies. Apache 2.0 with nothing added gives terms the full 15 and the ungated repository gives download the full 10. Hosted too scores 0, since no inference provider is mapped and the Gemini API doesn't serve it.

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.

Risk DiffusionGemma 26B A4B IT +15

DiffusionGemma 26B A4B IT 70

File safety gets the full 25, safetensors only and loaded by Transformers' own code and a Jinja template. Provenance gets 15 for files in Google's organisation with a hash for every file. Licence risk keeps 15 under plain Apache 2.0. Agent guidance gets 10 for the card's list of harm categories and its advice to add content-safety safeguards. Safety evaluation scores 0 because the card states improvements without figures. The security programme gets 5 for Google's security.txt, with no public advisories for Gemma.

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.

Agent interface Nanbeige4.2-3B +15

DiffusionGemma 26B A4B IT 70

The chat template is in the repository (20) and handles several tool calls in one turn, and the card names function calling as trained (20). The tool-calling format gets 10, since only the template and the shipped response schema say how tools work here and Google's tool-calling guide is for Gemma 4. Structured output scores 0, undocumented and rejected by SGLang. Thinking can be turned on or off per request with the reasoning in its own channel (10), and the context is 256K (10).

Nanbeige4.2-3B 85

Chat template 20, A Jinja chat template in tokenizer_config.json (7,961 characters), with enable_thinking, preserve_thinking, tools and tool_call_format switches. Tool-calling format 25, the card says passing tools switches on the tool template and recommends tool_call_format xml, with json for compatibility, and its SGLang and vLLM commands name the nanbeige tool-call parser, which released SGLang 0.5.23 has. Trained tool calling 20, the card describes fine-tuning on tool-use environments and agent scaffolds and reinforcement learning on agent tasks, and the template tells the model it may call one or more functions and renders every call in a turn. Structured output 0, Neither the card nor the files mention JSON or JSON Schema output, beyond json as a tool-call format. Reasoning control 10, the card documents enable_thinking, on by default and False per request, and preserve_thinking for earlier turns, and names the nanbeige reasoning parser, which returns the reasoning apart from the answer. Context 10, 262,144 tokens, which the card says the model supports and config.json gives as max_position_embeddings. 20 + 25 + 20 + 0 + 10 + 10 = 85.

Documentation and upkeep Nanbeige4.2-3B +12

DiffusionGemma 26B A4B IT 60

The card covers all seven points (20), and the training data is a general description with a January 2025 cut-off (10). The files last changed on 15 July 2026, 112 days before this check (10). Google organisation members answered 10 of the 20 discussions (10). It's a first release (5). File health gets 5 because the diffusers scheduler config disagrees with the card's sampling settings, though the files on the documented path agree.

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.

Score by category

CategoryWeight this runDiffusionGemma 26B A4B ITNanbeige4.2-3BEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%255585Nanbeige4.2-3B +30
Risk20%207055DiffusionGemma 26B A4B IT +15
Agent interface10%107085Nanbeige4.2-3B +15
Documentation and upkeep10%106072Nanbeige4.2-3B +12
Negative events≤1500
TotalD 51.3/100C 61/100

Facts side by side

FactDiffusionGemma 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.txtyesno
Last release2026-07-152026-09-11
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews2.5/5 (4)none

How the scores have moved

Verdicts

DiffusionGemma 26B A4B IT

A text diffusion model for fast low-concurrency local generation from text, images and video, with optional thinking and Gemma 4's tool format, under Apache 2.0. Google's BF16 files need about 62 GB, and it runs in Transformers, SGLang and vLLM. Google's own figures put it below Gemma 4 26B A4B, and Google labels it experimental.

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

DiffusionGemma 26B A4B IT

  1. Serve it with sglang serve --model-path google/diffusiongemma-26B-A4B-it --dllm-algorithm Gemma4Renoise --trust-remote-code on SGLang v0.5.22 or later, then call /v1/chat/completions
  2. In Transformers, install transformers>=5.11.0 and load DiffusionGemmaForBlockDiffusion with dtype="auto"; generation_config.json already holds the recommended sampler
  3. Turn thinking on with enable_thinking=True in apply_chat_template or <|think|> at the start of the system prompt, read the reasoning between <|channel>thought and <channel|>, and drop it from history before the next turn
  4. Don't rely on temperature, top_p, logit_bias or JSON Schema in SGLang, which ignores or rejects them for this model; validate JSON yourself
  5. Streaming arrives one 256-token canvas at a time, not token by token
  6. Put images before text in the prompt, and pick an image token budget of 70 to 1,120 by how much detail the task needs

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

Nanbeige4.2-3B scores 61 (C) on agent readiness against DiffusionGemma 26B A4B IT's 51.3 (D), and leads in 3 of 4 scored categories. DiffusionGemma 26B A4B IT leads on risk.

Other comparisons with DiffusionGemma 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.