New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
AI News

MedGemma 2 26B-A4B Explained: 86.3 Agent Score, No MedQA

OpenLux Team · Published 2026-12-04

Google's MedGemma 2 26B-A4B scores 86.3 on MedAgentBench, a test of completing tasks inside a simulated electronic health record, which is 5.0 points above the Gemma 4 26B model it is built on. The model card, dated 3 December 2026, reports that alongside 16 other scores for the 26B model. What it does not report is a MedQA score, the most widely quoted medical exam benchmark, for the 26B at all; every text-exam row on the card is for the smaller 4B model. So this is a model Google wants judged on agent work, imaging and records, not on exam questions, and the card gives you exactly the evidence for that and no more.

OpenLux does not serve MedGemma or any Gemma model. For non-patient work such as summarising published papers, hosted models like Qwen3.6-35B-A3B are listed with group prices. The OpenLux Team read Google's card and announcement, and the OpenLux pricing API, between 10:20 and 10:35 Beijing time on 4 December 2026.

What Google released

MedGemma 2 comes in two sizes. The 4B, called E4B, is a dense model for phones, laptops and offline apps. The 26B, called A4B, is a mixture-of-experts model that the card says targets "hospital on-premises servers and private cloud deployments". Both are built on Gemma 4 with no changes to the base architecture, and Google's announcement describes the release as moving from medical question answering to tools that work inside clinical workflows.

The weights are gated on Hugging Face under the Health AI Developer Foundations terms of use, not an open-source licence: you log in and accept the terms before downloading. Reporting from MLQ notes the supporting code is under Apache 2.0, which does not extend to the weights.

What "26B-A4B" means in practice

The name rounds generously. The card lists 25.2 billion total parameters and 3.8 billion active per token, so each token uses about 15.1% of the model. The 26B has 30 layers and 128 experts, of which 8 are active per token, plus 1 shared expert. Attention alternates 5 local layers with a 1,024-token sliding window for every global layer, and the vocabulary is 262K tokens.

Spec (model card) MedGemma 2 26B-A4B MedGemma 2 4B (E4B)
Total / active parameters 25.2B / 3.8B ~8B with per-layer embeddings / 4.5B effective
Layers 30 42
Experts 128, 8 active + 1 shared Dense
Vision encoder ~550M ~150M
Audio input No Yes (~300M encoder)
Context 256K supported, 128K validated 128K
Output Text only Text only

Two rows on that table catch people out. The 26B has no audio input; if you need dictation, only the 4B takes audio. And context is listed two ways: the architecture supports 256K tokens, but the card says the checkpoints are validated up to 128K. Treat 128K as the working limit for anything clinical.

The vision encoder is the standard Gemma 4 encoder with no added medical pre-training. MedGemma 1 and 1.5 used a medically trained encoder derived from MedSigLIP, so image gains in version 2 come from the language model's training, not from a new encoder.

Where the 26B beats Gemma 4, row by row

Google compares MedGemma 2 26B with the Gemma 4 26B it started from, using temperature 1.0, top_p 0.95 and top_k 64 for every evaluation. The gains are uneven, and the spread tells you what the medical training changed.

The biggest gains are on images. Chest ImaGenome, which scores how well the model locates findings on a chest X-ray, rises from 34.1 to 54.2, a 20.1-point jump. PathMCQA, pathology multiple choice, goes from 49.6 to 68.0, up 18.4. US-DermMCQA, dermatology, moves from 70.2 to 77.2, and MIMIC-CXR macro F1 from 84.9 to 89.8.

Agent tasks gain less but matter more for the stated use. MedAgentBench success rises from 81.3 to 86.3, MedCalc-Bench Verified, which checks clinical calculations, from 66.2 to 72.8, and AgentEHR on common cases from 23.5 to 30.7 F1, which is the roughly 31% relative gain Google highlights. AgentEHR is still low in absolute terms: 30.7 F1 means most record-retrieval tasks are not fully right.

The agent rows test the tools Google built the release around. MLQ's report lists them: generating SQL and FHIR queries against a health record, writing sandboxed Python to compute guideline formulas, and searching literature such as PubMed for citations. On ClinSeek-Bench, a literature search task run without web search, the 26B scores 49.1 against Gemma 4's 47.2, a gain of only 1.9 points. On Google's internal Grounded Clinical QA set, which checks whether answers stay tied to the sources supplied, it scores 95.6 against 90.8. The card warns that grounded answers can still contain unsupported content, and that every tool call and generated script should run in a sandbox.

Records tasks barely move because Gemma 4 was already good at them. EHRQA on text goes from 97.0 to 97.7, a 0.7-point gain, and on DischargeMe course summaries the base Gemma 4 scores 7.31 against MedGemma's 7.29 on a 10-point LLM-judged scale.

The benchmarks Google did not publish for the 26B

The text-exam table, with MedQA, MedMCQA, PubMedQA and MMLU Medical, covers only the 4B models. There the new 4B scores 82.3 on 4-option MedQA, against 69.1 for MedGemma 1.5 4B and 74.0 for Gemma 4 E4B. The card gives no MedQA figure for the 26B, and no MedGemma 1 27B column anywhere, so you cannot read the 26B's exam performance or its gain over the previous large MedGemma from Google's own material.

The same goes for document extraction and audio word error rates: both tables list only 4B models. If your use case is structured extraction from scanned records, the card's evidence is for the small model, and you would have to measure the 26B yourself.

Google also lists the usual limits. Outputs are "not intended to directly inform clinical diagnosis, patient management decisions, treatment recommendations", mental and behavioural health uses are excluded, quantised versions such as GGUF and MLX need their own validation, and the safety review covered mostly English text prompts.

Running the 26B on your own hardware

The card recommends transformers 5.15.0 or later, with Gemma 4 support starting at 5.10.1. The 26B loads through an image-text-to-text pipeline, or through vllm serve "google/medgemma-2-26B-A4B-it", which exposes an OpenAI-compatible endpoint on port 8000; SGLang works too. Thinking is switched on by putting <|think|> at the start of the system prompt, and Google suggests budgets of 8,192 to 16,384 new tokens with thinking and up to 32K for agent evaluations.

Memory is simple arithmetic. Hugging Face counts 25,805,936,206 parameters in BF16, so the weights alone are about 51.6 GB at 2 bytes each, which fits on a single 80 GB GPU, the configuration MLQ's report describes. A 4-bit build cuts the weights to roughly 12.9 GB, but the card says quantised versions need separate validation. For CT, MRI or whole-slide images, set max_soft_tokens to 70 or 140 per image instead of the default 280 so multi-slice inputs fit in context.

When a hosted model is the better tool

MedGemma exists because many teams cannot send patient records to an outside API, and that includes OpenLux: patient data should stay on infrastructure you control, where the 26B is designed to run. Hosted models are useful for the work around it, such as summarising published studies, drafting non-clinical documentation or building and testing an agent's tool-calling logic on synthetic records.

For that kind of work, two vision-capable models on OpenLux, read from the pricing API at 10:23 Beijing time, are close in size. Qwen3.6-35B-A3B lists at $0.375 input and $2.25 output per million tokens, or $0.28125 and $1.6875 in the Alibaba-2 group (ratio 0.75). GLM-5.3-Flash lists at $0.15 and $0.50, or $0.045 and $0.15 in Self-Deployed-1 (ratio 0.3), a group described as an attractive discount for general Q&A and simple image-text understanding.

As a worked example, summarising 3,000 papers a month at 8,000 input and 600 output tokens each is 24 million input and 1.8 million output tokens. That costs 24 × $0.28125 + 1.8 × $1.6875 = $9.79 on Qwen3.6-35B-A3B in Alibaba-2, and $1.35 on GLM-5.3-Flash in Self-Deployed-1. Neither is a medical model, and neither has MedGemma's imaging training. How group ratios appear in a usage log is in our billing guide, and the GLM-5.3-Flash comparison with MiniMax M3.1 Flash covers the cheap end of the hosted range.

What to test before you build on it

Start with the three rows closest to your task, not the headline. If you build record-retrieval agents, AgentEHR's 30.7 F1 is the honest baseline, so test on your own schema before trusting retrieval. If you work with chest X-rays or pathology, the 18 to 20-point imaging gains over Gemma 4 are the strongest reason to pick MedGemma 2 over the base model. If you need exam-style medical Q&A from the 26B, Google has not published that number, so run MedQA yourself before quoting one. And keep context under 128K until Google validates more.

For hosted models around that work, see the OpenLux pricing page or create an OpenLux account.

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot
  • Careers

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot
  • Careers

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |