Last updated: December 1, 2026
CellGemma is Google DeepMind’s open model for predicting how human cells respond to drugs, cytokines and gene perturbations. Released December 1, 2026 under Apache 2.0, it is built on Gemma 4 E4B, runs on a single workstation GPU, and outputs ranked lists of genes expected to move up or down.
Contents
- What Google DeepMind released
- CellGemma at a glance
- How CellGemma makes a prediction
- How to run CellGemma
- Prompt and decoder tips
- Benchmarks and lab results
- Limitations
- Frequently asked questions
What Google DeepMind released
Google DeepMind introduced CellGemma on December 1, 2026 as its next-generation open foundation model for predicting cellular responses to candidate treatments. The goal is to let researchers screen thousands of drugs and gene targets virtually and send only the most promising ideas to the lab bench.
According to Google, the model was trained on more than 564 million cell states and covers four types of intervention:
- Chemical medicines (small-molecule drugs)
- Immune signaling proteins (cytokines)
- CRISPR genetic perturbations
- Real-world treatments from patient tumor datasets
It can also model combinations of genetic changes, which helps researchers study how genes interact and how cancer cells switch to backup pathways to survive treatment.
CellGemma at a glance
These specifications come from the CellGemma model card on Hugging Face.
| Item | CellGemma (google/cellgemma-e4b) |
|---|---|
| Developer | Google DeepMind |
| Base architecture | Gemma 4 E4B (dense) |
| Parameters | 8B total with embeddings, 4.5B effective |
| Layers | 42 |
| Context length | 16K tokens (512-token sliding window) |
| Vocabulary | 282K, including 20K human protein-coding gene symbols as single tokens |
| Input | Text prompt: perturbation, baseline cell (top 1,000 genes), mean-shift prediction |
| Output | Ranked residual genes (+GENE up, -GENE down) |
| License and price | Apache 2.0, free weights |
How CellGemma makes a prediction
CellGemma treats a cell as a “cell sentence”: an ordered list of its most active genes. Google made three design choices that set it apart from a general language model:
- Whole-gene tokens. Each of nearly 20,000 human genes is one token instead of several word pieces, which keeps gene identity intact and fits more biology into the context window.
- Biological context. Drugs are described with their molecular structure (SMILES), and gene and cytokine targets with knowledge-graph sentences about their protein networks.
- Residual prediction. Rather than predicting every gene, the model predicts only the genes that differ from the average response across perturbations, called the mean-shift baseline.
The pipeline has two stages. Stage 1 is CellGemma itself, which generates the ranked gene list. Stage 2 is a small, dataset-specific ExpressionDecoder (an MLP) that turns that list plus baseline expression into continuous expression and log-fold change values. The repository ships decoders for ten datasets, including tahoe, l1000, sciplex, norman, parse and tisch.
How to run CellGemma
Google says CellGemma is available on Hugging Face, Google Colab and Google AI Studio, with a Hugging Face Space for trying it in the browser. For local work, the model card uses standard Transformers code. Our Transformers 5.23 guide covers the current library release.
- Install dependencies:
pip install -U transformers torch accelerate safetensors huggingface_hub. - Load the model with
AutoTokenizerandAutoModelForCausalLMfromgoogle/cellgemma-e4b, usingdevice_map="auto"anddtype=torch.bfloat16. - Pick an ExpressionDecoder that matches your assay, for example
tahoefor single-cell drug screens in cancer lines, and download its config, weights andmean_delta_global.jsonfrom the same repository. - Prepare the baseline cell: pseudobulk raw counts, keep protein-coding genes, library-size normalize, apply
log1p, and list the top 1,000 expressed genes as uppercase HGNC symbols. - Build the prompt in the exact order the model was trained on: preamble, perturbation description,
Source:,Mean Global prediction:,Target:, wrapped in the Gemma 4 turn format. - Generate with
do_sample=True,temperature=0.7andmax_new_tokens=8192, then parse the+GENEand-GENEtokens in order and pass them to the decoder.
To script downloads of decoder files, see our huggingface_hub 2.5 guide. If you are new to building apps in Google AI Studio, our Google AI Studio Maps guide explains how its app projects and quotas work.
Prompt and decoder tips
The model card is strict about input format, because CellGemma was trained on one fixed template. The most useful rules:
- Small molecules: give
Drug name:,Drug SMILES:andConcentration:with explicit units, such as0.5 uM. - Gene knockdowns and cytokines: use the gene name plus its knowledge-graph sentence from
kg_sentences.json, not the bare symbol. - Combinations: write each perturbation in full, one after another.
- No chat features: do not add a system prompt, a thinking token or free-form questions, and tokenize with
add_special_tokens=Falseso the start token is not added twice. - Decoders do not transfer across assays with different normalization or sequencing technology, such as bulk L1000 versus single-cell. For a new assay, retrain a decoder on a small set of matched data.
Benchmarks and lab results
Google reports that CellGemma beat the population-average baseline on all 32 held-out benchmark evaluations in its study, the only model in the study to do so. Selected Pearson delta scores from the model card (higher is better) are below; the technical report has full details. These are Google-reported results that have not been independently verified.
| Dataset and split | CellGemma | Mean-shift baseline |
|---|---|---|
| Tahoe, unseen perturbation | 0.56 | 0.26 |
| Tahoe, unseen cell line | 0.73 | 0.59 |
| Norman, both genes seen | 0.74 | 0.53 |
| Nadig/Replogle K562, unseen perturbation | 0.45 | 0.34 |
| TISCH, cross-study | 0.28 | 0.05 |
| VCC, unseen perturbation | 0.16 | 0.11 |
Compared with Google’s 27B cell model from last year, CellGemma is one-sixth the size and, according to Google, captures nearly 50% more true biological signal than a simple statistical average.
Google also tested predictions in the lab with academic partners. CellGemma ran over a million virtual simulations across nearly 20,000 genes and 15,000 drugs to find ways to raise expression of GPNMB, a CAR T cell target, on tumor cells. Several prioritized drugs increased GPNMB on thyroid cancer cell lines, and pretreated tumor cells were then eliminated by GPNMB CAR T cells, which could not clear them alone.
For another recent Google DeepMind release, see our Genie 4 API guide. For another open, specialized model released the same day, see our DR Tulu 2 guide.
Limitations
- Research only. It must not be used for clinical diagnosis, patient care or medical decisions.
- Lab validation required. Predictions reflect statistical patterns from screening data, so candidate targets need independent experiments.
- Calibration matters. Continuous outputs depend on a baseline control profile and a matching decoder.
- Text only, gene output only. It cannot be made conversational through prompting.
Frequently asked questions
What is CellGemma?
CellGemma is an open foundation model from Google DeepMind, released December 1, 2026, that predicts how human cells change their gene activity in response to drugs, cytokines, CRISPR gene perturbations and clinical treatments. It is built on the Gemma 4 E4B architecture.
Is CellGemma free to use?
Yes. Google DeepMind released CellGemma under the Apache 2.0 license. The weights are on Hugging Face as google/cellgemma-e4b, and Google also offers ways to try it on Hugging Face, Google Colab and Google AI Studio.
Can I chat with CellGemma like a normal Gemma model?
No. The model card describes CellGemma as non-conversational. It expects a fixed prompt template and outputs a ranked list of genes marked + or -. It does not support system prompts, free-form questions or thinking mode.
What hardware does CellGemma need?
Google says CellGemma’s small footprint lets researchers run large virtual screens on a single modern workstation GPU rather than a cloud cluster. The model has 8B total parameters including embeddings and 4.5B effective parameters, with a 16K-token context.
Can CellGemma be used for patient care?
No. The model card states that CellGemma is for research only and must not be used for clinical diagnosis, patient care or medical decision-making. Its predictions should be validated in the lab.
How is CellGemma different from Google’s earlier 27B cell model?
Google says CellGemma is one-sixth the size of its 27B model from last year and captures nearly 50% more true biological signal than a simple statistical average, a baseline that existing models have struggled to beat.
Sources
- Google: CellGemma, predicting cell responses to help accelerate cancer research (December 1, 2026)
- Hugging Face: google/cellgemma-e4b model card
- Google DeepMind: Predicting Transcriptional Responses to Diverse Perturbations with CellGemma (technical report, PDF)
- Hugging Face: CellGemma Space