medgemma-2-26B-A4B-it
A 25B mixture-of-experts (about 4B active) model by Google that uses tools such as web search, can think before answering and reads images.
Tools Thinking Vision- Downloads
- 14,170 downloads last month
- Likes
- 10 likes
- Uploaded
- Uploaded 3 Dec 2026
- Parameters
- 25,805,936,206 (25.8B)
- Context length
- 262,144 tokens
- Architecture
- gemma4
- Task
- image-text-to-text
- Licence
- health-ai-developer-foundations
- Released
- 1 Dec 2026
- Last updated
- 3 Dec 2026
- Access
- Gated: accept the terms on Hugging Face
This is ggml-org's upload of google/medgemma-2-26B-A4B-it.
Read the licence: health-ai-developer-foundations
Tools
Uses tools, so web search and the browser work best with it.
Thinking
Can think step by step before it answers.
Vision
Reads images: photos, screenshots, scanned pages.
Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.
| Version | File size | File | SHA-256 |
|---|---|---|---|
| Q4_K_M | 17.55 GB | medgemma-2-26B-A4B-it-Q4_K_M.gguf | |
| Q6_K | 22.99 GB | medgemma-2-26B-A4B-it-Q6_K.gguf | |
| Q8_0 | 26.86 GB | medgemma-2-26B-A4B-it-Q8_0.gguf | |
| BF16 | 50.51 GB | medgemma-2-26B-A4B-it-BF16.gguf |
Vision add-on (needed to read images): mmproj-medgemma-2-26B-A4B-it-Q8_0.gguf, 806.4 MB
Papers and data
From google/medgemma-2-26B-A4B-itPapers the model's Hugging Face page links to (the model's own report and papers it cites).
- MedGemma 1.5 Technical ReportarXiv 2604.05081
- Advancing Multimodal Medical Capabilities of GeminiarXiv 2405.03162
- AgentEHR: Advancing Autonomous Clinical Decision-Making via Retrospective SummarizationarXiv 2601.13918
- BioCoder: A Benchmark for Bioinformatics Code Generation with Contextual Pragmatic KnowledgearXiv 2308.16458
- Can Large Language Models Replace Data Scientists in Clinical Research?arXiv 2410.21591
- ClinSeekAgent: Automating Multimodal Evidence Seeking for Agentic Clinical ReasoningarXiv 2605.20176
MedGemma 2 26B-A4B-it
Run with https://llama.app
llama serve -hf ggml-org/medgemma-2-26B-A4B-it-GGUF:Q4_K_M
Source models
Files
| Quant | Size | Notes |
|---|---|---|
| BF16 | 50.5 GB | 16-bit precision |
| Q8_0 | 26.9 GB | High-precision. All weight matrices at Q8_0 |
| Q6_K | 23.0 GB | imatrix-calibrated. Near-Q8_0 quality. |
| Q4_K_M | 17.5 GB | imatrix-calibrated. 4-bit routed experts with attention and shared dense FFN kept at Q8_0 |
| mmproj (BF16, Q8_0) | 1.19 GB / 806 MB | Vision encoder |
Notes
- MedGemma 2 26B-A4B-it is a 26B total (~4B active) Gemma 4 mixture-of-experts model (30 layers, 128 routed experts with 8 active per token plus a shared dense FFN, 256K context) with image input.
- In both
Q6_KandQ4_K_M, attention (attn_) and the shared dense FFN (ffn_gate,ffn_up,ffn_down) are kept at Q8_0. Becausemoe_intermediate_size = 704is not divisible by 256,ffn_down_expsautomatically falls back to Q8_0 inQ6_Kand Q5_0/Q8_0 inQ4_K_M. - Both
Q6_KandQ4_K_Mare calibrated with the imatrix computed from the BF16 on a 70/30 interleaved mix of bartowski's v6 calibration data (with conversations rendered through MedGemma's chat template) and biomedical Q&A (PubMedQA + MedQA-USMLE). - KL divergence against the BF16 (40 x 512 tokens):
- Held-out biomedical eval (PubMedQA + MedQA-USMLE): Q8_0 0.0748 (93.3% same top token), Q6_K 0.1031 (92.0% same top token), Q4_K_M 0.1742 (88.7% same top token; stock Q4_K_M was 0.6025 / 77.2%).
- wikitext-2: Q8_0 0.1749 (88.2% same top token), Q6_K 0.1760 (87.3% same top token), Q4_K_M 0.2919 (83.0% same top token; stock Q4_K_M was 0.9882 / 65.3%).
Important
This model is automatically converted using https://github.com/ggml-org/convert
More from Google
On Hugging Face
Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.