Skip to content
AI Productivity Insights

MedGemma 2: Local Medical AI Learns to Use Tools (and Why That Matters)

What improved, where the older model still wins, and what to test before connecting MedGemma 2 to a clinical workflow.

Editorial illustration of a clinician reviewing a chest image and records at a hospital workstation, with a server cabinet visible behind glass.

Last December, I wrote about what happens when medical AI can run where the data lives. The first MedGemma gave developers a choice about where to run the model. With MedGemma 2, the more interesting question is what you can let it do once it’s there.

Imagine preparing for a telemedicine appointment. The referral is in one document, the latest medication list is in another, and a previous visit note mentions something neither includes. A useful assistant doesn’t just write a tidy summary. It finds the right records, shows where each detail came from, and leaves disagreements visible for the clinician.

Enter MedGemma 2

Google announced MedGemma 2 on 3 December 2026. Built on Gemma 4, it adds native medical tool calling and source grounding, with two open-weight models aimed at server and device deployments (Google’s release announcement). Google says earlier MedGemma releases were downloaded more than 10 million times in 18 months and led to more than 1,000 derivative models; those figures describe developer adoption, not clinical use or validation (Google’s release announcement).

What isn’t new? MedGemma 1.5 already supported CT and MRI volumes, whole-slide pathology, and comparison of chest X-rays over time, and expanded support for medical documents and electronic health records (MedGemma 1.5 model card). The step forward in version 2 is that the model can request a tool and ground an answer in material the application supplies (Google Research).

Google’s examples include generating queries in SQL or FHIR (Fast Healthcare Interoperability Resources, a standard for exchanging health data), generating code for calculations, and citing passages in supplied references (Google Research). The distinction that matters: the model can request an action, but the application decides whether the action is allowed and executes it. Downloading the weights does not give the model access to a hospital’s systems.

Overview of MedGemma 2 capabilities in 2D imaging, audio, text, and tool-based workflows. Only E4B accepts audio natively.
Figure 1. MedGemma 2 capabilities at a glance. Credit: Google Research.

Under the Hood: Two Models, Three Deployment Choices

The original MedGemma family used Gemma 3. This release moves to Gemma 4 and replaces the MedSigLIP-derived vision encoder with Gemma 4’s native vision encoders, which did not receive separate medical pretraining; the model itself was post-trained on medical data (MedGemma 2 model card). That makes the imaging benchmarks more useful than a simple assumption that the newer model is better.

ConfigurationApproximate inference memoryRecommended hardware memoryWhere I’d start
E4B, BF1618 GB24 GB or more (Google’s deployment guide)Workstation evaluation or adaptation
26B mixture of experts (MoE), BF1658 GBOne GPU with 80 GB or more (Google’s deployment guide)Server evaluation and multi-step tool workflows
E4B, mixed-precision LiteRT-LM4–5 GB12 GB or more total RAM on shared-memory devices, or 8 GB or more dedicated VRAM on discrete GPUs (Google AI Edge)Offline mobile and desktop prototypes

Active parameters aren’t the same as memory footprint. E4B has about 4.5 billion effective parameters and about 8 billion including per-layer embeddings. The 26B has 25.2 billion total and activates about 3.8 billion per token (MedGemma 2 model card). That doesn’t make the 26B a drop-in replacement wherever a dense 4B model fit. BF16 is the 16-bit reference format; treat the memory figures as planning guidance, not a guarantee for every workload.

Audio is E4B-only. Both models return text, but only E4B accepts supplied audio; the 26B needs a separate speech-to-text component for that workflow. E4B does not record from a microphone or listen in the background (MedGemma 2 model card). On Google’s internal radiology dictation set, word error rate was 10.6% for MedGemma 2 E4B, versus 27.2% for Gemma 4 E4B and 5.4% for the dedicated MedASR model; lower is better (MedGemma 2 model card). If transcription is the main job, I’d test MedASR or another dedicated system alongside the integrated model.

Context depends on the build. E4B’s architectural limit is 128K tokens and the 26B architecture supports up to 256K, but Google reports validating both MedGemma 2 checkpoints to 128K (MedGemma 2 model card). The on-device bundle has a smaller runtime window, which matters if your workflow depends on long records (Google AI Edge).

The Strategic Shift: Privacy Is a System Design Question

A model can run on a hospital workstation while its search queries go to a cloud service. It can run without an external model API while a logging tool still uploads patient information. Before calling the system private or offline, trace the whole path: input, retrieval, tool execution, storage, logs, and review.

I’d take the same approach to cost. Instead of asking only what each generated token costs, ask what it costs to produce a brief someone can use. Include hardware, maintenance, integration, and the time it takes a person to verify or correct the result. If corrections take longer than preparing the brief manually, cheaper inference hasn’t made the workflow cheaper.

Performance: Better Text Results, Mixed Imaging Gains

There are two useful comparisons: MedGemma 1.5 shows what an existing MedGemma user might gain or lose; Gemma 4 shows how the medical model compares with the general-purpose foundation it starts from. All results below come from Google’s evaluations, not tests run by AI Productivity Insights.

Benchmark and metricMedGemma 1.5 4BGemma 4 E4BMedGemma 2 E4B
MedQA, four-option accuracy69.1%74.0%82.3% (Google model card)
PubMedQA, accuracy67.6%73.0%78.6% (Google model card)
EHRNoteQA, accuracy80.4%92.1%93.7% (Google model card)
Grounded Clinical QA, accuracy (internal)13.1%85.2%94.8% (Google model card)
MIMIC-CXR, macro F1 across five conditions89.574.286.3 (Google model card)
PathMCQA, histopathology accuracy (internal)70.0%42.7%63.3% (Google model card)

The 13.1% to 94.8% grounding jump gets your attention. But general-purpose Gemma 4 E4B already scored 85.2% in the same evaluation, putting MedGemma 2 E4B 9.6 percentage points above its foundation; on MedQA, the differences are 13.2 points over MedGemma 1.5 and 8.3 points over Gemma 4 E4B (Google model card). Those are improvements on specific tests, not guarantees that a citation is correct or that an answer is clinically sound.

Imaging isn’t a uniform upgrade: E4B trails MedGemma 1.5 on both imaging rows above, and Google’s MedGemma 2 card does not provide evaluations for CT, MRI, or whole-slide pathology inputs (Google model card). That’s a reason to keep your current imaging pipeline as a baseline, not a reason to assume MedGemma 2 can’t handle those inputs.

How well does it use tools?

Google compares each MedGemma 2 size with the corresponding Gemma 4 model here. MedGemma 1.5 4B doesn’t support native tool calling and is not included in this comparison (Google model card).

Benchmark and metricGemma 4 E4B → MedGemma 2 E4BGemma 4 26B → MedGemma 2 26B MoE
MedAgentBench, task success rate48.7% → 53.3%81.3% → 86.3% (Google model card)
MedCalc-Bench-Verified, accuracy37.9% → 59.1%66.2% → 72.8% (Google model card)

MedAgentBench contains 300 physician-written tasks across ten categories in a simulated FHIR-compatible electronic health record (EHR) environment (MedAgentBench paper). That makes it relevant to workflow design. It does not tell you how an assistant handles your hospital’s access rules, incomplete records, or unusual identifiers.

Google’s benchmark comparison for Gemma 4 and MedGemma 2 in E4B and 26B sizes. MedGemma 2 leads both corresponding base models on the four tests shown.
Figure 2. Tool-use benchmark comparisons across both model sizes. Credit: Google Research.

The Developer Playground: Adapt the Workflow Before the Model

Google’s HAI-DEF Cookbook offers examples for local guideline retrieval, deterministic tool calling, and extracting structured data from documents into FHIR. These are educational examples, not production applications or clinically validated workflows (Cookbook documentation). Before reaching for fine-tuning, ask which part of the system actually needs work:

  • Knowledge access: Retrieve the approved guideline and show its version. Don’t bury a changing policy in the weights if you can point the reviewer to the current document.
  • Output consistency: Start with a clear template and validate the output against it. Consider fine-tuning only if repeated tests reveal a persistent problem that better training examples could address.
  • Software integration: Give the model narrowly scoped tools and have the application enforce permissions, validate identifiers, and handle failures. For calculations, I’d choose a tested function with typed inputs and explicit units over executing newly generated code for each case.

If a value is wrong, first ask where it went wrong. A better retrieval step, a check for mismatched units, or a stricter output format may fix a problem that another round of training won’t.

Guardrails: Open Weights Are Not Clinical Clearance

Google describes MedGemma 2 as a foundation for downstream development, not as a ready-to-use clinical product. Its raw outputs are preliminary and not intended to directly inform diagnosis, treatment, or patient-management decisions (Google Research).

The HAI-DEF terms govern the model weights, separately from the Cookbook’s Apache 2.0 code license (Cookbook documentation). The terms set conditions on distribution and require seeking health regulatory authorization when applicable (HAI-DEF Terms of Use). The prohibited-use policy bars automated decisions that affect material or individual rights or well-being, including in healthcare (HAI-DEF Prohibited Use Policy). Local hosting and human review are useful design choices, not substitutes for assessing the intended use against those terms and applicable rules.

For a multilingual hospital, I’d test Thai, English, mixed-language notes, local shorthand, and transcription mistakes separately. Make it easy for the reviewer to spot the errors that a polished paragraph can hide: a wrong date, a wrong unit, or a result linked to the wrong patient.

What MedGemma 2 Does: A Pre-Visit Brief With Human Review

A telemedicine appointment gives us a practical way to see what MedGemma 2 adds. The model can request relevant records through an approved tool, then draft a brief that points back to those records. The application controls access, and an authorized reviewer decides whether the draft can be saved. This is a proposed pilot, not a Google product or a clinical deployment.

  1. Application: Confirm the appointment, patient match, and staff member’s access before requesting any records. The model does not choose the patient or grant access.
  2. MedGemma 2 + application: MedGemma 2 requests relevant records through an approved, read-only tool. The application checks whether the request is permitted, executes it if allowed, and returns only the permitted records with their dates and source IDs.
  3. MedGemma 2: Draft the pre-visit brief from the returned records. Link each factual claim to its supporting record so the reviewer can open the original.
  4. MedGemma 2 + application: Have the model flag conflicts and identify missing information without guessing. If the referral mentions a medication absent from the latest list, show both records rather than silently choosing one. The application checks that every cited source ID was actually returned. This check does not prove a record supports the claim; the reviewer still verifies that.
  5. Human reviewer + application: The reviewer checks the draft against the originals and edits, rejects, or explicitly approves it. Only the application can save an approved brief, and it records the approval. The model has no direct write access.
A proposed five-step workflow for a pre-visit brief before a telemedicine appointment. Step 1, application: confirm the appointment, patient match and staff access; the model does not choose the patient. Step 2, MedGemma 2 and the application: MedGemma 2 requests records through a read-only tool; the application checks and runs the request and returns only permitted records. Step 3, MedGemma 2: draft the brief with each claim linked to its record. Step 4, MedGemma 2 and the application: flag conflicts and missing information without guessing; the application checks that every cited source ID was returned. Step 5, human reviewer and the application: the reviewer checks the originals, then approves, edits or rejects; only the application saves an approved brief.
Figure 3. A proposed workflow: the application controls access and saving, MedGemma 2 requests records and drafts with evidence, and the reviewer verifies and approves. Illustration: AI Productivity Insights.

Measure total preparation and review time, serious factual errors, missed conflicts, and unsupported citations. Compare those with the current manual process. A fast model only helps if the whole task gets easier without creating a new verification burden.

Hands-On: Test the Deployment You Actually Intend to Use

  • Cloud sandbox: Start with Google’s setup guide, accept the model terms, and use synthetic cases. A notebook using Colab’s hosted runtime is a cloud experiment, not evidence that the workflow works offline (Google Colab FAQ).
  • Local workstation or server: Start with the E4B or 26B MoE weights via Transformers or vLLM. Google lists additional routes through LiteRT-LM, llama.cpp, Ollama, Unsloth, and MLX; check the checkpoint and modality support for the route you choose (Google’s setup guide; release announcement).
  • Offline device: Start with the mixed-precision E4B bundle. Google AI Edge recommends 8,192 tokens and documents a configurable maximum of 32,768 on LiteRT-LM; the compiled Pixel TPU bundle is capped at 8,192 (Google AI Edge). The published deployment figures establish memory and speed expectations, not accuracy parity with BF16; Google’s model card explicitly calls for separate validation of converted and quantized builds (Google AI Edge; MedGemma 2 model card).

Start with five synthetic test cases: a straightforward record, a missing field, a conflict between two documents, an irrelevant reference, and a request the application should reject or escalate. Run the same pack against your baseline and exact deployment build. Record the checkpoint, runtime, precision, context, prompt, and retrieval settings.

For an offline claim, disconnect the network after setup and run the entire workflow again. Can it still retrieve local documents, call approved tools, show the original evidence, and let a person review the draft? That’s a stronger demonstration than showing the model can answer a prompt without Wi-Fi.

Conclusion: From Running Locally to Working Reliably

The first MedGemma story asked where medical AI could run. MedGemma 2 makes a second question worth asking: can it do a specific piece of work while letting a person see how the result was assembled?

I’d start with one brief, one document format, or one approved collection of guidelines. Make the evidence easy to inspect, measure the work saved after review, and expand only when the results justify it. The most useful demo isn’t a model that answers everything. It’s one that makes a recurring task easier without making mistakes harder to see.

Executive Summary for Senior Leaders

  • What changed: MedGemma 2 brings native tool calling and grounding to a Gemma 4 foundation, with server and on-device options (Google’s release announcement).
  • What the evidence says: Several text and tool benchmarks improve; the smaller model still trails MedGemma 1.5 on the two imaging measures highlighted here (Google model card).
  • What to do first: Pick one workflow, keep retrieval read-only, assign an accountable reviewer, and compare the exact build with your current process before expanding.

Where to Go Next

Start with the first story in this series for the case for local medical AI. If you’re ready to build, pick one workflow from the HAI-DEF Cookbook and use Google’s setup guide to choose which build to test.

Reporting note: Primary sources checked 5 December 2026. The telemedicine example is an editorial design, not a reported deployment. AI Productivity Insights did not run the models or independently reproduce Google’s benchmarks.

Sources and Further Reading

Release, architecture, and model cards

Benchmarks and audio

Deployment and developer resources

Terms and permitted use

Figure credits and earlier coverage

Newsletter

Get AI productivity insights delivered

Practical AI guides, tutorials, and fresh insights in your inbox.