Model launches

AI-generated text

Google releases MedGemma 2 for healthcare application developers

Google has made MedGemma 2 generally available as an open foundation model for developers building healthcare applications.

Google releases MedGemma 2 for healthcare application developers

Google has made MedGemma 2 generally available as an open foundation model for developers of healthcare AI applications. Based on Gemma 4, the new version supports more complex workflows that use external tools, moving beyond the simpler question-and-answer tasks of earlier generations.

The company released the first MedGemma model in 2025 as a compute-efficient foundation for healthcare development. Google says that in just over a year, more than 60,000 unique users downloaded the model over 10 million times and created more than 1,000 derivative models. MedGemma has been cited in more than 2,000 publications, and the underlying research was published in Nature Medicine.

Using patient records and medical sources

MedGemma 2 has native tool-calling capabilities. Google says it can combine reasoning with structured function calls to identify when additional information is needed, invoke an appropriate tool and process its results. That enables developers to build applications that work with electronic health records, medical imaging systems, drug interaction databases or institutional guidelines.

The model can generate SQL and FHIR queries to examine a patient's history over time. According to Google's measurements, on MedAgentBench, which uses a virtual FHIR-based health record, MedGemma 2 improved relative accuracy over Gemma 4 by 6% for the 26B MoE version and 9% for E4B. On the SQL-based AgentEHR benchmark, the 26B MoE version improved its F1 score by a relative 31%, while E4B achieved more than 2.5 times the F1 score.

The model can also write Python code for clinical scores and formulas, which developers can run and check in a sandbox. On the MedCalc-Bench-Verified dataset, relative accuracy increased over Gemma 4 by 10% for 26B MoE and 56% for E4B. On an internal clinical question-answering benchmark based on supplied sources, grounding accuracy improved by 5% and 11%, respectively. The model can cite passages from supplied literature or guidelines to help users verify its answers.

Two sizes for different infrastructure

MedGemma 2 is available in two base versions, allowing developers to use it on their own infrastructure where patient data is processed. The 26B MoE version is designed for hospital servers, local hosting and private cloud environments. It activates 4 billion of its 26 billion parameters per token; at 16-bit precision, it runs on a GPU with at least 80 GB of memory and requires roughly 58 GB of inference memory. Google says it is better suited to multi-step clinical reasoning, tool use and high-throughput serving.

The E4B version is intended for workstations and mobile devices. Its 16-bit version uses approximately 18 GB of inference memory and can run on a 24 GB GPU or a MacBook Pro with at least 24 GB of memory. A mixed 4/8-bit version requires around 4–5 GB and can be used on mobile or desktop devices through LiteRT-LM. Pre-converted models are available on Hugging Face.

Alongside Hugging Face Transformers and vLLM, the model can be deployed and fine-tuned in environments including Ollama, Unsloth, llama.cpp and MLX. Google Cloud customers can access it through Model Garden on the Gemini platform, where they can evaluate, fine-tune and validate it in their own virtual private cloud before deployment.

Developer guidance and limitations

Google provides coding examples in the HAI-DEF Cookbook to illustrate common development patterns. The company also offers a model card, getting-started guidance and a community forum. The models were trained and evaluated on a mix of public and private datasets stripped of identifying information.

Google stresses that MedGemma and other HAI-DEF models are starting points for developing healthcare applications, not finished clinical tools. Appropriate adaptation and validation are needed for each use case; their outputs are not intended to directly inform diagnoses, patient management decisions or treatment recommendations. The company says benchmark results do not establish the safety of any particular medical application, and outputs should be treated as preliminary and independently verified.