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

CellGemma E4B vs GLM-4.7-Flash

GLM-4.7-Flash scores 63 (B) on agent readiness against CellGemma E4B's 57.9 (C), and leads in 2 of 4 scored categories. CellGemma E4B leads on risk 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 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
  • Documentation and upkeep, 69 against 28

Watch for

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

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

Ahead on

  • Reach, 80 against 65
  • Agent interface, 85 against 25

Watch for

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

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 GLM-4.7-Flash +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.

GLM-4.7-Flash 85

A Jinja chat template sits in the repository, for 20. The tool-calling format is the full 25, because Z.ai itself names the glm47 parser for vLLM and SGLang, says tools are declared in OpenAI style and shows calls coming back as tool_calls. The template takes several calls in one turn, for 20. Structured output is 0, with nothing on the card and only the hosted API documented for JSON. Reasoning control is 10, thinking turned off per request with enable_thinking and the reasoning returned by the glm45 parser. Context is 10, 202,752 positions native with no rope scaling.

Documentation and upkeep CellGemma E4B +41

CellGemma E4B 69

Model card 14, intended use, limitations, architecture, parameters and context (16K) are on the card; languages and a knowledge cut-off aren't stated, which for a gene-symbol model matter less. Training data 15, the card names the pre-training sources (CZ CELLxGENE, the Human Cell Atlas, scBaseCount, WikiCrow) and the ten public perturbation datasets, and the launch post gives more than 564 million cell states, without sizes per source. Last change 20, files last changed 1 December 2026, per the Hub API. Responsiveness 5, released on 1 December 2026, too new to count replies. Version policy 5, a first release. File health 10, config, tokeniser and card agree on the Gemma 4 E4B base and the 282K vocabulary, and no broken-file report waits. 14 + 15 + 20 + 5 + 5 + 10 = 69.

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.

Reach GLM-4.7-Flash +15

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.

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.

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.

GLM-4.7-Flash 55

File safety is full, with safetensors only and the card loading it through Transformers' own code without remote code. Provenance is full, files in the zai-org organisation Z.ai links from GitHub with a SHA-256 for every shard. Safety evaluation and agent guidance are 0, as nothing is published on either. Licence risk is the full 15, since MIT adds no policy, threshold or changeable terms, though the repository carries no LICENSE file. The security programme is 0, with no security.txt, no SECURITY file and no advisories found.

Score by category

CategoryWeightCellGemma E4BGLM-4.7-FlashEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6580GLM-4.7-Flash +15
Risk20%6055CellGemma E4B +5
Agent interface10%2585GLM-4.7-Flash +60
Documentation and upkeep10%6928CellGemma E4B +41
Negative events≤1500
TotalC 57.9/100B 63/100

Facts side by side

FactCellGemma E4BGLM-4.7-Flash
KindOpen-weight modelOpen-weight model
VendorGoogle DeepMindZ.ai (Zhipu AI)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Tools exposed0none
Read-only variant documentednono
llms.txtnono
Last release2026-12-012026-01-29
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviewsnone2.8/5 (4)

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.

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.

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

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

Questions

Which is better for AI agents, CellGemma E4B or GLM-4.7-Flash?

GLM-4.7-Flash scores 63 (B) on agent readiness against CellGemma E4B's 57.9 (C), and leads in 2 of 4 scored categories. CellGemma E4B leads on risk and documentation and upkeep.

Other comparisons with CellGemma E4B or GLM-4.7-Flash

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.