Google has introduced MedGemma 2, its most advanced open model family designed for developers building AI applications in healthcare. Built on Gemma 4, MedGemma 2 can process clinical text, medical images, and patient records, while also supporting native tool calling.
The model comes in two versions to suit different deployment needs: a 26B Mixture-of-Experts (MoE) model designed for server environments and a smaller E4B model intended for devices such as smartphones and laptops.
One of the biggest changes in this release is the move beyond traditional medical question-answering. MedGemma 2 is designed to support more advanced, agent-based workflows, including querying FHIR-based patient records, generating code for clinical scoring systems, and providing answers backed by source citations.
Developers can also explore its deployment options and technical specifications through the GPULeaderboard.com Chrome extension.
TL;DR: What You Need to Know About MedGemma 2
- Model sizes: 26B MoE (25.2B total parameters, 3.8B active) and E4B (approximately 8B total parameters, 4.5B effective).
- Context window: Validated at 128K tokens, while the 26B architecture supports up to 256K.
- Hardware requirements: The 26B model requires approximately 58 GB of memory in BF16, with an 80 GB or larger GPU recommended. E4B requires around 18 GB in BF16 or just 4–5 GB with a 4/8-bit LiteRT-LM build.
- Performance: According to Google’s reported evaluations, both versions outperform their Gemma 4 base models on agentic, EHR, and grounding benchmarks.
- Best result: The 26B model achieves an 86.3% success rate on MedAgentBench, compared with 81.3% for Gemma 4 26B.
- Weakest results: E4B scores 23.2 on MedCaseReasoning, while the 26B model records 26.5 F1 on rare cases in AgentEHR.
What Is MedGemma 2?
MedGemma 2 is the latest addition to Google’s open medical AI model family, following MedGemma 1 and MedGemma 1.5.
According to Google’s research team, MedGemma models have received more than 10 million downloads since 2025. Developers have also created over 1,000 derivative models using the family. The foundational research behind these models has been published in Nature Medicine.
Unlike conventional language models focused mainly on answering questions, MedGemma 2 is designed to handle a wider range of healthcare-related tasks. It can interpret medical information, work with patient records, and interact with external tools to support more structured clinical workflows.
The model weights are available on Hugging Face. However, MedGemma 2 is distributed under the HAI-DEF Terms of Use rather than the Apache 2.0 license used by Gemma 4.
How Does MedGemma 2 Work?
Google has built the two versions around different architectures to accommodate different hardware requirements and use cases.
MedGemma 2 26B MoE
The 26B version uses the same Mixture-of-Experts architecture as Gemma 4 26B A4B.
According to its model card, it contains 25.2 billion parameters, with approximately 3.8 billion activated for each token. Its architecture includes:
- 30 transformer layers.
- 128 routed experts.
- 8 active experts per token, along with 1 shared expert.
- A vision encoder of approximately 550 million parameters.
The vision encoder allows the model to process medical images, 3D volumes, and video.
MedGemma 2 E4B
E4B follows a dense architecture rather than the MoE approach. It contains approximately 8 billion parameters, including per-layer embeddings, with 4.5 billion effective parameters.
This version also includes an audio encoder with approximately 300 million parameters.
A notable difference is that E4B is the only version that supports medical dictation audio. It can process audio at 16 kHz, with recordings of up to 30 seconds.
Both models generate text outputs only, even though they support different types of input data.
Supported medical imaging categories include:
- Radiology
- Histopathology
- Dermatology
- Ophthalmology
What Agentic Features Does MedGemma 2 Offer?
One of the main additions in MedGemma 2 is its support for agentic workflows. Google’s research team highlights three capabilities designed to help developers build more practical healthcare applications.
1. Patient Record Access Through FHIR
MedGemma 2 can query and reason over electronic health records (EHRs) using the FHIR standard.
This makes it possible to build applications that retrieve relevant patient information and use it as context when handling clinical tasks.
2. Clinical Score Generation
The model can generate code for clinical scoring systems based on established medical guidelines.
Developers can then execute this code within their own secure environments. This approach allows applications to use model-generated code while retaining control over where it runs.
3. Source-Based Answers and Citations
MedGemma 2 can search resources such as PubMed and hospital protocols to find relevant medical information.
It can then provide answers with citations pointing to the original source passages. This gives clinicians a way to review the supporting information and verify the model’s responses.
How Does MedGemma 2 Perform on Benchmarks?
Google has published benchmark results for both model sizes in its model card. The figures below are self-reported evaluations with thinking mode enabled.
Agentic Tool Use
The 26B version achieves an 86.3% score on MedAgentBench, compared with 81.3% for Gemma 4 26B.
It also scores 72.8 on MedCalc-Bench Verified, outperforming Gemma 4 26B, which records 66.2.
The E4B version delivers the following results:
- MedAgentBench: 53.3
- MedCalc-Bench Verified: 59.1
For comparison, Gemma 4 E4B scores 48.7 and 37.9 on the same benchmarks, respectively.
Medical Text Understanding
For medical text evaluation, the E4B version achieves 82.3 on MedQA (4-option).
The comparison results are:
- MedGemma 2 E4B: 82.3
- MedGemma 1.5 4B: 69.1
- Gemma 4 E4B: 74.0
These results show an improvement over both earlier models in this particular evaluation.
Electronic Health Records and Grounding
MedGemma 2 also shows strong results in tasks involving patient records and grounded clinical answers.
On EHRQA over FHIR, E4B achieves 95.6, compared with 38.0 for MedGemma 1.5 4B.
On Google’s internal Grounded Clinical QA benchmark, the 26B version records a score of 95.6.
Medical Imaging Performance
The 26B model achieves a macro F1 score of 89.8 on MIMIC-CXR.
It also performs better on the Chest ImaGenome anatomy bounding-box evaluation, reaching 54.2 IoU compared with 34.1 for Gemma 4 26B.
These evaluations highlight its capabilities in medical image understanding, particularly in radiology-related tasks.
How Can You Run MedGemma 2 Locally?
Google’s getting-started guide outlines the approximate memory requirements for different model versions and deployment configurations.
| Model and Configuration | Memory Requirement | Recommended Hardware |
|---|---|---|
| 26B MoE (BF16) | ~58 GB | 80 GB+ GPU |
| E4B (BF16) | ~18 GB | 24 GB+ |
| E4B LiteRT-LM (4/8-bit) | ~4–5 GB | 12 GB+ device memory |
The smaller E4B version is particularly useful for developers who want to experiment with local deployment on mobile devices, tablets, and laptops.
Supported Deployment Frameworks
MedGemma 2 supports several popular tools and inference frameworks, including:
- Transformers
- vLLM
- LiteRT-LM
- llama.cpp
- Ollama
- Unsloth
- MLX
For developers working with GGUF models, the ggml-org Q4_K_M quantized version of the 26B model is approximately 17.5 GB.
Google Cloud users can also deploy the models through Model Garden.
Where Is MedGemma 2 Already Being Used?
The model family is already being adapted for practical healthcare applications.
- Jacaranda Health: The organization fine-tuned MedGemma for its PROMPTS maternal health SMS service in Tanzania.
- AIIMS New Delhi: The institution is adapting the model for outpatient triage and dermatology screening.
These projects demonstrate how developers and healthcare organizations are exploring ways to adapt MedGemma for specific medical workflows.
MedGemma 2 vs. Other AI Models: Feature Comparison
The following table compares MedGemma 2 with Gemma 4 26B A4B, MedGemma 1.5 4B, and gpt-oss-20b across architecture, supported inputs, hardware requirements, and benchmark performance.
| Feature | MedGemma 2 26B | MedGemma 2 E4B | Gemma 4 26B A4B | MedGemma 1.5 4B | gpt-oss-20b |
|---|---|---|---|---|---|
| Total parameters | 25.2B | ~8B (incl. PLE) | 25.2B | 4B class | 20.9B |
| Active / effective parameters | 3.8B | 4.5B | 3.8B | Dense | 3.6B |
| Context window | 128K validated (256K architecture) | 128K validated | 256K | Not disclosed | 128K |
| License | HAI-DEF | HAI-DEF | Apache 2.0 | HAI-DEF | Apache 2.0 |
| Supported inputs | Text, images, volumes, video | Text, images, volumes, video, audio | Text, images | Text, 2D/3D images, WSI | Text only |
| Memory (BF16) | ~58 GB | ~18 GB | Not disclosed | Not disclosed | Not disclosed |
| MedAgentBench | 86.3 | 53.3 | 81.3* | No native tools | Not disclosed |
| MedCalc-Bench Verified | 72.8 | 59.1 | 66.2* | No native tools | Not disclosed |
| MedQA (4-option) | Not reported | 82.3 | Not reported | 69.1* | Not disclosed |
| MIMIC-CXR macro F1 | 89.8 | 86.3 | 84.9* | 89.5* | Not applicable (text only) |
| Native tool calling | Yes | Yes | Yes | No | Yes |
The Gemma 4 26B and MedGemma 1.5 4B scores are taken from Google’s MedGemma 2 model card evaluations.
Key Takeaways
MedGemma 2 brings together medical language understanding, image processing, patient record access, and native tool calling in an open model family.
Here are the main points from Google’s release:
- Two model sizes: Developers can choose between the 26B MoE model with 3.8B active parameters and the smaller E4B version.
- Improved agentic performance: The 26B model achieves 86.3 on MedAgentBench, around five points higher than Gemma 4 26B.
- FHIR integration: Native support for querying electronic health records makes it possible to build applications around structured patient data.
- Clinical workflow support: The model can generate code for clinical scores and provide source-backed answers with citations.
- Local deployment: The E4B version can run with approximately 4–5 GB of memory using a LiteRT-LM quantized build.
- Areas for improvement: Performance remains weaker on complex medical case reasoning, while some imaging evaluations show regressions in smaller models.
Overall, MedGemma 2 represents Google’s effort to move open medical AI beyond basic question-answering and toward more capable, tool-assisted healthcare applications. Its combination of medical data processing, agentic capabilities, and flexible deployment options gives developers more ways to experiment with healthcare-focused AI systems.
Explore MedGemma 2
You can find more information about the models, their technical specifications, and deployment options through the following resources:
- MedGemma 2 Model Card
- MedGemma on Hugging Face
- Google’s MedGemma Getting Started Guide
- Official Google Blog Post
You can also explore model deployment options, hardware requirements, and specifications through the GPULeaderboard.com Chrome extension.
I am the author of this blog from Saandip Kumar Jha from Aitechtonic.com. Through this website, I give website blog AI & Tech News updates which I have learned and understood from my experience.
Discover more from AiTechtonic - AI & Informative News
Subscribe to get the latest posts sent to your email.