Introducing MedGemma 2: Our most capable open model for health AI developers
December 3, 2026
Fereshteh Mahvar and Maddie Traverse, Software Engineers, Google Research
Introducing MedGemma 2, our most capable open model for health AI developers. Built on Gemma 4, it adds native medical tool calling and grounding capabilities and comes in two sizes tailored for servers and edge devices.
Quick links
Realizing the promise of AI in healthcare requires collaboration among researchers, developers, clinicians, health systems, and policymakers. In that spirit of collaboration, we released MedGemma in 2025 as an open, compute-efficient foundation model, aiming to empower developers worldwide who navigate clinical and regulatory responsibilities to positively impact patients’ lives at scale.
Just over a year later, the global developer community has transformed that foundation into a thriving health AI ecosystem. MedGemma has been downloaded over 10 million times by more than 60,000 unique users, who have contributed more than 1,000 derivative models. It has been referenced in more than 2,000 publications with the underlying research published in Nature Medicine. Most importantly, this momentum is translating into real-world impact as developers are adapting MedGemma to build tools that enable global healthcare providers to deliver better care.
Today, we are thrilled to announce the general availability of MedGemma 2, our most capable open model for health AI developers. Built on Gemma 4, it moves beyond MedGemma 1 and 1.5’s simple question-answering to help developers build more complex tool-enabled workflows. As a technical companion to our News from Google announcement, this post describes how MedGemma 2 can be used to put medical tools to work and help developers build downstream healthcare applications on various infrastructures.
MedGemma 2 at a glance. Multimodal input and text output, offered in two sizes: 26-billion-parameter Mixture-of-Experts model activating 4B parameters per token (26B MoE) and Effective 4-billion-parameter model (E4B).
Putting medical tools to work
To be effective in real clinical applications, AI systems need to reference a patient’s evolving history in electronic health records (EHRs) and picture archiving and communication systems (PACS), while consulting continually updating sources like terminology servers, drug interaction databases, biomedical literature, and institutional guidelines.
MedGemma 2 brings native tool calling to this problem. Combining chain-of-thought reasoning with structured function calling, it can be adapted into applications that identify when more information is needed, invoke the right tool, and process results across one or more turns. This lets MedGemma 2 serve as the reasoning and orchestration backbone for clinical agents.
We evaluated MedGemma 2 across several representative tool-use workflows, using a lightweight harness where needed:
- Accessing patient records: MedGemma 2 can generate SQL and FHIR (Fast Healthcare Interoperability Resources) queries to retrieve and reason over a patient’s longitudinal history. On MedAgentBench, covering multi-step information retrieval, calculation and ordering tasks in a virtual FHIR EHR, MedGemma 2 improves relative accuracy over Gemma 4 by 6% for 26B MoE and 9% for E4B. On AgentEHR, an SQL-based EHR benchmark, MedGemma 2 improves F1 score over Gemma 4 by a relative 31% for 26B MoE and achieves over 2.5x the F1 score for E4B.
- Generating code to evaluate clinical scores and formulas: MedGemma 2 can write Python code that developers can run in a sandbox and validate before deployment. On MedCalc-Bench, a clinical calculation benchmark (evaluated on the MedCalc-Bench-Verified subset), MedGemma 2 improves relative accuracy over Gemma 4 by 10% for 26B MoE and by 56% for E4B.
- Grounding and citing clinical sources: To keep up with evolving medical knowledge, we trained MedGemma 2 to anchor answers in supplied references, like institutional guidelines or biomedical literature, and cite passages so clinicians can verify responses against the source. On an internal grounded clinical question-answering benchmark, MedGemma 2 improves relative grounding accuracy over Gemma 4 by 5% for 26B MoE and by 11% for E4B.
Performance comparison of MedGemma 2 and Gemma 4 (E4B and 26B MoE) across four clinical tool-use and agentic EHR benchmarks.
Evaluation setup for an illustrative single-turn medical calculation workflow from MedCalc-Bench-Verified. Within a lightweight harness, MedGemma 2 is used to extract case inputs and generate Python code, which is then executed by the harness in an isolated sandbox.
Fitting diverse healthcare infrastructure
Because MedGemma is open, developers can adapt it into applications on their own infrastructure, right where patient data is processed. Deployment targets span on-premises hospital servers, private cloud or Virtual Private Cloud (VPC) environments, mobile devices, and offline clinic workstations. To cover this range, MedGemma 2 comes in two 16-bit (bfloat16) base sizes:
- MedGemma 2 26B MoE is built for on-premises hospital servers, private cloud or VPC environments, and local hosting. At 16-bit precision, it runs on a single 80 GB+ GPU such as an NVIDIA RTX PRO 6000, H100, or A100. Activating only 4B of its 26B parameters per token, it delivers significantly more clinical capabilities than a 4B model, with faster responses and higher throughput than a dense 26B model.
- MedGemma 2 E4B is built for mobile devices and offline workstations. At 16-bit precision, it runs on a single 24 GB GPU, such as an NVIDIA L4 24 GB or RTX 4090, or a 24 GB+ MacBook Pro. At 4-bit precision, it runs faster with lower compute overhead on mobile devices like the Pixel 11 Pro or Samsung Galaxy S26. A mixed-precision 4-bit build, keeping accuracy-sensitive layers at higher precision, is available via LiteRT-LM across mobile and desktop (CPU, GPU, and Pixel TPU), with pre-converted .litertlm checkpoints on Hugging Face alongside fine-tuning and conversion tutorials.
Beyond standard support for Hugging Face Transformers and vLLM, MedGemma 2 can be deployed and fine-tuned across ecosystems like Ollama, Unsloth, llama.cpp, and MLX, giving developers more flexibility and options.
Google Cloud customers can find MedGemma 2 in Model Garden on Gemini platform, ready to evaluate, fine-tune and validate within their own VPC before deploying as production-grade online endpoints or scalable batch jobs.
| MedGemma 2 26B MoE 4B active per token 16-bit (bfloat16) |
MedGemma 2 E4B 16-bit (bfloat16) |
MedGemma 2 E4B 4/8-bit mixed precision (.litertlm) |
|
|---|---|---|---|
| Inference memory | ~58 GB | ~18 GB | ~4–5 GB |
| Target hardware | Hospital servers, public/private cloud, local compute (e.g., A100 80GB or H100 GPUs) | Single GPU (24 GB+, e.g., L4 or RTX 4090) or PC / Mac workstation | Android & iOS phones, tablets, desktops (macOS, Windows, Linux) - CPU, GPU, and Pixel TPU |
| When to choose |
|
|
|
| Compute requirement | High | Medium | Low |
MedGemma 2 model and deployment selection guide.
Start building
To help developers explore common architectural patterns, we have created the HAI-DEF Cookbook, a set of coding examples that illustrate how MedGemma 2 can be effectively used for common development tasks.
Beyond the cookbook, you can explore these additional resources to get started:
- Review the model card: Check the MedGemma 2 model card for intended use, limitations, data provenance, and benchmarks.
- Get started with MedGemma 2: Visit our Get Started page to pick a model and deployment setup and explore tutorials.
- Join the community: Join discussions on the HAI-DEF Forum and subscribe to our developer newsletter.
- Share what you build: Building with MedGemma? Tell us about it; we’d love to feature your work in the HAI-DEF Showcase.
We can’t wait to see what you build!
Note on datasets
Models were trained and evaluated on a mix of public and private de-identified datasets. Google and its partners utilize datasets that have been rigorously anonymized or de-identified to help protect individual research participants and patient privacy.
Disclaimer
HAI-DEF models, including MedGemma, are intended to be used as a starting point that enables efficient development of downstream healthcare applications involving medical text, images, audio, video, and tool-calling workflows. HAI-DEF models are not intended to be used without appropriate validation, adaptation and/or making meaningful modification by developers for their specific use case. The outputs generated by these models are not intended to directly inform clinical diagnosis, patient management decisions, treatment recommendations, or any other direct clinical practice applications, including mental and behavioral health applications. Performance benchmarks reported here highlight baseline capabilities and are not intended to imply that MedGemma is safe to use in any given medical application. Inaccurate model outputs beyond those shown here are possible. All model outputs should be considered preliminary and require independent verification, clinical correlation, and further investigation through established research and development methodologies. Please refer to terms of use and prohibited use policy for more details.
Acknowledgments
MedGemma 2 and the HAI-DEF Cookbook bring together contributions from teams across Google. We thank the many people who contributed to this work, including the engineering and cross-functional members of the Health AI, Google Cloud, Google AI Edge, Google DeepMind, and Google Research teams.
AI Trends