medgemma-2-26B-A4B-it-GGUF Vision-Language Model: 24GB+ VRAM

- 1. At a Glance
- 2. Overview
- 3. Specifications
- 4. Performance
- 5. Strengths and Use Cases
- 6. Hardware Requirements
- 7. Can You Run It Locally?
- 8. Our Own Measurements
- 9. Recent Models in the Same Size Class
- 10. How to Get It
- 11. Quantized and Converted Variants
- 12. Related Articles
- 13. What to Read Next
- 14. Sources
- 15. Update History
At a Glance
| Item | Value |
|---|---|
| Repository | ggml-org/medgemma-2-26B-A4B-it-GGUF |
| Family guide | medgemma-2 guide (1 articles) |
| Publisher guide | Google: models and licenses |
| Published | 2026-12-04 |
| License | health-ai-developer-foundations |
| Formats | GGUF |
| Source type | Primary source (the publisher itself) |
Values determined by this site’s code when the information was collected. Dates are JST.
Overview
ggml-org has released a GGUF quantized repository ggml-org/medgemma-2-26B-A4B-it-GGUF for the vision-capable open-weight model. The original model is google/medgemma-2-26B-A4B-it developed by Google.
This model is based on Gemma 4, adopting a Mixture-of-Experts (MoE) structure, and supports both image and text inputs. Since it is provided in the GGUF format, it can be run locally using various inference engines such as llama.cpp and llama serve.
Specifications
- Parameters: Total 26B parameters (approx. 4B active parameters)
- Architecture: Gemma 4 mixture-of-experts model (30 layers, 128 routed experts, 8 active experts per token, with shared dense FFN)
- Context length: 256K
- Input format: Supports image and text inputs (image input)
Performance
Since this model is a GGUF quantized version, evaluation results measuring KL divergence and same top token rate against the original model (BF16 precision) published by ggml-org are available.
The imatrix used for calibration combines bartowski’s v6 calibration data (70%) and biomedical QA data (PubMedQA + MedQA-USMLE, 30%).
Below is a list of comparison scores against the original model evaluated on 40 x 512 tokens:
| Quantization Setting | PubMedQA + MedQA-USMLE (KL Divergence / Top-1 Match Rate) | wikitext-2 (KL Divergence / Top-1 Match Rate) |
|---|---|---|
| Q8_0 | 0.0748 / 93.3% | 0.1749 / 88.2% |
| Q6_K | 0.1031 / 92.0% | 0.1760 / 87.3% |
| Q4_K_M (imatrix) | 0.1742 / 88.7% | 0.2919 / 83.0% |
| Q4_K_M (stock) | 0.6025 / 77.2% | 0.9882 / 65.3% |
From these evaluation results, the following trends can be observed:
- Lower KL divergence values indicate a closer approximation to the original model’s output distribution, while higher top token match rates indicate a greater ability to generate the same tokens as the original model.
- Q4_K_M adjusted using imatrix significantly suppresses KL divergence compared to the traditional stock Q4_K_M (improving from 0.6025 to 0.1742 on PubMedQA + MedQA-USMLE), greatly mitigating the accuracy drop from the original model.
- On the biomedical evaluation set (PubMedQA + MedQA-USMLE), Q8_0 and Q6_K maintain high top token match rates of over 90%, preserving accuracy close to the original model.
- On the other hand, on wikitext-2, which evaluates the general domain, match rates are somewhat lower overall compared to the biomedical evaluation, reflecting the impact of tuning on domain-specific data mixes.
- As the quantization bit count decreases, the output divergence from the original model increases, allowing users to choose Q8_0 or Q6_K when prioritizing accuracy, or the imatrix version of Q4_K_M when prioritizing efficiency.
Additionally, as part of this quantization specification, in both Q6_K and Q4_K_M, the attention layers (attn_) and shared dense FFNs (ffn_gate, ffn_up, ffn_down) are maintained at high-precision Q8_0. Furthermore, because moe_intermediate_size = 704 is not divisible by 256, automatic fallback processing is applied to ffn_down_exps (falling back to Q8_0 for Q6_K, and Q5_0/Q8_0 for Q4_K_M).
Strengths and Use Cases
This model inherits the characteristics of the original model and excels at multimodal conversations that handle both image and text inputs. In particular, because calibration was performed using biomedical QA data, it is expected to be useful for image analysis and question-answering tasks involving medical and biological contexts.
Moreover, by adopting a Mixture-of-Experts (MoE) structure, it offers high expressive power while expecting efficient operation during inference by keeping the number of active parameters low. Supporting an extremely long context length of 256K, it is also suited for long conversational tasks involving massive amounts of medical literature or detailed image information.
Hardware Requirements
Estimated requirements (calculated by Local Model Watch) — 25.8B parameters (taken from the base model google/medgemma-2-26B-A4B-it)
| Your VRAM | Quantization | File size | Est. memory needed |
|---|---|---|---|
| 24GB (RTX 4090 / 3090, etc.) | Q4_K_M | 16.3GB | 19.6GB |
| 32GB (RTX 5090, etc.) | Q8_0 | 25.0GB | 30.0GB |
| 80GB class (A100 / H100) | BF16 | 47.0GB | 56.4GB |
Memory estimates add a 20% runtime overhead (KV cache, etc.) to the actual size of the distributed files. Actual usage varies with context length, batch size and inference engine. These figures are computed by this site from file sizes, not published by the model’s authors. Compare with other models in our VRAM quick reference. What the quantization names mean: glossary.
Can You Run It Locally?
Runs in Ollama, LM Studio and llama.cpp as-is.
It is distributed in GGUF, so no conversion is needed.
License — health-ai-developer-foundations: A custom license from the publisher. Check the original terms directly, including whether commercial use is permitted.
Compression: the Q4_K_M build measures 5.43 bits per weight — about 34% the size of the original 16-bit weights, calculated by this site from the actual file sizes.
Compiled by this site’s code from the published formats, converted builds we have found, and each engine’s own model registry. “Not found" means we have not seen such a build, not that none exists. License summaries are not legal advice — check the publisher’s original terms before relying on them.
Our Own Measurements
Values we checked ourselves on our server (no GPU) by actually reading this model’s files, without running the model — not figures copied from the model card. How we measure, and the results for every model: Our Measurements.
Measurements We Did Not Take
We have not confirmed that this site meets the commercial-use terms of this model’s license (health-ai-developer-foundations). Because this site carries advertising, we did not run the model (no CPU run, answers, quantization comparison, conversion or generation). Only values we checked without running the model, such as token counts and the GGUF header, are shown.
Inside the GGUF File
File: medgemma-2-26B-A4B-it-Q4_K_M.gguf (16.34GB, Q4_K_M). We read only the header (metadata) of the file, not the weights.
| Item | Value |
|---|---|
| Architecture (as named in the GGUF) | gemma4 |
| Maximum trained context length | 262,144 tokens |
| Layers | 30 |
| Experts | 8 active out of 128 |
| Vocabulary size | 262,144 |
| Chat template | Included (mentions tool calls, has a thinking switch) |
| imatrix | Used (calib_v6_biomed_interleaved.txt, 250 chunks) |
| Weight types (share of parameters) | Q4_K 60.3% / Q8_0 20.6% / Q5_0 16.1% / Q6_K 2.9% / other 0.0% |
| Average bits per weight | 5.56 bits |
| Embedding / output layer type | Q6_K / shared with the embedding |
The quant name in the file name describes the file as a whole; in practice layers mix several types. The average bits per weight is the measured file data divided by the number of weights.
Recent Models in the Same Size Class
Models with 15–40B parameters that Local Model Watch covered recently, listed by code from our article log for comparison. VRAM tiers are this site’s estimates; licenses are as stated on the model cards.
→ Scroll horizontally to see all columns
| Model | Parameters | Smallest VRAM tier | License | Our article |
|---|---|---|---|---|
| OpenMOSS-Team/ETA0-preview-27B-1204 | 27.4B | 80GB | apache-2.0 | ETA0-preview-27B-1204 Vision-Language Model: 80GB+ VRAM (2026-12-04) |
| DavidAU/Gemma-4-26B-A4B-Heavy-Deckard-Fine-Tune | 25.8B | 80GB | apache-2.0 | Gemma-4-26B-A4B-Heavy-Deckard-Fine-Tune: 80GB+ VRAM (2026-12-02) |
| DavidAU/Qwen3.6-35B-A3B-Heavy-Deckard-Fine-Tune | 36.0B | — | apache-2.0 | Qwen3.6-35B-A3B-Heavy-Deckard-Fine-Tune: ~80GB Memory (2026-12-02) |
| inclusionAI/SingVL_S1_27B | 27.8B | 80GB | apache-2.0 | SingVL_S1_27B Multimodal Decision Model: 80GB+ VRAM (2026-12-01) |
| Qwen/Qwen3.8-27B | 27.8B | 80GB | apache-2.0 | clairic Vision-Language Model: 80GB+ VRAM (2026-12-01) |
How to Get It
This model is distributed in the GGUF format.
It can be obtained directly from Hugging Face using the following command and used in environments like llama.cpp:
llama serve -hf ggml-org/medgemma-2-26B-A4B-it-GGUF:Q4_K_M
Compatible engines include llama.cpp and llama serve.
Quantized and Converted Variants
→ Scroll horizontally to see all columns
| Added | Publisher | Format | Repository | Smallest VRAM tier (build, est. memory) |
|---|---|---|---|---|
| 2026-12-04 | AtomicChat | GGUF (imatrix) | AtomicChat/medgemma-2-26B-A4B-it-GGUF | Q4_K_M 17.1GB (fits in 24GB VRAM) |
File sizes of each build:
- Available builds in AtomicChat/medgemma-2-26B-A4B-it-GGUF: Q4_K_M 14.2GB
This section is appended automatically by Local Model Watch when a converted build of this model appears after publication. Memory figures are estimated from the size of the distributed files. What the quantization names mean: glossary.
Related Articles
- TML-d24-varloop-research-GGUF Vision-Language Model: 24GB+ VRAM
- Qwen3-Coder-30B-A3B-Instruct-GGUF Text Generation Model: 24GB+ VRAM
- vllm-d3 GGUF Models Released: Decision Models for Local Run
- OpenJev-GGUF 27.4B Decision-Making Specialized Model: 24GB+ VRAM
What to Read Next
- Find models by VRAM (This model runs from the 24GB tier) → Other models that run on a 24GB GPU
- Explore the same model family → medgemma-2 family overview (1 articles, 1 converted builds)
- Engines that run this model → llama.cpp / Ollama
- What Q4_K_M, Q8_0 mean and where to get this model → GGUF format guide and models / Quantization and model-format glossary
- Learn about the publisher → Google: models, licenses and articles
Sources
Update History
- 2026-12-04: Added converted builds to “Quantized and Converted Variants”: AtomicChat/medgemma-2-26B-A4B-it-GGUF
- 2026-12-05: Added our own measurements: what is inside the GGUF file.

