Model reference · open weights
medgemma-2-it is an open-weight language model from Google. medgemma-2-26B-A4B-it (BF16) weighs 51.6 GB; the smallest configuration that runs it is H100 80 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the google/medgemma-2-E4B-it model card, 2026-12-04. The estimate below is for another build of the family.
What it is
| Released by | |
|---|---|
| Released | 2026-12-01 |
| Parameters | 8.0B |
| VRAM | 51.6 GB for the weights |
What it runs on
How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.
| Card | Weights alone |
|---|---|
| RTX 3060 12 GB … L40S 48 GB 6 smaller cards | does not fit |
| A100 80 GB | fits |
| H100 80 GB | fits |
| RTX PRO 6000 Blackwell 96 GB | fits |
| DGX Spark (GB10) 128 GB unified | fits |
| H200 141 GB | fits |
| B200 180 GB | fits |
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| medgemma-2-E4B-it ↗ | 8.0B | BF16 | 16.0 GB | RTX 4090 24 GB |
| medgemma-2-26B-A4B-it (above) ↗ | 25.8B | BF16 | 51.6 GB | H100 80 GB |
| medgemma-2-E4B-it-GGUF ↗ packaged by unsloth 9 builds: IQ2_M 3.5 GB … BF16 15.1 GB |
GGUF | 5.1 GB | RTX 3060 12 GB |
From the model card
Not for clinical use. This model is not intended to be used for clinical diagnosis, treatment decisions or any other direct patient-care decision. Outputs can be wrong or incomplete and must be independently verified by qualified professionals. Use is subject to the Health AI Developer Foundations terms of use.
[!NOTE] This card describes MedGemma 2, available as a 4B multimodal instruction-tuned variant (E4B) and a 26B Mixture-of-Experts instruction-tuned variant (A4B). For information on earlier variants, refer to the MedGemma 1.5 model card and the MedGemma 1 model card.
MedGemma is a collection of Gemma variants that are trained for performance on medical text and image comprehension. Developers can use MedGemma to accelerate building healthcare-based AI applications.
MedGemma 2 is an update to the MedGemma collection built on the Gemma 4 architecture, with no modifications to the Gemma 4 base architecture. Driven by developer and clinical research feedback, MedGemma 2 moves MedGemma from passive multimodal question answering to reasoning-capable models built for real-world clinical workflows across both server-scale and resource-constrained edge deployments. MedGemma 2 is released as two instruction-tuned checkpoints:
The MedGemma 2 models are built on Gemma 4 and use the same decoder-only transformer architecture as Gemma 4, with no base architectural modifications. The 4B variant follows the Gemma 4 E4B dense design; the 26B variant follows the Gemma 4 26B Mixture-of-Experts (A4B) design. To learn more about the architecture, consult the Gemma 4 model card.
The LLM component of MedGemma 2 is post-trained, starting from Gemma 4. Post-training uses a diverse set of de-identified and licensed medical data, including medical text, medical question-answer pairs, FHIR-based EHR data, 2D and 3D radiology images, histopathology images, ophthalmology images, dermatology images, medical documents, and (for the 4B model) medical audio. Unlike MedGemma 1 and 1.5 which used a MedSigLIP-derived vision encoder, MedGemma 2 uses the native Gemma 4 vision encoders, without additional medical pre-training of the vision encoder.
| Property | MedGemma 2 4B (E4B) | MedGemma 2 26B MoE (A4B) |
|---|---|---|
| Model type | Decoder-only Transformer architecture, see the Gemma 4 technical report. 4B: dense (E4B). | 26B: Mixture-of-Experts (A4B, ~4B active parameters per token). |
| Total Parameters | ~8B including per-layer embeddings ‡ | 25.2B ‡ |
| Effective / Active Parameters | 4.5B effective ‡ | 3.8B active ‡ |
| Layers | 42 ‡ | 30 ‡ |
| Sliding Window | 512 tokens ‡ | 1,024 tokens ‡ |
| Context Length | Supports long context, validated at 128K tokens for both sizes. | Supports long context, validated at 128K tokens for both sizes. |
| Vocabulary Size | 262K ‡ | 262K ‡ |
| Expert Count | N/A (dense) | 8 active / 128 total and 1 shared ‡ |
| Input modalities | Text, vision (images, volumes, video), and audio. | Text and vision (images, volumes, video). |
| Output modality | Text only | Text only |
| Vision Encoder Parameters | ~150M ‡ | ~550M ‡ |
| Audio Encoder Parameters | ~300M ‡ | N/A |
| Key publication | Sellergren, Andrew, et al. "An open vision-language model for diverse medical applications." Nature Medicine (2026): 1-10. | Sellergren, Andrew, et al. "An open vision-language model for diverse medical applications." Nature Medicine (2026): 1-10. |
| Model version | 2.0.0 | 2.0.0 |
‡ Based on Gemma 4
MedGemma 2 was evaluated across a range of different multimodal classification, report generation, visual question answering, agentic tool use, grounding, long-context EHR, and text-based tasks.
MedGemma 2 has been evaluated on a range of clinically relevant benchmarks to illustrate its baseline performance. These evaluations are based on both open benchmark datasets and internally curated datasets. Developers are expected to fine-tune MedGemma for improved performance on their use case. Consult the Intended use section for more details.
Sampling settings used for these evaluations are listed under Best Practices.
The multimodal performance of MedGemma 2 4B and 26B MoE was evaluated across benchmarks covering radiology (2D, longitudinal 2D, and anatomical localization), histopathology, and dermatology. Results for MedGemma 1.5 4B, Gemma 4 E4B, and Gemma 4 26B are shown for comparison; see the Data card for dataset details.
| Task / Dataset | Metric | MedGemma 2 4B | MedGemma 1.5 4B | Gemma 4 E4B | MedGemma 2 26B MoE | Gemma 4 26B |
|---|---|---|---|---|---|---|
| 2D image classification | ||||||
| MIMIC-CXR** | Macro F1 |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works