Google发布MedGemma 2开源医疗模型,支持工具调用与多模态
Google AI Releases MedGemma 2: Open Medical AI Model With Tool Calling
医疗垂直领域重磅开源更新,原生支持工具调用与多模态,端云兼顾,值得关注落地场景。
Google has released MedGemma 2, which it calls its most advanced open model for health AI developers. MedGemma 2 is an open medical model family from Google, built on Gemma 4, that reads clinical text, images, and records and calls tools. It ships in 2 sizes: a 26B Mixture-of-Experts model for servers and a compact E4B model for phones and laptops. The practical shift is from medical Q&A to agentic workflows. Think FHIR record queries, guideline-based score code, and answers that cite their sources. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.
Google 发布了 MedGemma 2,这是其面向健康 AI 开发者的最先进的开源模型。MedGemma 2 是 Google 基于 Gemma 4 构建的开源医疗模型系列,能够读取临床文本、图像和记录并调用工具。它提供两种尺寸:用于服务器的 26B 混合专家(MoE)模型,以及用于手机和笔记本电脑的紧凑 E4B 模型。实际应用的转变是从医疗问答转向智能体工作流。例如 FHIR 记录查询、基于指南的评分代码生成,以及引用来源的答案。你可以通过我们的 GPULeaderboard.com Chrome 扩展程序在此查看部署选项和规格。
TL;DR
TL;DR(太长不看)
- Size: 26B MoE (25.2B total, 3.8B active) and E4B (about 8B total, 4.5B effective). Validated at 128K context; the 26B architecture supports up to 256K.
- Runs on: 26B needs ~58 GB in BF16 (80 GB+ GPU recommended). E4B needs ~18 GB in BF16, or ~4 to 5 GB as a 4/8-bit LiteRT-LM build on phones, tablets, and laptops.
- Performance: Beats its Gemma 4 base on agentic, EHR, and grounding tests at both sizes (self-reported).
- Best: 86.3% success on MedAgentBench (26B), vs 81.3 for Gemma 4 26B.
- Worst: 23.2 on MedCaseReasoning (E4B) and 26.5 F1 on AgentEHR rare cases (26B).
- 尺寸:26B MoE(总计 25.2B,活跃 3.8B)和 E4B(总计约 8B,有效 4.5B)。在 128K 上下文下经过验证;26B 架构支持高达 256K。
- 运行要求:26B 在 BF16 精度下需要约 58 GB(推荐 80 GB+ GPU)。E4B 在 BF16 精度下需要约 18 GB,或在手机、平板和笔记本电脑上以 4/8 位 LiteRT-LM 构建时仅需约 4 至 5 GB。
- 性能:在两种尺寸下,其在智能体、电子健康记录(EHR)和接地测试中的表现均优于其 Gemma 4 基座模型(自我报告)。
- 最佳表现:在 MedAgentBench 上达到 86.3% 的成功率(26B),而 Gemma 4 26B 为 81.3%。
- 最差表现:在 MedCaseReasoning 上得分为 23.2(E4B),在 AgentEHR 罕见案例上的 F1 得分为 26.5(26B)。
What is MedGemma 2?
什么是 MedGemma 2?
MedGemma 2 succeeds MedGemma 1 and MedGemma 1.5. Google team states that MedGemma models have been downloaded more than 10 million times since 2025. Developers have published over 1,000 derivative models. The foundational research appears in Nature Medicine.
MedGemma 2 是 MedGemma 1 和 MedGemma 1.5 的继任者。Google 团队表示,自 2025 年以来,MedGemma 模型已被下载超过 1000 万次。开发者已发布超过 1000 个衍生模型。基础研究成果发表在《自然·医学》(Nature Medicine)上。
Weights are on Hugging Face. They use the HAI-DEF Terms of Use, not the Apache 2.0 license of Gemma 4.
权重位于 Hugging Face。它们使用 HAI-DEF 使用条款,而非 Gemma 4 的 Apache 2.0 许可证。
How does MedGemma 2 work?
MedGemma 2 如何工作?
The 26B model reuses the Gemma 4 26B A4B Mixture-of-Experts design. The model card lists 25.2B total parameters and 3.8B active per token. It has 30 layers and 128 routed experts, with 8 active plus 1 shared. A ~550M vision encoder handles images, 3D volumes, and video.
26B 模型复用了 Gemma 4 26B A4B 混合专家设计。模型卡片列出总参数为 25.2B,每 token 活跃参数为 3.8B。它包含 30 层和 128 个路由专家,其中 8 个活跃加 1 个共享。一个约 550M 的视觉编码器处理图像、3D 体积和视频。
E4B is a dense model. It holds about 8B parameters including per-layer embeddings, with 4.5B effective. It adds a ~300M audio encoder. Only E4B accepts medical dictation audio, at 16 kHz and up to 30 seconds.
E4B 是一个密集模型。它包含约 8B 参数(包括逐层嵌入),有效参数为 4.5B。它增加了一个约 300M 的音频编码器。只有 E4B 接受医疗听写音频,采样率为 16 kHz,时长最长 30 秒。
Both sizes output text only. Covered image types include radiology, histopathology, dermatology, and ophthalmology.
两种尺寸仅输出文本。支持的图像类型包括放射学、组织病理学、皮肤病学和眼科。
What are the agentic features?
有哪些智能体功能?
The Google research team lists 3 clinician-facing capabilities:
Google 研究团队列出了 3 项面向临床医生的能力:
- Patient records: queries and reasons over EHRs using FHIR.
- Clinical scores: writes code for guideline-based scores, which developers run in their own secure environment.
- Citations: searches PubMed or hospital protocols and cites source passages so clinicians can verify answers.
- 患者记录:使用 FHIR 查询和分析电子健康记录(EHRs)。
- 临床评分:编写基于指南的评分代码,由开发者在其自己的安全环境中运行。
- 引用:搜索 PubMed 或医院协议,并引用来源段落,以便临床医生验证答案。
How does MedGemma 2 perform on benchmarks?
MedGemma 2 在基准测试中的表现如何?
All figures below are self-reported on the model card, with thinking mode enabled.
以下所有数据均为模型卡片上自报的结果,已启用思考模式。
Agentic tool use. The 26B model reaches 86.3% on MedAgentBench, vs 81.3 for Gemma 4 26B. On MedCalc-Bench Verified it scores 72.8 vs 66.2. E4B scores 53.3 on MedAgentBench and 59.1 on MedCalc-Bench Verified. Gemma 4 E4B scores 48.7 and 37.9.
智能体工具使用。26B 模型在 MedAgentBench 上达到 86.3%,而 Gemma 4 26B 为 81.3%。在 MedCalc-Bench Verified 上得分为 72.8,对比 Gemma 4 26B 的 66.2。E4B 在 MedAgentBench 上得分为 53.3,在 MedCalc-Bench Verified 上为 59.1。Gemma 4 E4B 得分分别为 48.7 和 37.9。
Medical text (E4B only). E4B scores 82.3 on MedQA (4-option). MedGemma 1.5 4B scores 69.1 and Gemma 4 E4B scores 74.0.
医学文本(仅限 E4B)。E4B 在 MedQA(4选项)上得分为 82.3。MedGemma 1.5 4B 得分为 69.1,Gemma 4 E4B 得分为 74.0。
Records and grounding. E4B scores 95.6 on EHRQA over FHIR, vs 38.0 for MedGemma 1.5 4B. On Google’s internal Grounded Clinical QA set, 26B scores 95.6.
记录和基础事实。E4B 在基于 FHIR 的 EHRQA 上得分为 95.6,而 MedGemma 1.5 4B 为 38.0。在 Google 内部的 Grounded Clinical QA 数据集上,26B 模型得分为 95.6。
Imaging. The 26B model posts 89.8 macro F1 on MIMIC-CXR. On Chest ImaGenome anatomy boxes it reaches 54.2 IoU, vs 34.1 for Gemma 4 26B.
影像分析。26B 模型在 MIMIC-CXR 上的宏观 F1 值为 89.8。在 Chest ImaGenome 解剖框检测中,IoU 达到 54.2,而 Gemma 4 26B 为 34.1。
How do you run MedGemma 2 locally?
如何在本地运行 MedGemma 2?
Google’s get-started guide lists memory needs per build:
Google 的快速入门指南列出了每种构建版本的内存需求:
- 26B MoE, BF16: ~58 GB inference memory, 80 GB+ hardware recommended.
- E4B, BF16: ~18 GB, 24 GB+ recommended.
- E4B LiteRT-LM (4/8-bit): ~4 to 5 GB, 12 GB+ device memory.
- 26B MoE,BF16:推理内存约 58 GB,建议硬件内存 80 GB+。
- E4B,BF16:约 18 GB,建议 24 GB+。
- E4B LiteRT-LM(4/8位):约 4 至 5 GB,设备内存 12 GB+。
Runtimes include Transformers, vLLM, LiteRT-LM, llama.cpp, Ollama, Unsloth, and MLX. The ggml-org Q4_K_M GGUF of the 26B model is 17.5 GB. Google Cloud users can deploy through Model Garden.
运行时包括 Transformers、vLLM、LiteRT-LM、llama.cpp、Ollama、Unsloth 和 MLX。26B 模型的 ggml-org Q4_K_M GGUF 格式大小为 17.5 GB。Google Cloud 用户可通过 Model Garden 进行部署。
Field use is already underway. Jacaranda Health fine-tuned MedGemma for its PROMPTS maternal health SMS service in Tanzania. AIIMS New Delhi is adapting it for outpatient triage and dermatology screening.
实地应用已在进行中。Jacaranda Health 针对坦桑尼亚的 PROMPTS 孕产妇健康短信服务微调了 MedGemma。新德里 AIIMS 正在将其调整为用于门诊分诊和皮肤科筛查。
MedGemma 2 vs competitors
MedGemma 2 与竞争对手对比
| Feature | MedGemma 2 26B | MedGemma 2 E4B | Gemma 4 26B A4B | MedGemma 1.5 4B | gpt-oss-20b |
|---|---|---|---|---|---|
| Total params | 25.2B | ~8B (incl. PLE) | 25.2B | 4B class | 20.9B |
| Active / effective | 3.8B | 4.5B | 3.8B | Dense | 3.6B |
| Context | 128K validated (256K arch.) | 128K validated | 256K | Not disclosed | 128K |
| License | HAI-DEF | HAI-DEF | Apache 2.0 | HAI-DEF | Apache 2.0 |
| Inputs | Text, images, volumes, video | + audio | Text, image | Text, 2D/3D images, WSI | Text only |
| Memory (BF16) | ~58 GB | ~18 GB | Not disclosed | Not disclosed | Not disclosed |
| MedAgentBench | 86.3 | 53.3 | 81.3* | No native tools | Not disclosed |
| MedCalc-Bench Verified | 72.8 | 59.1 | 66.2* | No native tools | Not disclosed |
| MedQA (4-op) | Not reported | 82.3 | Not reported | 69.1* | Not disclosed |
| MIMIC-CXR macro F1 | 89.8 | 86.3 | 84.9* | 89.5* | Not applicable (text only) |
| Native tool calling | Yes | Yes | Yes | No | Yes |
| 功能 | MedGemma 2 26B | MedGemma 2 E4B | Gemma 4 26B A4B | MedGemma 1.5 4B | gpt-oss-20b |
|---|---|---|---|---|---|
| 总参数量 | 25.2B | ~8B(含 PLE) | 25.2B | 4B 类 | 20.9B |
| 活跃/有效参数 | 3.8B | 4.5B | 3.8B | 密集型 | 3.6B |
| 上下文窗口 | 128K 已验证(256K 架构支持) | 128K 已验证 | 256K | 未披露 | 128K |
| 许可证 | HAI-DEF | HAI-DEF | Apache 2.0 | HAI-DEF | Apache 2.0 |
| 输入类型 | 文本、图像、体积数据、视频 | + 音频 | 文本、图像 | 文本、2D/3D 图像、WSI | 仅文本 |
| 内存需求 (BF16) | ~58 GB | ~18 GB | 未披露 | 未披露 | 未披露 |
| MedAgentBench | 86.3 | 53.3 | 81.3* | 无原生工具 | 未披露 |
| MedCalc-Bench Verified | 72.8 | 59.1 | 66.2* | 无原生工具 | 未披露 |
| MedQA (4选项) | 未报告 | 82.3 | 未报告 | 69.1* | 未披露 |
| MIMIC-CXR 宏观 F1 | 89.8 | 86.3 | 84.9* | 89.5* | 不适用(仅文本) |
| 原生工具调用 | 是 | 是 | 是 | 否 | 是 |
*Scores for Gemma 4 26B and MedGemma 1.5 4B come from Google’s MedGemma 2 model card evaluations.
*Gemma 4 26B 和 MedGemma 1.5 4B 的分数来自 Google 的 MedGemma 2 模型卡评估。
Key Takeaways
关键要点
- MedGemma 2 ships as a 26B MoE (3.8B active) and an offline E4B.
- 26B hits 86.3 on MedAgentBench, 5 points over Gemma 4 26B.
- Native FHIR queries, score code, and citations target clinician oversight.
- E4B runs in ~4 to 5 GB as a LiteRT-LM build.
- Weak spots: hard case reasoning and some 4B imaging regressions.
- MedGemma 2 提供两种版本:26B MoE(3.8B 活跃参数)和离线 E4B。
- 在 MedAgentBench 上,26B 版本得分 86.3,比 Gemma 4 26B 高出 5 分。
- 原生 FHIR 查询、代码评分和引用功能旨在支持临床医生的监督。
- E4B 作为 LiteRT-LM 构建版运行时,内存占用约为 4 到 5 GB。
- 薄弱环节:复杂案例推理以及部分 4B 图像性能的回归。
Check out the model card, the Hugging Face collection, the get-started guide, and the Google blog post. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.
请查看模型卡、Hugging Face 集合、入门指南以及 Google 博客文章。你可以通过我们的 GPULeaderboard.com Chrome 扩展程序在此处查看部署选项和规格。
Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
此外,欢迎在 Twitter 上关注我们,别忘了加入拥有 15 万+成员的 ML SubReddit,并订阅我们的新闻通讯。等等!你在 Telegram 上吗?现在你也可以加入我们的 Telegram 群组。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力