Skip to content

Blog

Google releases MedGemma 2, an open-source medical AI that looks up patient records on its own, with a small model that runs offline on phones

4 min read

MedGemma 2 introduction video, tool-calling section (Google)

An open-source medical AI is out that looks up patient records on its own and runs its calculations as code.

On December 3 (local time), Google released MedGemma 2. It is Gemma 4 with additional training on medical knowledge. The previous version only answered questions. This one calls tools on its own when it needs more information. It comes in two sizes: 26B for hospital servers and E4B, which also runs on phones.

The video is the tool-calling section cut from Google's introduction video, with Korean subtitles added.

Images, speech, text and tool calling handled by MedGemma 2 (Google)
Images, speech, text and tool calling handled by MedGemma 2 (Google)

Google gave three main use cases. First, it retrieves a patient's past records from electronic health records. It queries them directly using SQL or FHIR, the standard format hospital systems use to exchange medical records.

Second, it writes code to calculate the scores and values found in clinical guidelines. Third, it searches the hospital's own guidelines or medical literature such as PubMed and shows the supporting sentences alongside its answer, so doctors can check the answer against the source.

It also reads pathology, dermatology, ophthalmology and radiology images.

MedGemma 2 calculating a kidney function value (Google example)
MedGemma 2 calculating a kidney function value (Google example)

In Google's example, the model was given a 49-year-old female patient's height, weight and creatinine level and asked to calculate creatinine clearance, a measure of kidney function.

MedGemma 2 (26B) determined that it should use adjusted body weight because the BMI was 25 or higher, then wrote the calculation code. It ran this code in an isolated environment and got 41.0 mL/min. That is within the correct range (38.9–43.0). Because the calculation is kept as code, developers can verify it before using it.

Benchmark scores for MedGemma 2 and Gemma 4 (Google)
Benchmark scores for MedGemma 2 and Gemma 4 (Google)

Compared with Gemma 4 models of the same size, it scored higher on all four benchmarks Google published. The largest gap was in clinical calculation (MedCalc-Bench-Verified), where the phone-sized E4B rose from 37.9 to 59.1.

On a task that involves finding patient records and going as far as prescribing in a simulated electronic health record (MedAgentBench), the 26B scored 86.3, 5 points higher than Gemma 4 (81.3). However, all of these are results from Google's own testing.

The two sizes of MedGemma 2, for hospital servers and for phones (Google)

The 26B has 26 billion parameters in total but uses only 4 billion of them when answering, so it is fast for a large model. It fits on a single 80GB GPU (H100, A100 and similar), so it can run on a hospital server or in a hospital-dedicated cloud.

The E4B runs on a 24GB GPU or a MacBook Pro with 24GB or more of memory. Quantized to 4 bits, it also runs on phones such as the Pixel 11 Pro and Galaxy S26 (about 4–5GB of memory). This size is designed to be usable even in clinics without internet access.

MedGemma 2 (Google)
MedGemma 2 (Google)

The first MedGemma, released in 2025, has been downloaded more than 10 million times, and more than 1,000 models have been built by modifying it. The earlier research was published in the international medical journal Nature Medicine.

In Tanzania, Jacaranda Health adapted MedGemma to local languages and uses it in PROMPTS, a service where pregnant women text their symptoms and receive guidance checked by a nurse. In New Delhi, India, AIIMS (All India Institute of Medical Sciences) has built apps for outpatient triage and skin disease screening and is testing them.

It can be downloaded from Hugging Face and run right away in Ollama, llama.cpp and MLX. It can also be deployed directly on Google Cloud.

It is released under health AI terms of use that Google wrote separately, so it can be modified and distributed without fees. To ship it as a product used in patient care, however, approval from each country's health authorities is required. Google also said it is not a model for direct use in diagnosis or treatment decisions, but a starting point for developers to validate and adapt.

I think the biggest change for healthcare is that it can run on a hospital server or a phone without patient records ever leaving the hospital.

Announcement: Introducing MedGemma 2 (Google blog), technical details: Google Research blog, video: Introducing MedGemma 2 (YouTube), model: Hugging Face