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

Tools
  • MMedGemma
MedGemma: What It Is, What It Costs, and How to Start

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

Google’s MedGemma developer page with the model variants and supported inputs
Google’s MedGemma developer guide

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.

VariantWhat the size meansWhere to start
MedGemma 2 E4BA dense model labeled by its effective size. Its weights include roughly 8 billion parameters when additional embeddings are counted.Google lists a single 24 GB GPU for the full-precision model and provides a compressed LiteRT-LM build for phones, tablets and desktops.
MedGemma 2 26B A4BA mixture of experts. Only about 4 billion parameters do work on each token, a unit of text, but the server still has to hold the larger model.Google lists a single GPU with at least 80 GB for local full-precision inference. A private cloud or an on-premises server can host it.

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.

A recorded audio clip enters the E4B reader and a transcript emerges
Native audio starts with a recorded clip supplied to E4B.

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.

A reviewer matches one draft statement to its source and flags another as unsupported
Check each material claim against the passage it cites. A real citation can still support only part of an answer.

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

  1. 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.

  2. 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.

    Bash
    pip install -U "transformers>=5.15.0" accelerate
  3. Run the E4B pipeline example with the supplied image

    The card’s example selects the any-to-any pipeline, 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
Related Articles
Gemini 5: What Google Has Confirmed and Where the Krypton Rumor Came From

Gemini 5: What Google Has Confirmed and Where the Krypton Rumor Came From

Google has not announced Gemini 5. See where the Krypton name came from, what the preview code meant and which Gemini 4 model fits your work today.Dec 4, 2026AI
ChatGPT Classic Explained: Why You Have Two Apps and How to Switch

ChatGPT Classic Explained: Why You Have Two Apps and How to Switch

Why ChatGPT Classic appeared, what happens to your chats and projects, and how to switch on Mac or Windows before the reported retirement date.Dec 4, 2026AI
MiniMax M4: What It Is, What It Costs, and How to Start

MiniMax M4: What It Is, What It Costs, and How to Start

How MiniMax M4 handles long coding tasks, what its benchmark scores measure, where to try it, and how to make your first API call.Dec 4, 2026AI
Claude Ultra: What Happened to Max 20x?

Claude Ultra: What Happened to Max 20x?

Max 20x moved to Claude Ultra. Check your account’s five-hour limit, compare Max with Ultra and see how annual Pro credit works before upgrading.Dec 4, 2026AI
Best AI Voice Changer in 2026: Murf, Voicemod, Kits AI and More

Best AI Voice Changer in 2026: Murf, Voicemod, Kits AI and More

Compare AI voice changers for recorded narration, live calls and sung vocals. See which free plans allow downloads and which voices you can publish.Dec 4, 2026AI
Pillowfort: How to Make Your First Game With Google Labs

Pillowfort: How to Make Your First Game With Google Labs

Make a game from a sketch with Google Labs’ Pillowfort. See who can use it, how to remix Bedtime Bounce and what players need to open a shared link.Dec 3, 2026AI
Claude Apple Watch

Claude Apple Watch

Set up Claude on Apple Watch, resume a work chat by voice, and check what Claude can read or approve when your iPhone stays behind.Dec 3, 2026AI
SubQ Savant: What Fits in 4 Million Tokens and How to Try It

SubQ Savant: What Fits in 4 Million Tokens and How to Try It

What SubQ Savant’s 4 million-token window includes, how to try the preview, and which claims about long-context accuracy have outside evidence.Dec 3, 2026AI
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.