MedGemma: What It Is, What It Costs, and How to Start
Choose between Google’s MedGemma 2 variants, see which one accepts audio, and follow the public model card’s example with its clinical limits in view.
Published
- MMedGemma

MedGemma gives healthcare developers two ways to start a prototype. Google’s MedGemma 2 E4B can read a recorded dictation on a compatible offline device. Its larger sibling targets servers and can request information from a medical record. Google considers output from both models preliminary and calls for independent verification.
What is MedGemma?
MedGemma is Google’s family of open-weight AI models trained to understand medical text and images. The weights are the learned values you download and run on hardware you choose. A clinic group can therefore evaluate a model inside its own computing environment. The group still has to build the application around it, decide which information it may access and establish how well it works for the intended task.
Google released MedGemma 2 on December 3, 2026. It starts from Gemma 4 and adds training for medical tasks, including asking for information from external tools and citing passages from references. Google’s example is a clinician looking up a hospital guideline. The application supplies the relevant text, the model drafts a response with a citation, and the clinician can open the passage to check it. The model weights alone do not come connected to a hospital’s guidelines or records. Google’s release announcement
Which MedGemma model fits your hardware and inputs?
Choose E4B for an offline device or recorded audio. Choose the 26B model for a server-side evaluation of multi-step record retrieval. Both read text, images, sequences of scan slices and video frames. Both generate text, which can be a description, a summary or a structured request for a tool. Google’s public model cards and deployment guide were checked on December 4, 2026.
For a long record, distinguish the advertised context window from what Google validated. The 26B architecture supports up to 256K tokens, but Google reports validating its MedGemma 2 checkpoints up to 128K. If your use case depends on finding one note deep in a long history, put that lookup in your evaluation.
An application that must work disconnected needs its reference documents and tools available locally, too. Downloading the model alone will not make a remote records service reachable. If you use a compressed build, Google says to validate that build separately because conversion can change its outputs. Google’s deployment guide
For audio, E4B takes a supplied clip of up to 30 seconds sampled at 16 kHz. It can return a transcript. It has no built-in microphone capture or ambient listening, and the 26B variant has no native audio input. That distinction matters if a client hands you a recording and asks which file to download.

Where do MedGemma 27B and MedGemma 1.5 4B fit?
These names refer to earlier releases. The original 27B models used Gemma 3. MedGemma 1.5 4B expanded support for tasks such as reading scan volumes and comparing chest X-rays over time. Google still makes them available. If you maintain a prototype built on one of them, record its full model identifier before comparing results with the newer release.
What the MedGemma technical report covers
The original technical report describes the Gemma 3 generation. For the new release, Google reports that both MedGemma 2 variants outperformed their corresponding Gemma 4 base models on MedAgentBench, which tests multi-step tasks in a simulated electronic health record. Google also reports better accuracy on its internal test of answers grounded in supplied clinical references. Those tests support trying a specific retrieval task. They cannot tell a clinic how often its application will retrieve the right encounter from its own records. Google Research’s MedGemma 2 evaluations
Can MedGemma be used for clinical decisions?
Google calls MedGemma “a starting point” for developing healthcare applications. The card says the models are not intended for use “without appropriate validation, adaptation, and/or making meaningful modification” for the developer’s specific use case. Its outputs are “not intended to directly inform clinical diagnosis”. The same exclusion covers patient management, treatment recommendations, clinical calculations and other direct clinical practice. Google’s intended-use statement and limitations
For a clinic IT lead, the important question is what was validated, on whose data and for which decision. Google’s pre-release clinical safety assessment used text prompts to assess baseline risk. It did not establish how a downstream app performs with the clinic’s scanners, local terminology or patient population. A reviewer’s ability to catch a wrong answer also depends on what the interface shows. A guideline citation is only useful if the reviewer can see whether the cited sentence supports the draft.

Three prototypes a small team can evaluate
A health startup can test document extraction. Give the model fictional referral letters and ask it to extract the referring department, recipient and date. Prepare an answer key by hand, including a letter with no date. A blank date and an invented date should receive different marks. The deliverable is an error list your product lead can inspect before deciding whether to invest in the feature.
A clinic group can test record lookup. Build a read-only test service with fictional encounters in Fast Healthcare Interoperability Resources (FHIR), a standard format for exchanging health records. Ask which encounter contains a supplied document. Inspect the model’s requested query before the service executes it, then check whether the returned identifier matches the known encounter. This separates a query aimed at the wrong record from a correct retrieval that the model summarizes incorrectly.
An agency can prototype a policy search for staff. Supply a client-approved administrative policy and ask where a form should be filed. Require the draft to cite the relevant passage. Include a second question whose answer is absent. A reviewer can now show the client how a draft can quote the right document and still invent a filing deadline. None of these exercises requires a patient-care decision.
How to start with the MedGemma Hugging Face example
The public E4B card shows a local GPU example from start to finish. You can inspect the code while signed out. Accessing the model files requires a Hugging Face account, agreement to share account information and acceptance of the access conditions. Google’s E4B model card and pipeline example
Read the terms and select the checkpoint
Choose the E4B instruction-tuned checkpoint, identified as
google/medgemma-2-E4B-it. The Health AI Developer Foundations Terms of Use govern the weights. If you distribute a derivative, the terms include passing along the agreement and use restrictions, identifying modified files and seeking regulatory authorization where applicable. Review the incorporated Prohibited Use Policy before defining a client deliverable.Prepare the documented local environment
Once you have access, use a GPU environment that can load the chosen weights and authenticate it to Hugging Face. Transformers loads the checkpoint and formats the request. The card recommends this install for its example.
Bashpip install -U "transformers>=5.15.0" accelerateRun the E4B pipeline example with the supplied image
The card’s example selects the
any-to-anypipeline, loads a public chest X-ray, places the image first in the user message, then adds the prompt “Describe this X-ray”. It prints the generated text. A response establishes that the example loaded the model, accepted the input and produced text. Assessing the description itself requires a qualified reference and a separate evaluation.
If your team is learning the mechanics of running a local model in LM Studio, record the exact conversion you try. For teams choosing between downloadable models and a hosted prompt environment, the Google AI Studio guide explains the latter. A general-purpose model such as Qwen 3.8 27B can serve as a comparison on the same fictional documents if your question is whether medical specialization helps with extraction.
Is Google MedGemma free?
Google provides the model weights free of charge under its terms. You supply the hardware or pay for hosted compute. Google’s model and infrastructure FAQ
What is medical artificial intelligence?
In MedGemma’s case, it is software trained on medical material that can generate text from inputs such as a question or image. A developer builds and evaluates the application that uses those outputs.
For a baseline to run beside MedGemma, compare the local models that fit your hardware.
- Published
- Category
- AI








