CellGemma: what it is and how to try it
2026-12-01 · 5 min read
CellGemma is a new open model from Google DeepMind that predicts how a human cell's gene activity will shift when it's hit with a drug, a cytokine or a gene knockdown. It's built on Gemma 4 E4B, the weights are free under an Apache 2.0 license, and you can try it in a browser demo, a Colab notebook or on one GPU of your own.
What Google posted
@GoogleDeepMind announced it on Tuesday as "a new open model that predicts how human cells react to medicines." The idea is that scientists can screen thousands of treatments on a computer before anyone goes into the wet lab. Shortly after, @sundarpichai called it an "exciting milestone for AI in biology" and added the part most labs will care about: it "can run locally on a single workstation GPU."
I'd put that second detail first. A lab that can download a model and run it on one card under a permissive license will actually use it, which is more than you can say for most papers.
What CellGemma does
You give it a starting cell, described by its most active genes, plus an intervention. It returns a ranked list of genes that move up or down compared with how cells respond on average. Google's blog says it was trained on more than 564 million cell states covering small-molecule drugs, cytokines, CRISPR gene edits and real-world treatments from patient tumor data. It can also model combinations of genetic changes.
DeepMind says CellGemma is one-sixth the size of its 27B model from last year, captures "nearly 50% more true biological signal" than a simple statistical average, and was the only model in its study to beat the population average on all 32 benchmark evaluations. Those are DeepMind's own numbers.
The lab result is easier to picture. Thyroid cancer cells were pretreated with drugs the model ranked highly, then exposed to GPNMB-targeted CAR T cells. The combination wiped the tumor cells out; the CAR T cells alone couldn't. Google calls it a laboratory proof of concept, and that's a fair description.
How to try CellGemma
| Option | What you need | Good for |
|---|---|---|
| Hugging Face Space ("CellGemma Perturbation Studio") | A browser | Drug and knockdown predictions without code |
| Google AI Studio app | A Google sign-in | A second hosted option from Google |
| Colab notebook (linked from gemma.ai) | A Google account and a GPU runtime | Following Google's walkthrough |
| Your own machine | About 18 GB of GPU memory, or a 16 GB card in 4-bit | Running your own cell data |
CellGemma is free. The weights are on Hugging Face as google/cellgemma-e4b under Apache 2.0, and the card lists 8B total parameters, 4.5B of them effective.
Running it yourself follows Google's inference guide:
- Install the libraries with
pip install -U transformers torch accelerate safetensors huggingface_hub. Addbitsandbytesif you need 4-bit loading on a 16 GB card such as a T4. - Load the model and its ExpressionDecoders.
- Build the prompt. CellGemma doesn't chat, so it takes a fixed text format: the control cell's top 1,000 expressed genes as uppercase gene symbols, a "mean global" baseline, and the perturbation. That's either a drug name with its SMILES string and concentration (the guide uses Panobinostat at 0.5 uM) or a gene knockdown such as MYC.
- Read the output, a ranked list of tokens like
+GENEand-GENE, and pass it through the matching decoder to get continuous expression and log-fold-change values.
Loading the model is standard Transformers code, straight from the model card:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
MODEL_ID = "google/cellgemma-e4b"
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(
MODEL_ID, device_map="auto", dtype=torch.bfloat16
).eval()
The quickstart caps output at 50 new tokens so it finishes quickly. For real predictions the guide says to raise that to 8,192. It also says 4-bit accuracy hasn't been formally benchmarked, so I'd treat quantized results as a rough draft.
What it can't do
The model card says CellGemma is "intended strictly for research purposes" and must not be used for clinical diagnosis, patient care or medical decisions. You can't ask it questions in plain English either. Until outside labs test the benchmarks, they stay claims. It's the same lesson as the AI-designed phage genomes from Stanford and Arc Institute, where the wet lab decided what worked.
Google is also inviting a small number of research teams to propose collaborations through a form linked from its blog.
My read
For anyone outside biology, the recipe is the interesting part. Gemma 4 E4B is the same small model family Google runs on-device in Google AI Edge Foresight, its offline note-taking app. DeepMind took that general base, trained it on one narrow kind of data, and by its own numbers ended up with the only model in its study that cleared the bar on all 32 tests, at a size that fits on one GPU.
Ordinary companies can borrow that pattern. Not every task needs the biggest frontier model, and a small open model trained on your own quotes, tickets or invoices can be cheaper and stay on your own hardware, as long as a person still checks what it produces. If you want to know which of your processes could use a narrow model like that, or none at all, New Face Design's free process audit is where I'd start.