MedGemma: local medical AI, Rust and the boundaries of clinical interoperability

Open Models · Documentary assessment

Releases examined: MedGemma 2 E4B and 26B-A4B, with MedGemma 1.5 and earlier checkpoints · Evidence reviewed: 5 December 2026 · Status: downloadable research weights under the HAI-DEF terms.

MedGemma makes a substantial proposition: medical language, images and structured records can be examined within a locally controlled model family. Its value extends beyond conversation to document extraction, image interpretation and carefully constrained use of external tools. The practical question is how much of that proposition survives a change of device, model version, inference engine or clinical setting.

Official MedGemma 1.5 research figure: abdominal CT slices, a generated interpretation and a radiologist's correction of an unsupported finding.
Google Research and collaborators, MedGemma 1.5 Technical Report, Figure 3, reproduced without alteration under CC BY 4.0. CT images: TCIA, Colorectal-Liver-Metastases, CC BY 4.0. This published example includes an expert correction; it illustrates MedGemma 1.5, not a validation result for MedGemma 2. Select the image to inspect the full-size figure.

1. Versions and recommended research uses

The family should not be reduced to a small model and a large model. Google announced MedGemma 2 on 3 December 2026, while the earlier releases remain relevant to reproducibility and specialised applications. The following table identifies the official checkpoints rather than treating community conversions as new Google releases.

Official checkpoints: different roles and different evidence
Checkpoint and official sourceRecommended research roleHardware and evidence boundary
MedGemma 2 E4BLocal multimodal applications, medical document workflows and constrained tool use; text, vision and audio inputs.Google documents a mixed-precision mobile build and BF16 deployment. Device measurements are available below; broad clinical utility remains to be established.
MedGemma 2 26B-A4BMore demanding text-and-image research workflows, including multistep tasks.Mixture of experts: approximately four billion active parameters do not imply that only four billion parameters need storage. Quantised consumer-GPU execution is reported; BF16 requires substantially more memory.
MedGemma 1.5 4B instruction-tunedCT/MRI slice sequences, whole-slide pathology patches, longitudinal imaging and document extraction.A documented 32 GB MacBook experiment and community implementations exist. Reference preprocessing remains essential; a chat interface alone does not reproduce volumetric evaluation.
MedGemma 1 4B instruction-tunedReproducing earlier text-and-image studies and existing adapted applications.About 8 GB for four billion 16-bit parameters, before overhead: a mathematical storage estimate, not a minimum device specification. A fine-tuned derivative has been used on an 8 GB Android phone.
MedGemma 1 4B pretrainedAdaptation and controlled research on the pretrained checkpoint.Similar parameter-storage class to the original 4B instruction model; not interchangeable with its conversational behaviour. No separate minimum-device validation was located.
MedGemma 1 27B text instruction-tunedMedical text experiments and reproduction of published text-only evaluations.Approximately 54 GB for 27 billion 16-bit parameters alone. Quantisation reduces storage; total runtime memory and task fidelity still require measurement.
MedGemma 1 27B multimodal instruction-tunedReproducing earlier large-model imaging and text results.The same broad parameter-storage class, with additional image-processing demands. Community installation estimates are not equivalent to measured personal-computer requirements.

MedGemma 2’s specifications distinguish approximately 8 billion total parameters, including per-layer embeddings, from 4.5 billion effective parameters in E4B. The larger model has 25.2 billion total and 3.8 billion active parameters. Both generate text; E4B additionally accepts audio. The architectural context limits are 128K and 256K respectively, but the medical card reports validation at 128K for both. These distinctions matter when estimating memory or interpreting the product names.

The earlier 1.5 model uses Gemma 3 with a medically pretrained SigLIP-derived image encoder. Google supplies separate examples for CT and whole-slide processing. A volume must be sampled and represented appropriately; a pathology slide must be divided into suitable patches. Those transformations determine what the model can see. They are part of the experimental method, not incidental file conversion.

MedSigLIP, MedASR, HeAR and other HAI-DEF models are related building blocks, not additional MedGemma checkpoints. In particular, MedSigLIP is relevant when the task is image classification or retrieval without generated prose. A generative model is not automatically the best choice for every medical imaging problem.

2. The laboratory, licensing and auditability

MedGemma is developed by Google within Health AI Developer Foundations. Google describes a strategy of enabling developers to adapt medical models across local, edge and cloud environments; its own cloud services provide an additional deployment route. The reviewed materials do not disclose a separate MedGemma development budget or total training expenditure. Corporate resources therefore should not be mistaken for a published model-specific cost account. The official FAQ explicitly distinguishes open weights from a fully open-source training system and permits commercial development subject to the applicable terms.

What can be inspected, reused and reproduced?
QuestionEvidence and limit
Weights and configurationOfficial repositories expose model documentation and downloadable checkpoints after acceptance of the HAI-DEF conditions. Public availability is not an unrestricted licence.
Code and trainingThe official repository provides inference, adaptation and evaluation examples. Public examples and weights do not provide every training input, proprietary dataset or production training record.
Use and redistributionThe HAI-DEF terms govern the models and derivatives. Source-code deliverables have a separate Apache 2.0 licence. Redistribution obligations, modification notices and applicable health regulatory authorisations remain relevant.
Reasoning and explanationA generated rationale can be examined for consistency and evidence. It does not expose a causally complete account of how the network reached its answer.

The licence is not restricted to non-commercial academic research. Equally, a commercial permission is not medical-device clearance. The prohibited-use policy includes automated decisions affecting rights or well-being, including healthcare, and unlawful or unlicensed professional practice. Adding a nominal human reviewer does not, by itself, establish compliance with every licensing or regulatory requirement. A clinical product must be assessed as a complete application in its intended jurisdiction and use case.

3. What personal hardware can actually support

There is no defensible universal minimum for the family. Weight precision, context length, image count, image processing, concurrent requests and the execution engine all affect memory. Storage, host RAM, accelerator memory and unified memory are different quantities. A successful short response also says little about sustained processing of long clinical records.

Google’s published deployment guidance, rather than inferred minima
DistributionApproximate inference memoryRecommended hardware memory
MedGemma 2 E4B, mixed 4/8-bit LiteRT-LM4–5 GB12 GB or more; mobile and desktop experimentation.
MedGemma 2 E4B, BF1618 GB24 GB or more; appropriate GPU or workstation.
MedGemma 2 26B-A4B, BF1658 GB80 GB or more; institutional or substantial local computing.

Source: Google’s MedGemma 2 deployment guide. These are published recommendations, not guaranteed maximum allocations. The mixed-precision build retains selected sensitive operations at higher precision. A 4-bit filename therefore does not mean every component has four-bit storage or arithmetic.

Concrete devices and the experiments actually reported
Device and sourceReported observationWhat it does not establish
Pixel 11 Pro / Galaxy S26 UltraLiteRT-LM card: E4B decoding at 18.2 tokens/s on Pixel TPU and 17.2 on Samsung GPU.No prospective clinical accuracy measurement; not results for an older entry-level phone.
MacBook Pro M5Same card: 58.1 tokens/s on GPU, 35.1 on CPU.Not a measurement for an Intel Mac or a smaller-memory configuration.
MSI Vector 16 HX AI / ASUS ProArt PX13Same card: 89.2 tokens/s on RTX 5080 and 45.7 on Radeon 8060S respectively.Different accelerators and memory systems; neither result predicts an arbitrary laptop’s speed.
Samsung A16, 8 GB RAMCrane AI field account: an adapted MedGemma 4B and MedASR run offline; approximately 40 seconds warm-start processing is reported.The exact base checkpoint revision and a matched per-token protocol are not supplied. Four-gigabyte devices remain under investigation.
MacBook Pro M1 Max, 32 GBIndependent preprint: MedGemma 1.5 4B Q8_0 through Ollama 0.17.7 across 5,000 HealthBench conversations.One workstation and an unreviewed study. Local model inference does not make the entire evaluation offline: grading used an external model service.
RTX 4090, 24 GBA published installation experiment reports Q4_K_M allocations of 5.5 GiB for E4B and 19.2 GiB for 26B-A4B at a 32K context setting.Measured allocations in one configuration, not portable minima or proof of the same accuracy as BF16.

The LiteRT card uses medians of five runs with a warm cache, 1,024 input tokens and 256 generated tokens at a 4,096-token context setting. Its vision setup uses 280 image tokens. These are bounded performance measurements, not timings for a whole CT series or a complete consultation. The distributed context capacity and the benchmark context must not be conflated.

For a modest personal computer, a quantised 4B-class release is the credible starting point. Twelve to sixteen gigabytes of system or unified memory can be a sensible planning range for E4B experimentation, with the upper end an editorial allowance for the operating system and application rather than a measured minimum. A discrete GPU with 8 GB must accommodate its own allocations; it cannot be assumed to reproduce the 24 GB desktop test. Older CPU-only notebooks need their own latency and memory measurements. The available evidence does not justify promising a comfortable MedGemma 2 experience on every obsolete laptop.

4. Benchmarks and independent evidence

Selected Google benchmarks: a newer checkpoint is not uniformly better
Task and metricMedGemma 1.5 4BMedGemma 2 E4BMedGemma 2 26B-A4B
MIMIC-CXR: macro F1, five conditions89.586.389.8
PathMCQA: accuracy70.063.368.0

Source: MedGemma 2 model card; values are reported on a percentage scale. These task-specific results explain why retaining 1.5 as an imaging baseline is scientifically useful. They do not measure clinical benefit, calibrated patient risk or autonomous diagnostic safety.

An external comparison with Gemma 4 used Ollama 0.40.19, Q4_K_M models and an RTX 4090. On 50 MedQA questions, the two E4B models each answered 40 correctly; the larger Gemma 4 answered 46 and MedGemma 2 answered 45. Two image cases and a synthetic FHIR exercise added qualitative observations. This is a useful reproducible starting point, but the sample is too small to establish a general ranking or clinical equivalence.

Independent domain-specific research can be more revealing than a broad leaderboard. A study of 82 occupational chest radiographs reported balanced accuracy of 70.28% and sensitivity of 54.91% for the earlier 27B model. Its training-examination image set and limited sensitivity constrain any claim of screening readiness. Those findings must not be reassigned to MedGemma 2, which was not the tested checkpoint.

The MedGemma 1.5 technical report provides detailed preprocessing and evaluation methods, including slice sequences for CT/MRI and patch sampling for pathology. Some evaluations use internal datasets. Public methods support scrutiny, but inaccessible cases limit complete independent reproduction. Its published figure above is unusually instructive: an expert accepts part of the model’s description while rejecting an unsupported additional finding. Fluent medical language can coexist with a material error.

5. Connecting clinical information without confusing standards

The important opportunity is to reduce the effort required to relate different representations of the same clinical episode. A laboratory value may exist in a scanned report, a structured observation and a clinician’s narrative; the relevant image may reside in a separate archive. A useful system must preserve patient identity, specimen, units, timing, uncertainty and provenance while relating these objects. MedGemma can assist with interpretation and extraction. Formal standards and clinical software remain responsible for transport, structure, access and validation.

Interoperability is a property of the complete system
LayerPotential MedGemma contributionWhat must be provided separately
EHR / HCESummarise records, extract evidence and relate narrative to structured observations.An electronic health record is a clinical information system, not a model certification. Patient matching, record integrity, permissions and accountable updates remain application duties.
HL7 FHIRInterpret FHIR-based records or propose structured fields.A declared version, profiles, terminology bindings and supported operations. A CapabilityStatement describes implementation capabilities; plausible JSON alone does not demonstrate conformance.
HL7 v2, CDA and openEHRAssist with mapping or interpreting information supplied through adapters.Version-aware message/document processing and appropriate information models. No MedGemma-wide certification for these systems was located. FHIR performance cannot be transferred to them.
DICOM and DICOMwebInterpret appropriately rendered images or selected image sequences.Image retrieval, decoding, orientation, modality transformations and identity handling. DICOM conformance concerns specified implementations and services, not whether a language model recognises an image.
SNOMED CT, LOINC, ICD and UCUMSuggest concepts, laboratory mappings or units for checking.Authoritative, versioned terminology and deterministic validation. Clinical concepts, observations, classifications and units serve different purposes; a predicted code must not silently become an authoritative mapping.
Security and provenanceProduce an evidence-linked draft within a controlled environment.Authentication, authorisation, audit, retention controls and traceable source records. FHIR’s security guidance describes responsibilities beyond the data format itself.

A concrete reference implementation

Google’s Edge Care reference application makes this integration question tangible. It combines local guideline retrieval, deterministic function calls, document-to-JSON/FHIR R4 extraction and a speech workflow. MedGemma 2 E4B, EmbeddingGemma 2 and MedASR fulfil distinct roles. This is inspectable application code, rather than a claim that one model has absorbed all clinical infrastructure.

Two qualifications materially change how the example should be read. Its README identifies the implementation as educational, without clinical validation. Its performance observations were collected with an earlier Gemma 4 E4B configuration before the MedGemma 2 substitution; they cannot be reported as measured MedGemma 2 timings. Local inference also does not guarantee local preparation: optional knowledge-building components can call hosted models. The complete configuration must be examined before claiming that no information leaves a device.

A defensible research workflow would retrieve authorised records and images, normalise validated codes and units, preserve source identifiers and dates, and ask the model for a cited draft. A separate validator would check structure and terminology before a qualified reviewer assessed the content. Missing information should remain missing; conflicts should remain visible. This architecture is an editorial recommendation, not a claim that the reference application already fulfils every requirement.

Local execution and security

Keeping inference on the device can reduce disclosure to external model services. It does not secure an exposed local server, an unencrypted disk, application logs, imported documents or downloaded dependencies. Research installations should restrict service access, separate untrusted document content from executable instructions, and control which external functions a model may request. Medical records must not acquire authority to change the application’s instructions merely because they appear in its input.

Image privacy needs particular care. Removing DICOM metadata is insufficient when identifying text remains in the pixels. The DICOM Clean Pixel Data Option addresses that distinct problem. Similarly, a local interface does not establish compliance with data-protection law or a security certification; those claims require assessment of the complete deployment.

6. Rust: engines, applications and clinical infrastructure

Rust contributes at three different levels: numerical inference, application orchestration and clinical data infrastructure. They should be assessed separately. A Rust application using a C++ engine is a legitimate design, but it does not demonstrate that the model’s numerical computation has been independently implemented and validated in Rust.

Rust routes and the evidence available at the review date
ProjectInspectable contributionBoundary of the evidence
mistral.rsA Rust inference project with a documented Gemma 4 E4B image-input example.Base-architecture support is promising, but no controlled MedGemma 2 multimodal fidelity and medical-task benchmark was located.
CandleRust Gemma 4 implementation and example loading paths, including multimodal model structures.The reviewed example’s generation path supplies token input. Its existence alone does not establish working MedGemma 2 image/audio preprocessing or clinical-task equivalence.
Terraphim MedGemmaRust application and a GGUF client explicitly using llama-cpp-2.C++ inference through Rust bindings. Its small author-run test set is not an independent clinical evaluation or a native-Rust speed comparison.
RadioTauri/Rust application around a local llama-server, with image-oriented interaction.The C++ service performs inference. DICOM handling in an interface does not prove complete DICOM conformance or validated interpretation.
CohearaRust/Tauri medical-document application using Ollama and MedGemma 1.5 conversions.Application integration, not a separate Rust tensor engine. Its reported extraction failures are informative, but its hardware recommendations are not universal minima.
MedGemma Offline AppWindows Tauri/Rust application using a pinned llama.cpp service and matching image projector.The performance tables explicitly contain planning estimates. Tests with small fixtures do not establish full-model execution or clinical accuracy.
DICOM-rs / DICOM-RSTRust DICOM processing and a DICOMweb gateway from University Medicine Essen.Useful infrastructure, not MedGemma inference. Gateway support varies by backend and originating archive.
FHIR SDKGenerated FHIR types, JSON handling and client operations in Rust.Its feature list leaves FHIRPath and resource validation unfinished. Deserialising a resource does not prove its clinical or profile validity.

What a serious Rust evaluation still needs

For a native engine, the essential test is not whether the checkpoint loads. The tokenizer, conversation template, image transformations, positional encoding, attention behaviour and numerical precision must preserve the intended model. An audio-capable release adds another preprocessing path. Long records and multiple images should be tested separately from a short text prompt.

The reviewed mistral.rs reasoning parser explicitly accounts for MedGemma 1.5’s thought delimiters. This is concrete model-specific integration work, but parsing a response correctly is different from establishing numerical fidelity. A credible comparison would preserve exact weights, input transformations and sampling, then retain token-level or task-level differences and complete resource measurements.

Coheara’s Q8_0 extraction report offers a useful warning: its all-at-once JSON strategy reports repetitive degeneration in 10 of 22 GPU cases, compared with zero in 14 CPU cases. The sample sizes differ. The author’s attribution to Vulkan numerical behaviour is an interpretation, not an independently established cause. Zero observed degeneration also does not mean that every extracted medical value was correct. Several documentation links point to a different repository namespace, limiting the accessibility of the claimed supporting records.

Rust is particularly valuable around the model: typed records, bounded operations, explicit error handling and maintainable local services can help make an application auditable. None of those properties removes hallucination. DICOM-RST provides a concrete path towards image retrieval, while FHIR SDK supplies useful structured types; neither should be advertised as a completed MedGemma integration without an actual implementation and validation.

Current recommendation: for an application that must work now, a Rust client around a documented local inference service is the more substantiated route. For a requirement that numerical inference itself be implemented in Rust, mistral.rs and Candle merit focused experiments, but a validated MedGemma 2 medical workflow remains an open verification task. No equivalent-hardware, equivalent-precision Rust-versus-llama.cpp MedGemma comparison was located.

7. Hospitals, field studies and prospective trials

There are documented real-world projects. Their evidence ranges from developer-reported feasibility to a prospective trial being initiated. None of the following accounts should be converted into a claim that the newly released MedGemma 2 has already demonstrated improved patient outcomes.

Institutional use: identify the model, the study and the unanswered question
Project and sourceDocumented activityInterpretation
VisilantAdapted MedGemma 1.5 4B for eye assessment. Partners include Aravind Eye Hospital, Dr. Shroff’s Charity Eye Hospital and Sadguru Netra Chikitsalaya. The June 2026 account describes initiation of a prospective randomised controlled trial.Real hospital collaboration and an announced prospective evaluation. The platform’s cumulative 50,000 screenings are not a 50,000-patient MedGemma trial. No completed trial outcome is supplied.
Ease Health / Crane AI, UgandaOffline adapted MedGemma 4B and MedASR. A five-day feasibility study across 15 facilities reports 268 consenting health workers and more than 87 assessments.Evidence of field feasibility on modest Android hardware. The provider reports ethical/regulatory approval; this is not an independent demonstration of diagnostic efficacy.
Jacaranda Health, UlizaMamaA Tanzanian pilot beginning in November 2025 uses an adapted MedGemma 1.0 4B instruction model in a maternal-health messaging workflow, with human review.Service integration rather than inference on the patient’s SMS handset. Outcomes from earlier, different messaging programmes cannot be attributed to this model.
AIIMS, New DelhiGoogle describes collaboration and pilots involving outpatient triage and dermatology, including IndusDerma.An institutional research activity. The cited account does not supply a complete controlled clinical protocol, cohort results or regulatory clearance for a MedGemma product.

The clearest answer to the hospital question is therefore qualified: hospital-associated research and field deployment exist, and a randomised trial is described as starting. Completed prospective evidence of clinical benefit was not established by these sources. A targeted search did not locate a trial-registry identifier for the Visilant account; that is a limitation of the evidence located, not proof that no registration exists. A publishable claim of benefit would require the protocol, exact adapted checkpoint, comparator, prespecified outcomes and results.

8. Practical examples and recommendations

The official repository is the appropriate starting point for reference inference and adaptation. For document extraction and local retrieval, inspect the versioned Edge Care examples cited above. For CT/MRI and whole-slide pathology, retain the official preprocessing notebooks and compare against the corresponding 1.5 report. For Rust application design, Radio and Terraphim expose concrete local-service integrations; their availability is useful even where their medical validation is incomplete.

Before interpreting an installation as a successful reproduction, record the checkpoint revision, conversion method, precision, engine version, device and driver, context setting, input transformations and generation parameters. Measure peak host and accelerator memory, time to the first response and total task time. On a labelled public or appropriately authorised research dataset, examine omitted findings, fabricated details, incorrect units and failed structured outputs. A local demonstration becomes meaningful evidence when its input, reference answer and failure cases are retained.

For general local medical research: MedGemma 2 E4B in the documented LiteRT-LM distribution is the clearest compact starting point. Its official device measurements are more informative than a parameter-count slogan. Choose a device with the published memory headroom and begin with a bounded, reproducible task.

For text reasoning and structured-record experiments: evaluate E4B first, then 26B-A4B where the available memory and workload justify it. Compare completed tasks and verified outputs, not just tokens per second. The larger model’s active-parameter count must not be used to budget its full memory footprint.

For medical imaging: retain MedGemma 1.5 4B as an explicit comparator. Its specialised documentation and some stronger reported image-task results make it scientifically relevant despite the newer release. For classification or retrieval without prose, also assess MedSigLIP. Volumetric reasoning, segmentation and image retrieval are different tasks and need different references.

Evidence scope, revisions and image rights

This assessment is dated 5 December 2026. Google reference code is pinned to commit 311b0458271d1b632995b1167ac7475741ed8415; the Rust engine links identify the inspected revisions. Model documentation and community projects can change. Publisher measurements, external reports and editorial recommendations are distinguished throughout; no model measurements were performed by The Bible of AI (BAI).

The cover figure is reproduced from the MedGemma 1.5 Technical Report, version 2, licensed under CC BY 4.0. The figure is unchanged, with the original correction and image-source credit retained. The underlying CT collection is also licensed CC BY 4.0. Dataset attribution: Simpson, A. L., Peoples, J., Creasy, J. M., Fichtinger, G., Gangai, N., Lasso, A., Keshava Murthy, K. N., Shia, J., D’Angelica, M. I., and Do, R. K. G. (2023). Preoperative CT and Survival Data for Patients Undergoing Resection of Colorectal Liver Metastases (Colorectal-Liver-Metastases), Version 2. The Cancer Imaging Archive. doi:10.7937/QXK2-QG03. Reproduction does not imply endorsement of this assessment.

Return to Open Models

Visitas: 4

Liked this post? Follow this blog to get more.