Skip to content

Google

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

Get it in Zero1LLM

Then open Explore in the app and search for:

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.

VersionFile sizeFileSHA-256
Q4_K_M17.55 GBmedgemma-2-26B-A4B-it-Q4_K_M.gguf
Q6_K22.99 GBmedgemma-2-26B-A4B-it-Q6_K.gguf
Q8_026.86 GBmedgemma-2-26B-A4B-it-Q8_0.gguf
BF1650.51 GBmedgemma-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 the model's Hugging Face page links to (the model's own report and papers it cites).

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

QuantSizeNotes
BF1650.5 GB16-bit precision
Q8_026.9 GBHigh-precision. All weight matrices at Q8_0
Q6_K23.0 GBimatrix-calibrated. Near-Q8_0 quality.
Q4_K_M17.5 GBimatrix-calibrated. 4-bit routed experts with attention and shared dense FFN kept at Q8_0
mmproj (BF16, Q8_0)1.19 GB / 806 MBVision 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_K and Q4_K_M, attention (attn_) and the shared dense FFN (ffn_gate, ffn_up, ffn_down) are kept at Q8_0. Because moe_intermediate_size = 704 is not divisible by 256, ffn_down_exps automatically falls back to Q8_0 in Q6_K and Q5_0/Q8_0 in Q4_K_M.
  • Both Q6_K and Q4_K_M are 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.