Skip to content
AI Primer
release

Google releases MedGemma 2 with 26B MoE and on-device E4B variants

Google's MedGemma 2 adds medical tool calls and multimodal record processing in 26B MoE and on-device E4B variants. The Gemma 4-based models require local validation for clinical use.

4 min read
Google releases MedGemma 2 with 26B MoE and on-device E4B variants
Google releases MedGemma 2 with 26B MoE and on-device E4B variants

TL;DR

  • Google shipped two Gemma 4-based health models: 26B MoE with roughly 4B active parameters and offline-ready E4B, according to GoogleDeepMind's announcement.
  • Native tool calling covers patient-record retrieval, clinical calculations and source-grounded answers, as osanseviero described at launch.
  • Clinical applications require local adaptation and validation; Google explicitly says MedGemma 2 is not a medical device.

The model card counts roughly 8B total parameters for E4B once per-layer embeddings are included. CT and MRI inputs arrive as ordered 2D slices; multi-slice training used 70 visual tokens per slice, versus 1,120 for single-image training and evaluation. The MedGemma family has passed 10 million downloads, with more than 1,000 community-contributed models and applications, according to Google's announcement.

Medical tool calls

Google's technical post describes native, multi-turn function calling, the release's most consequential addition. Applications can identify missing information, invoke tools and reason over their results:

  • Patient records: Generate FHIR and SQL queries to retrieve longitudinal histories.
  • Clinical calculations: Generate Python that an application harness executes in an isolated sandbox.
  • Source grounding: Cite passages from supplied hospital guidelines or biomedical literature.

Google Research also released the open-source HAI-DEF Cookbook with coding examples for common development patterns.

Deployment memory

Google's deployment table separates inference-memory estimates from target hardware capacity:

| Build | Inference memory | Target hardware |
| --- | --- | --- |
| 26B MoE, bfloat16 | About 58 GB | Single GPU with 80 GB or more |
| E4B, bfloat16 | About 18 GB | 24 GB GPU or MacBook Pro with 24 GB or more |
| E4B, mixed 4/8-bit LiteRT-LM | About 4 to 5 GB | Phones, tablets and desktops |

Weights are available through Hugging Face, alongside preconverted .litertlm checkpoints. Google also lists Google AI Edge Gallery and Model Garden on Gemini platform as access routes.

Local support shipped through Ollama, with ollama run medgemma2; its model page exposes explicit :e4b and :26b tags.

Records, documents and audio

Both sizes accept text and visual inputs and produce text, according to the model card. Their supported workflows differ:

  • Long records: EHR comprehension was validated at 128K tokens for both sizes; the 26B model supports a maximum context of 256K tokens.
  • Documents: Internal evaluations cover extracting laboratory-report and prescription PDFs into JSON, with document understanding optimized for E4B.
  • Medical audio: E4B alone accepts supplied medical audio and supports dictation transcription. It includes no live recording, microphone capture or ambient listening.

EHR benchmarks

Google's model-card evaluations compare each variant with its corresponding Gemma 4 base:

| Benchmark | Variant | Gemma 4 → MedGemma 2 | Change |
| --- | --- | --- | --- |
| AgentEHR, common-case F1 | E4B | 10.2 → 27.7 | +17.5 points |
| AgentEHR, common-case F1 | 26B | 23.5 → 30.7 | +7.2 points |
| MedCalc-Bench Verified accuracy | E4B | 37.9% → 59.1% | +21.2 points |
| MedCalc-Bench Verified accuracy | 26B | 66.2% → 72.8% | +6.6 points |
| MedAgentBench success rate | E4B | 48.7% → 53.3% | +4.6 points |
| MedAgentBench success rate | 26B | 81.3% → 86.3% | +5.0 points |

The MedCalc-Bench results include harness-executed Python on the benchmark's Verified subset. These are Google's evaluations, using a lightweight harness where needed.

Imaging regressions

Against MedGemma 1.5 4B, the new E4B model loses ground in Google's imaging evaluations:

  • MIMIC-CXR macro F1: 89.5 → 86.3, −3.2 points.
  • PathMCQA histopathology accuracy: 70.0% → 63.3%, −6.7 points.
  • US-DermMCQA accuracy: 73.5% → 68.5%, −5.0 points.

The release also replaces the earlier MedSigLIP-derived vision encoder with Gemma 4's native vision encoders, which received no additional medical pre-training.

Clinical validation

Google says in its disclaimer that base-model outputs are not intended to directly inform diagnosis, patient-management or treatment decisions. Reported benchmarks do not establish safety for a particular medical application.

The weights are governed by HAI-DEF terms of use, and the model card assigns responsibility for hosting, sandboxing and validating generated code and database queries to application developers.

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 2 threads
TL;DR2 posts
Deployment memory2 posts
Share on X