Description
MedGemma 2 represents a significant advancement in open-source medical artificial intelligence, offering sophisticated multimodal comprehension tailored for the healthcare and life sciences sectors. Built upon a robust transformer architecture, the model family includes a dense 4B variant (E4B) and a 26B Mixture-of-Experts variant (A4B). These configurations are engineered to process complex medical inputs ranging from high-resolution clinical imaging and pathology whole slide images to electronic health records, structured FHIR data, and medical audio dictations.
Read More
The architecture of MedGemma 2 supports long contexts validated up to 128K tokens, enabling comprehensive analysis of extensive clinical records, multi-turn patient case histories, and detailed medical literature. The dense 4B model incorporates text, vision (including images, volumes, and video), and audio input modalities, while the larger 26B MoE model processes text and vision across 8 active out of 128 total experts. This versatile input handling allows healthcare researchers and developers to integrate the models directly into diverse clinical data pipelines and execution environments.
Evaluation benchmarks demonstrate strong performance across multiple medical domains, including 2D image classification on chest X-rays, histopathology visual question answering, medical knowledge reasoning datasets like MedQA and PubMedQA, and electronic health record question answering. Additionally, MedGemma 2 exhibits strong capabilities in document understanding, accurately converting raw PDF lab reports and prescription records into structured JSON outputs, as well as performing medical dictation transcription with low word error rates.
Intended for developers and researchers, MedGemma 2 provides a foundation for building customized downstream healthcare applications such as clinical decision-support tools, automated summarization agents, and advanced medical coding assistants. While demonstrating high factual accuracy and strong baseline performance, the models are not diagnostic knowledge bases and require appropriate clinical validation, human review, and adherence to responsible AI guidelines. The model family operates under specific health AI developer foundations terms of use, ensuring compliance and secure implementation within institutional research environments.
- CategoryAI Models & LLMs
- Pricing ModelOpen source
- DeploymentCloud
- PlatformsHugging Face
MedGemma 2 Highlights
Multimodal input support including text, vision, and audio
Dense 4B and 26B Mixture-of-Experts architecture variants
Long context window validated up to 128K tokens
Advanced medical knowledge and reasoning capabilities
Clinical imaging evaluation across X-rays and histopathology
Electronic health record question answering and FHIR support
Automated PDF-to-JSON structured extraction for lab reports
Medical dictation transcription with specialized audio encoders
Agentic tool use evaluation for automated clinical workflows
Clinical summarization for discharge and course notes
Getting Started with MedGemma 2
Access model: Review model documentation and terms of use on the Hugging Face model repository
Authenticate: Agree to share required information and accept the Health AI Developer Foundations terms
Set up environment: Prepare your Python environment with compatible machine learning libraries and dependencies
Integrate via API: Load the model using the Hugging Face pipeline API or direct inference scripts
Optimise: Configure sampling settings, thinking modes, and modality orders for your specific clinical workflow
MedGemma 2's Use Cases
- Clinical Summarization
- Medical Dictation
- EHR Question Answering
- Medical Document Extraction
- Medical Image Classification
- Biomedical Research QA







