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

CellGemma E4B vs Nanbeige4.2-3B

Nanbeige4.2-3B scores 61 (C) on agent readiness against CellGemma E4B's 57.9 (C), and leads in 3 of 4 scored categories. CellGemma E4B leads on risk. Both do open-weight models you run yourself.

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

Which one, for what

CellGemma E4B C

Best for Research agents and scientists screening drugs or gene targets in silico before lab work

Ahead on

  • Risk, 60 against 55

Watch for

Not a chat model and no tool calling; it only takes a fixed prompt format

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 65
  • Agent interface, 85 against 25

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.

Agent interface Nanbeige4.2-3B +60

CellGemma E4B 25

Chat template 10, the card gives the prompt format in prose and code, the Gemma 4 turn format with fixed section labels in a fixed order, and says changing it degrades predictions; no template for this format was found in the repository. Tool-calling format 0, it doesn't call tools; read for what it takes, a text prompt with the perturbation, a ranked baseline of 1,000 genes and a mean-shift prediction, which the card documents. Trained tool calling 0, not trained for tool calls. Structured output 15, its output is a fixed format, a ranked list of +GENE and -GENE tokens, which the decoders turn into expression and log-fold-change vectors, all documented with code on the card. Reasoning control 0, the card says it doesn't support thinking mode. Context 0, 16K tokens per the card, below 32K. 10 + 0 + 0 + 15 + 0 + 0 = 25.

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.

Reach Nanbeige4.2-3B +20

CellGemma E4B 65

Memory 25, the only build is BF16, 7.73B parameters (8B with embeddings), about 15.5 GB, plus twelve small decoders. 15.5 GB × 1.2 = 18.6 GB, within 24 GB. Runtimes 15, the first stage is a Gemma 4 E4B text model (gemma4_text), an architecture released Transformers, vLLM and SGLang run (15). The card's own instructions use Transformers, and the second stage, the dataset-specific ExpressionDecoders, runs in the card's Python. There's no GGUF, so llama.cpp, Ollama and LM Studio don't count. Builds 0, Google publishes one BF16 set and no quantised build. Terms 15, Apache 2.0 in the card's metadata, linking Google's Gemma Apache 2.0 page, with nothing added. Download 10, the Hub API reports gated false on 1 December 2026, so the files download with no account and nothing to accept. Hosted 0, no hosted API serves it, and Hugging Face maps no inference provider to it. 25 + 15 + 0 + 15 + 10 + 0 = 65.

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 CellGemma E4B +5

CellGemma E4B 60

File safety 25, safetensors only, three model shards and twelve decoder files, with no .bin, .pt or .pth files and no trust_remote_code. Provenance 15, files in Google's own organisation, which the launch post and gemma.ai link (10), with a SHA-256 for each large file (5). Safety evaluation 0, no safety results published. The card says mitigations were data filtering, and that the model has no conversational safety tuning because it only outputs gene symbols. Agent guidance 5, the card lists misuse, privacy and bias risks with general mitigations, and says the model is non-conversational and can't be made conversational by prompting. Licence risk 15, Apache 2.0, with no use policy, no threshold and no right to change the terms. Security programme 0, no security contact or disclosure policy on the card or the launch post, and Google's general vulnerability reporting wasn't read for this run. 25 + 15 + 0 + 5 + 15 + 0 = 60.

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.

Score by category

CategoryWeightCellGemma E4BNanbeige4.2-3BEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6585Nanbeige4.2-3B +20
Risk20%6055CellGemma E4B +5
Agent interface10%2585Nanbeige4.2-3B +60
Documentation and upkeep10%6972Nanbeige4.2-3B +3
Negative events≤1500
TotalC 57.9/100C 61/100

Facts side by side

FactCellGemma E4BNanbeige4.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)
Tools exposed0none
Read-only variant documentednono
llms.txtnono
Last release2026-12-012026-09-11
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked

Verdicts

CellGemma E4B

Google DeepMind's open model for predicting how human cells respond to drugs, gene edits and cytokines, Apache 2.0 and small enough for one workstation GPU. It isn't a chat model and calls no tools, it has one BF16 build and a 16K context, and its results are Google's own so far.

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

CellGemma E4B

  1. Use the card's prompt template word for word, with no system prompt and no thinking token
  2. Pick the ExpressionDecoder for the dataset closest to your cells
  3. Treat its predictions as candidates for the lab, as Google does, not results

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, CellGemma E4B or Nanbeige4.2-3B?

Nanbeige4.2-3B scores 61 (C) on agent readiness against CellGemma E4B's 57.9 (C), and leads in 3 of 4 scored categories. CellGemma E4B leads on risk.

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