i
News
News · 2026-12-03

Google releases MedGemma 2 for medical applications

Dataist Dataist

Google has introduced MedGemma 2, its most powerful open model for developers building medical AI systems.

Cover: Google releases MedGemma 2 for medical applications

Google has released MedGemma 2, a model for developers building medical applications, based on Gemma 4. It can call tools and link its answers to medical sources, enabling multi-step workflows with patient data. The model comes in two variants: 26B MoE, which activates 4 billion parameters per token, and E4B, with 4 billion parameters. In Google’s tests, MedGemma 2 outperformed Gemma 4 on tasks involving searches of electronic health records, medical calculations and working with sources.

Google releases MedGemma 2 for medical applications

What the model can do

MedGemma launched in 2025 as an open model that developers could adapt for healthcare. In a little over a year, it has been downloaded more than 10 million times, with over 60,000 unique users. The community has created more than 1,000 derivative models. More than 2,000 publications cite MedGemma, and a study of the model was published in Nature Medicine. Developers are also adapting it for tools that help healthcare organizations care for patients.

MedGemma 2 is designed for more complex workflows than answering individual questions. It combines a reasoning chain with structured function calling: the model can identify missing information, call an appropriate tool and process the result in one or more turns. This makes it possible to use the model as a foundation for reasoning and coordinating the actions of clinical AI agents.

Real-world medical applications may need access to patient histories in electronic health records and medical imaging archives, as well as up-to-date data from medical terminology servers, drug interaction databases, biomedical publications and internal clinical guidelines. MedGemma 2 can work with these sources through tools.

Google evaluated the model in several scenarios:

Searching medical records. The model generates SQL and FHIR queries — FHIR stands for Fast Healthcare Interoperability Resources — to retrieve and work with information from patient histories. On MedAgentBench, which tests multi-step information retrieval, calculations and data sorting in a virtual FHIR-based electronic health record, MedGemma 2’s relative accuracy is 6% higher than Gemma 4’s for 26B MoE and 9% higher for E4B. On AgentEHR, a benchmark based on SQL queries to electronic health records, the F1 score is 31% higher than Gemma 4’s for 26B MoE; E4B scores more than 2.5 times as high as Gemma 4.
Medical calculations. MedGemma 2 writes Python code to evaluate clinical scores and formulas. Developers can run it in an isolated environment and check it before deployment. On the evaluated portion of MedCalc-Bench, relative accuracy increased over Gemma 4 by 10% for 26B MoE and 56% for E4B.
Answers grounded in medical sources. The model was trained to support its answers with supplied materials — such as clinical guidelines or biomedical publications — and cite relevant passages so specialists can check its response. On an internal benchmark of clinical medicine questions grounded in sources, the relative accuracy of this grounding increased by 5% for 26B MoE and 11% for E4B.

Source: research.google

In the medical calculations test, the model extracts input data from a case description and writes Python code. A lightweight test harness runs the code in an isolated environment.

Source: research.google

Where to run MedGemma 2

Both versions are available in 16-bit precision, in bfloat16 format. The model can be deployed wherever patient data is processed: on hospital servers, in a private cloud or virtual private cloud, on mobile devices, and on clinic workstations without a network connection.

MedGemma 2 26B MoE is intended for hospital servers, private cloud and on-premises deployment. At 16-bit precision, it needs a single GPU with at least 80 GB of memory, such as an NVIDIA RTX PRO 6000, H100 or A100. For each token, the model activates 4 billion of its 26 billion parameters. Google says it offers more medical capabilities than a 4-billion-parameter model and responds faster, while delivering higher throughput than a dense 26-billion-parameter model.
MedGemma 2 E4B is designed for mobile devices and offline workstations. At 16-bit precision, it runs on a single GPU with 24 GB of memory — such as an NVIDIA L4 24 GB or RTX 4090 — or on a MacBook Pro with at least 24 GB of memory. At 4-bit precision, it runs faster and requires fewer computing resources on devices such as the Pixel 11 Pro and Samsung Galaxy S26. A mixed 4-bit version, in which layers sensitive to precision retain higher precision, is available through LiteRT-LM for mobile and desktop devices, using CPUs, GPUs and Pixel TPU. Pre-converted .litertlm checkpoints are hosted on Hugging Face, along with learning materials on fine-tuning and model conversion.

In addition to Hugging Face Transformers and vLLM, MedGemma 2 can be deployed and customized with Ollama, Unsloth, llama.cpp and MLX. Google Cloud users will find the model in Model Garden on the Gemini platform, where they can evaluate and customize it, and test it in their own virtual private cloud before deploying it as production network endpoints or scalable batch jobs.

Google also describes deployment options by task type. 26B MoE is suited to multi-step clinical reasoning, tool calling, serving many users and batch processing. E4B offers quality without compression; running it at full precision is suitable for fine-tuning and evaluation and provides a baseline for 4-bit versions. LiteRT-LM is intended for developing and testing offline mobile and desktop applications on Android, iOS and computers with a CPU or GPU and Pixel TPU. It also supports prototyping through a command line or API server, and exporting customized models to .litertlm.

Developer resources

Google has prepared the HAI-DEF Cookbook, a collection of code examples showing common ways to use MedGemma 2. To get started, the company also recommends reviewing the model card, which describes intended uses, limitations, data provenance and benchmarks; choosing a model and deployment configuration on the Get Started page; joining discussions on the HAI-DEF Forum; and sharing projects for possible publication in the HAI-DEF Showcase. Developers can also subscribe to the newsletter on the community page.

Data and limitations

The models were trained and evaluated on a combination of open and closed de-identified datasets. Google and its partners use datasets that have undergone strict anonymization or de-identification to protect research participants and patient privacy.

MedGemma and other HAI-DEF models are intended for the initial development of medical applications that work with text, images, audio, video and tool calling. Before use, a model must be evaluated, adapted and, if necessary, substantially modified for the specific task. Its outputs are not intended for direct diagnosis, decisions about patient management, treatment recommendations or other decisions in clinical practice, including mental and behavioral health.

The results presented show the model’s baseline capabilities; they do not establish its safety for any specific medical use. The model may also make errors beyond those identified by the tests. All MedGemma responses should be treated as preliminary: they need to be independently checked against clinical data and studied further using established research and development methods. Details are provided in the terms of use and prohibited-use policy.

MedGemma 2 and the HAI-DEF Cookbook were developed by Google teams. Contributors included developers and other staff from Health AI, Google Cloud, Google AI Edge, Google DeepMind and Google Research. The publication’s authors are Google Research software engineers Fereshteh Mahvar and Maddie Travers.

Dataist’s take: Tool calling expands the range of tasks developers can use MedGemma 2 for, but does not make it a system for independent clinical decisions. Google explicitly requires adaptation and independent review of outputs, and benchmark results do not establish the model’s safety in a specific application.

Daily AI news

Every day we pick what actually matters in AI and explain it plainly — no hype, no filler. Subscribe if you want to follow where the industry is going.

Only what matters — every day

Follow on X