The new generation supports native function calling, clinical reasoning, medical audio processing, and integration with electronic health records (EHR).
We’re moving the health AI developer’s toolbox beyond simple Q&A and into real-world healthcare workflows. — Google
Technical specifications
MedGemma 2 is available in two variants.
1. MedGemma 2 E4B:
- Approximately 8 billion total parameters, 4.5 billion effective parameters.
- 42 Transformer layers.
- 128K-token context window.
- 150M-parameter vision encoder.
- 300M-parameter audio encoder.
- Text, image, video and audio input.
- Quantized inference memory: 4–5 GB.
2. MedGemma 2 26B MoE:
- 25.2 billion total parameters, 3.8 billion active parameters.
- 30 Transformer layers.
- 128 routed experts, eight active per token.
- Up to 256K-token architectural context window.
- 550M-parameter vision encoder.
- Text, image and video input.
- BF16 inference memory: 58 GB.
Both checkpoints have been validated at context lengths of up to 128K tokens and are distributed under the HAI-DEF license.
New capabilities
Compared with MedGemma 1.5, the new generation introduces:
- Native tool calling — interaction with external healthcare applications and APIs.
- EHR integration — patient data retrieval using FHIR and SQL.
- Clinical reasoning — identification of missing information and multi-step task execution.
- Evidence grounding — responses based on supplied clinical guidelines and medical literature.
- Medical calculations — Python code generation for clinical formulas and risk scores.
- Audio processing — medical dictation transcription in the E4B variant.
MedGemma 2 vs. MedGemma 1.5
MedGemma 1.5 was based on Gemma 3 and primarily focused on medical question answering, image analysis and document understanding. MedGemma 2 extends these capabilities to agentic healthcare workflows.
| Benchmark | MedGemma 1.5 | MedGemma 2 E4B |
| MedQA | 69.1% | 82.3% |
| MedMCQA | 59.8% | 63.8% |
| MMLU Medical | 69.6% | 81.6% |
| Grounded Clinical QA | 13.1% | 94.8% |
| EHRQA (FHIR) | 38.0% | 95.6% |
| EHRQA (text) | 89.6% | 97.4% |
| EHRNoteQA | 80.4% | 93.7% |
| Chest X-ray (F1) | 89.5% | 86.3% |
| Histopathology | 70.0% | 63.3% |
| Dermatology | 73.5% | 68.5% |
| Anatomical localization | 38.0% | 53.7% |
The largest improvements are in guideline-grounded question answering (+81.7 percentage points) and FHIR-based EHR processing (+57.6 percentage points). However, MedGemma 1.5 retains higher scores in several medical imaging benchmarks.
Agentic performance
The 26B MoE variant achieves an 86.3% success rate on MedAgentBench, compared with 81.3% for the standard Gemma 4 26B model.
Deployment and availability
Recommended hardware memory:
- E4B (4/8-bit quantization): 12 GB+.
- E4B (BF16): 24 GB+.
- 26B MoE (BF16): 80 GB+.
Supported frameworks include Transformers, vLLM, Ollama, llama.cpp, Unsloth, MLX and LiteRT-LM.
Both models are available through Hugging Face and Google Cloud Model Garden. Clinical deployment requires independent validation, secure patient data handling and appropriate human oversight.