MedGemma 2 is the first open Google model worth piloting for an EHR agent that runs inside your own network, as long as the pilot stays on chart extraction and record lookup. Keep it away from anything that touches a treatment decision. Google made it generally available on December 3, 2026 in two sizes, with native tool calling that writes FHIR and SQL queries and answers anchored to the documents you hand it. Google's own tables put the 26B model at 86.3% on MedAgentBench. The same model card says its outputs "are not intended to directly inform clinical diagnosis, patient management decisions, treatment recommendations, clinical calculations or any other direct clinical practice applications."
Scope the pilot to what the disclaimer allows, and budget for the validation Google leaves to you.
What Google Actually Shipped on December 3
MedGemma 2 is a medically tuned version of Gemma 4 that Google built for agents rather than question answering. The research blog says it "moves beyond MedGemma 1 and 1.5's simple question-answering" and adds three things: generating FHIR (Fast Healthcare Interoperability Resources) and SQL queries as tool calls, writing Python for clinical calculations that you run in your own sandbox, and grounding answers in supplied references.
There are two checkpoints. Per the model card:
| MedGemma 2 4B (E4B) | MedGemma 2 26B MoE | |
|---|---|---|
| Architecture | Dense, 4.5B effective | Mixture of Experts, 25.2B total, 3.8B active |
| Inputs | Text, images, volumes, video, audio | Text, images, volumes, video |
| Validated context | 128K tokens | 128K tokens |
| 16-bit memory (blog) | ~18 GB | ~58 GB |
| Single GPU (blog) | 24 GB, e.g. L4 or RTX 4090 | 80 GB+, e.g. H100 or A100 |
Two details matter for capacity planning. The 26B model is a Mixture of Experts, a model that routes each token through a few of its many sub-networks, so it computes like a 4B model but your node still has to load all 25.2B parameters. And while the Gemma 4 architecture underneath supports 256K tokens, the card says the MedGemma 2 checkpoints "are validated up to 128K tokens." A long patient record that runs past 128K is outside what Google tested.
Distribution is self-hosted. The weights sit on Hugging Face behind a gate where you accept the Health AI Developer Foundations terms, and the page says no inference provider hosts it. On Google Cloud it is in Model Garden for deployment inside your own VPC. Neither page lists a price, so what you pay for is GPU hours. Runtimes named in the blog include Transformers, vLLM, Ollama and llama.cpp.
Where MedGemma 2 Beats What You Have Now
MedGemma 2 is a clear step up from MedGemma 1.5 on text, records and grounding, which are the tasks an EHR agent runs. All of the following are Google's own numbers from the model card, mostly on Google-run or internal evaluations:
- On MedAgentBench the 26B model scores 86.3% success against 81.3% for base Gemma 4 26B. The 4B scores 53.3%. MedGemma 1.5 does not support native tool calling at all.
- On Google's internal grounded clinical QA set, the 26B scores 95.6% and the 4B 94.8%, against 13.1% for MedGemma 1.5 4B.
- The 4B reaches 82.3% on MedQA, up from 69.1% for MedGemma 1.5, which Google released in January 2026.
- For document extraction to JSON on Google's EHR Dataset 3, the 4B's macro F1 rises to 85.0 from 71.0.
MedAgentBench deserves a sentence of context, because it is the number vendors will quote. The benchmark paper describes 300 physician-written tasks across 100 realistic patient profiles in a FHIR-compliant environment. When it was published in January 2025, the best model it tested, Claude 3.5 Sonnet v2, scored 69.67%. An open 26B model clearing 86% on the same harness is real progress, but it is Google's run on a public benchmark, with no independent replication yet.
The harder agent tests are less flattering. On AgentEHR the 26B model's F1 is 30.7 on common cases and 26.5 on rare ones. On ClinSeek-Bench without web search it is 49.1. Those are the numbers to show anyone who reads 86.3% and thinks the agent problem is solved.
Where It Loses, and What to Keep Running
MedGemma 2 does not replace Google's specialist health models, and the model card shows exactly where. Plan the pilot around these gaps instead of discovering them in production.
On imaging the 4B model trails MedGemma 1.5 on four of six tasks: MIMIC-CXR (86.3 vs 89.5 macro F1), pathology multiple choice (63.3 vs 70.0), dermatology multiple choice (68.5 vs 73.5) and MS-CXR-T (65.1 vs 65.7). It wins on CheXpert and on anatomy bounding boxes. The 26B model recovers on chest X-ray and dermatology but still loses pathology to 1.5 (68.0 vs 70.0). If you run image classification or retrieval rather than generation, MedSigLIP, which pairs a 400M-parameter image encoder with a 400M-parameter text encoder, is the model Google recommends for that job.
The 4B accepts audio, but MedASR, Google's 105M-parameter speech model trained on about 5,000 hours of physician dictation, beats it on every dictation set in the card. Radiology word error rate is 5.4% for MedASR against 10.6% for MedGemma 2 4B. Keep MedASR in front of the language model.
The card says its evaluations "included primarily English language prompts," and that quantized community builds (GGUF, LiteRT, MLX) "may perform differently from the original BF16 weights and should be validated separately." The 4-bit build that fits a phone is a different model for validation purposes.
What the HAI-DEF Terms Make You Responsible For
MedGemma 2's weights come under Google's own health licence, and your legal team should read it before your engineers fine-tune anything. The weights are governed by the Health AI Developer Foundations Terms of Use, last modified November 15, 2024. Google's inference and training code is Apache 2.0; the model is not.
The clauses that change a health system's plan:
- Restrictions travel with the model. If you distribute MedGemma 2 or a fine-tuned derivative, you "must include the use restrictions in Section 3.2 as an enforceable provision in any agreement." A vendor building on it inherits that, and so does your contract with them.
- Section 3.2 bars any use "that could cause a Health Regulatory Authority to deem Google to be a 'manufacturer' of a medical device," and Google may terminate the agreement if it reasonably concludes that risk exists. Distributors must, when applicable, seek regulatory authorization themselves.
- "You and your users are solely responsible for Outputs and their subsequent uses," and you indemnify Google for listed claims, including injury arising from your use or modifications. California law governs.
- The Prohibited Use Policy bars "making automated decisions in domains that affect material or individual rights or well-being," with healthcare among its examples.
Read together, the terms allow an agent that drafts, retrieves and extracts for a clinician who checks the work, and they rule out one that makes the decision itself. That lines up with how the FDA looks at software: its clinical decision support guidance, current as of January 2026, is the document your regulatory lead will hold any clinical-facing use case against. MedGemma 2 carries no FDA clearance, and nothing Google published claims one.
Google is direct about the limits. The blog says its benchmarks "are not intended to imply that MedGemma is safe to use in any given medical application," and the card calls the base models "a starting point for further adaptation before any clinical use." The earlier generation was peer reviewed in Nature Medicine, and in that study a single radiologist judged 81% of its chest X-ray reports to lead to the same or a better clinical decision. That is a research result on one dataset, which is the standard every MedGemma number still sits at.
How MedGemma 2 Compares With Hosted Health AI
The real choice for most health systems is between hosting MedGemma 2 yourself and buying a hosted health product with a business associate agreement.
Self-hosting keeps protected health information inside your VPC, which removes the BAA question entirely and avoids the wait we described when Gemini for healthcare launched in preview without confirmed BAA terms. The cost is that you own the serving, the evals and the monitoring. Most hospitals are not set up for that: our look at how health systems test vendor AI found fewer than half have a sandbox to do it in.
Hosted products such as ChatGPT for Healthcare come with admin controls, a contract and a vendor to call, at a per-seat or per-token price. For a narrow, high-volume extraction task, an open 26B model on one 80 GB GPU can be the cheaper path. For a broad clinician assistant, it usually is not.
Licensing is the other difference. Base Gemma 4 ships under Apache 2.0, as covered in our open-weight licence comparison. MedGemma 2 does not, so "we already approved Gemma" does not carry over.
What to Do Before You Pilot It
This Week:
- Send the HAI-DEF Terms and the Prohibited Use Policy to counsel and your regulatory lead with one question: which of our three candidate use cases stays outside "automated decisions" and outside FDA device territory? Get the answer in writing.
- Pick one record task with a ground truth you already have, such as discharge summary extraction or a FHIR lookup your analysts answer by hand today. Pull 200 de-identified cases as the test set.
This Month:
- Stand up the 26B model in Model Garden inside your VPC or on one 80 GB GPU on-premises, pinned to the BF16 weights. Mirror the weights to your own registry, since the Hugging Face repo is gated and a model you cannot re-download is a continuity risk.
- Run every tool call in a sandbox with read-only FHIR scopes. The card says developers "remain solely responsible for hosting, sandboxing, and validating all code execution."
- Score MedGemma 2 against your current extraction pipeline and against MedGemma 1.5 on your 200 cases. Count grounding failures separately: the card warns the model "may still produce content not supported by the provided sources."
Before Expanding Scope:
- Keep MedASR on dictation and MedSigLIP or MedGemma 1.5 on imaging until your own numbers say otherwise.
- Write the review step into the workflow: every output a clinician sees is a draft they confirm, logged with who confirmed it.
The Bottom Line
MedGemma 2 is Google's first open health model built to call tools against a FHIR server, and Google's numbers say it does so better than any version before it. Every one of those numbers is Google's, the licence keeps it out of autonomous decisions, and the model card hands validation to you. Health systems went through this cycle with FDA-cleared imaging AI, where only three of 1,357 devices were tested on patients: the benchmark arrived years before the outcome evidence. Treat MedGemma 2 the same way. Run it on records, measure it on your own patients' charts, and keep a clinician on every output.
Start with the 200-case test set and the counsel review, before anyone downloads the weights.
Continue Reading
- Keep PHI Out of Gemini for Healthcare Until Google Confirms BAA
- Hospitals Test Vendor AI. Fewer Than Half Have a Sandbox.
- OpenAI's Healthcare Agents Need App Allowlists and Approvals
- Compare Llama 4, Gemma 4, Qwen3 and gpt-oss Licenses for SaaS
- Lung Cancer AI: Chart Data Held Up. Scans and Slides Didn't.
- Best Ambient AI Scribes Save 16 Minutes a Day, Not an Hour
