Google releases MedGemma 2, an open health model built to query patient records

Google’s MedGemma 2 adds native tool calling for FHIR and SQL queries, in an edge-sized 4B model and a 26B mixture-of-experts model, with clear limits on clinical use.

3 min read

Abstract lime medical cross pattern formed from data points on a dark background

Google’s new open health model can generate FHIR and SQL queries for agents, runs in a phone-sized version, and comes with explicit warnings against direct clinical use.

> Key points

  • MedGemma 2 is built on Gemma 4 and ships in two sizes: an edge E4B model and a 26B mixture-of-experts model with about 4B active parameters.
  • Google says it natively generates HL7 FHIR, SQL and Python calls, so agents can query electronic health records.
  • The model is released as open weights under Google’s health AI terms and is not intended to directly inform diagnosis or treatment.

Google has released MedGemma 2, a new version of its open health AI model built on Gemma 4 and designed to work inside software agents that query patient records. The model card, updated on December 3, lists two checkpoints: a small model meant to run on phones and edge devices, and a larger mixture-of-experts model for hospital servers or private cloud.

What is new

The headline change is native tool calling. Google says MedGemma 2 can generate HL7 FHIR API queries, SQL queries and Python code, which lets an agent pull data from electronic health record systems rather than relying only on text pasted into a prompt. The card also lists clinical grounding through retrieval, long-context understanding of health records and documents, and audio dictation on the smaller model.

  • MedGemma 2 E4B: an “effective 4B” parameter model for edge and mobile use. It accepts text, images and audio.
  • MedGemma 2 26B A4B: a mixture-of-experts model with about 4 billion active parameters, aimed at hospital and private cloud deployments. It accepts text and images.
  • Both produce text output and are distributed as open weights through Hugging Face and Google’s Model Garden.

Benchmarks, by Google’s own numbers

Google reports that the 26B model reaches an 86.3 success score on MedAgentBench, a test of agent tasks in a simulated health record system, against 53.3 for the 4B model. On the MedQA exam benchmark, the 4B model scores 82.3, compared with 74.0 for the general Gemma 4 E4B model. Both sizes score above 95 on an internal FHIR question set.

The results are not uniformly better. Google’s own table shows the previous MedGemma 1.5 4B scoring higher on a pathology test, and the new model’s speech recognition error rate on radiology dictation is about double that of Google’s dedicated MedASR model. Some of the evaluations use internal datasets that outside researchers cannot check.

Limits Google spells out

MedGemma 2 is released under Google’s Health AI Developer Foundations terms, not a standard open source license. The model card says outputs are not intended to directly inform clinical diagnosis, patient management or treatment decisions, and that developers must adapt and validate the model for their own use. It also says tool calls and generated code should run in sandboxes, and that community conversions of the model need separate validation.

Why it matters

Health systems have been cautious about sending patient data to cloud chatbots. A model small enough to run on local hardware, and able to query records through standard interfaces, lowers that barrier for internal tools such as chart summaries or coding assistance. It also adds to the growing pool of open-weight models that companies can host themselves, though the validation burden stays with whoever deploys it.

What it means

For business

Health tech firms get a self-hostable model for record-aware agents, but validation and compliance work stays with them.

For industry

Open, domain-specific models are becoming a practical option for regulated sectors that avoid sending data to cloud chatbots.

For workers

Clinical and admin staff may see more record summaries and drafting tools, which still need human checking.

Sources