MedGemma 2: Benchmarks on a 16GB Mac Next to MedGemma 1.5
- Get link
- X
- Other Apps
Local AI · Analysis
Google's MedGemma 2 E4B tested against MedGemma 1.5 4B on a 16GB M4 Mac mini across 8 synthetic clinical tasks, llama-bench throughput, and thinking-mode latency.
By The Benchmarque Staff · · Updated Dec 6, 2026 · 9 min read
Test conditions: M4 Mac mini 16GB running llama.cpp 1.1.0 (Metal) on December 4, 2026 using fictional patient cases and a fictional lab report (no real patient data). Official exam scores are Google's published figures. General information about AI software, not medical advice. As an Amazon Associate we earn from qualifying purchases; retail links marked (paid link) earn a commission at no extra cost.

MedGemma 2 in 4 cards
Clinical task accuracy
8 / 8
MedGemma 2 E4B passed every synthetic task; MedGemma 1.5 made errors on 6 of 8.
Generation speed
27.5 tok/s
26% slower than MedGemma 1.5 (37.1 tok/s), while reading prompts 33% faster (635 tok/s).
Memory footprint
6.3-6.9 GB
Runs offline on a 16GB M4 Mac mini with vision enabled and zero macOS swapping.
Default thinking penalty
2.4x-8x
llama.cpp enables thinking by default, slowing simple lookups and risking blank outputs.
Tested on a 16GB M4 Mac mini one day after release, Google's MedGemma 2 E4B passed all 8 synthetic clinical tasks while MedGemma 1.5 4B made factual or calculation mistakes on 6 of 8. MedGemma 2 writes at 27.5 tokens per second (26.5 to 26.8 tok/s in live use), ingests prompts at 634.8 tokens per second, and uses 6.3 to 6.9 GB of unified memory with its vision encoder loaded. The key configuration catch is llama.cpp's default chat template, which leaves thinking mode enabled and slows simple prompts by 2.4x to 8x.
- Machine
- Mac mini, Apple M4, 16GB unified memory
- Runtime
- llama.cpp 1.1.0 via Homebrew (Metal backend), llama-server
- Models
- MedGemma 2 E4B Q4_K_M (ggml-org GGUF, 5.65 GB) and MedGemma 1.5 4B Q4_K_M (Unsloth GGUF, 2.49 GB)
- Benchmark suite
- llama-bench (3 runs each), 8 clinical scenarios at temperature 0.2, plus 1 tricky CHA2DS2-VASc prompt repeated 3 times at temperature 0.7
- Dataset
- Fictional patient histories and a fictional lab report; zero real patient records
- Test date
- December 4, 2026 (one day after release)
Why does a 16GB Mac matter for MedGemma 2?
Google released MedGemma 2 on December 3, 2026 with native tool calling as its marquee upgrade: instead of only answering static medical questions, the model can fetch records, invoke calculators, and cite supplied guidelines. Because most clinics cannot transmit patient records to external cloud APIs and most independent health developers do not own 80GB server GPUs, local execution on an ordinary 16GB machine determines whether the model is practical.
How fast is setup, and what causes blank replies?
Installing llama.cpp via Homebrew took 4.7 seconds, downloading the 5.65 GB quantized model file took 1 minute 40 seconds (roughly 55 MB/s), and llama-server finished loading in 2 seconds.
Out of the box, however, the initial test requests returned empty responses. llama.cpp's default chat template activates MedGemma 2's internal reasoning channel automatically, causing the model to burn through a 700-token output cap on hidden reasoning before emitting a single visible character. Google's official example scripts ship with thinking turned off and advise setting 8,192 to 16,384 output tokens whenever thinking is active. Raising max_tokens or sending "chat_template_kwargs": {"enable_thinking": false} eliminates blank outputs immediately.
How fast is MedGemma 2 in llama-bench and live memory tests?
MedGemma 2 E4B writes 26% slower than MedGemma 1.5 4B (27.49 vs 37.1 tok/s) because it packs 7.52B total parameters with per-layer embeddings (4.5B effective) compared with 3.9B in version 1.5. On prompt ingestion, MedGemma 2 reverses the lead and runs 33% faster at 634.82 tokens per second against 478.7 tokens per second.
$ llama-bench -m medgemma-2-E4B-it-Q4_K_M.gguf -p 512,2048 -n 128 -r 3
| model | size | params | backend | test | t/s |
| gemma4 E4B Q4_K - Medium | 5.25 GiB | 7.52 B | BLAS,MTL | pp512 | 634.82 ± 0.81 |
| gemma4 E4B Q4_K - Medium | 5.25 GiB | 7.52 B | BLAS,MTL | pp2048 | 628.51 ± 0.26 |
| gemma4 E4B Q4_K - Medium | 5.25 GiB | 7.52 B | BLAS,MTL | tg128 | 27.49 ± 0.01 |
In live task runs, MedGemma 2 held 26.5 to 26.8 tokens per second consistently. With the vision projection add-on loaded, llama-server occupied 6.3 to 6.9 GB RSS, lowering macOS free memory from 87% to roughly 55% with zero swap activity. MedGemma 1.5 used 4.0 to 4.8 GB. On a 16GB Mac, MedGemma 2 runs with comfortable margin on its own, though not concurrently with a second large local model.
What do Google's official medical benchmarks show?
Large standardized medical exams such as MedQA and PubMedQA exceed single-desktop test budgets, so the table below cites Google's published figures comparing MedGemma 2 4B, MedGemma 1.5 4B, and the non-medical Gemma 4 E4B base model.
| Benchmark | What it measures | MedGemma 2 4B | MedGemma 1.5 4B | Gemma 4 E4B (base) |
|---|---|---|---|---|
| MedQA (4 options) | US medical licensing exam questions | 82.3% | 69.1% | 74.0% |
| PubMedQA | Answering from research abstracts | 78.6% | 67.6% | 73.0% |
| MMLU Med | Medical subsets of MMLU | 81.6% | 69.6% | 79.0% |
| MedMCQA | Indian medical entrance exam questions | 63.8% | 59.8% | 62.6% |
| Grounded Clinical QA (internal) | Answering strictly from supplied sources | 94.8% | 13.1% | 85.2% |
| MIMIC-CXR (macro F1) | Chest X-ray findings classification | 86.3 | 89.5 | 74.2 |
Source: Google MedGemma 2 model card (Hugging Face, December 2026). MedCalc-Bench Verified (clinical code calculations) is omitted from the table because Google published no MedGemma 1.5 4B score; on that benchmark MedGemma 2 4B reached 59.1% against 37.9% for Gemma 4 E4B.
Two numbers stand out. First, Grounded Clinical QA jumped from 13.1% on version 1.5 to 94.8% on version 2, matching the sharp accuracy gain observed on local document-citation prompts. Second, MedGemma 1.5 still edges ahead on MIMIC-CXR chest X-ray classification (89.5 vs 86.3 macro F1), showing that version 2 is not an automatic upgrade for every single imaging sub-task.
How did both models perform across 8 local clinical tasks?
Both checkpoints ran the exact same 8 prompts at temperature 0.2 on the 16GB M4 Mac mini, with llama.cpp's default thinking enabled on MedGemma 2. Every response was verified manually and every generated script was executed.
| Task | MedGemma 2 E4B | MedGemma 1.5 4B |
|---|---|---|
| Explain a lab result in plain English | Correct and clear (37 s) | Correct (10 s) |
| Drug interaction: ibuprofen with lisinopril | Correct warning (41 s); overstated topical gel safety | Right advice, but wrongly claimed lisinopril raises GI bleeding risk |
| Write Python code for CHA2DS2-VASc score | Code ran cleanly, answer 4 correct (47 s) | Code printed 4, prose stated 5 |
| Answer only from supplied guideline with citations | Correct with [§1][§3] citations (22 s) | Contradicted itself on recheck interval |
| Explain the same lab result in Korean | Natural and accurate (34 s) | Fluent prose, but follow-up called hemoglobin high |
| Read a lab report image (flags printed) | 9/9 values and 4/4 abnormal flags right (50 s) | Correct (14 s) |
| Read lab report image with flags removed | 4/4 abnormal values identified (29 s) | Misclassified normal platelets as High |
| Tool calling (fetch labs + check interaction) | Two exact tool calls in 9 s | No native tool support; reversed interaction direction |
Measured on M4 Mac mini 16GB, December 4, 2026, temperature 0.2, llama.cpp 1.1.0 (Metal).
When should thinking mode stay on versus off?
Disabling thinking on straightforward extraction and lookup tasks sped up MedGemma 2 by 2.4x to 8x with zero drop in accuracy, and the lab-image readout even returned a cleaner table.
On multi-step arithmetic, however, thinking mode earned its latency. A tricky CHA2DS2-VASc prompt (a 78-year-old man with a prior TIA and a heart attack last year, where the right score is 5: age 78 = 2, prior TIA = 2, prior myocardial infarction as vascular disease = 1) ran 3 times per configuration at temperature 0.7:
| Configuration | Correct (of 3) | Latency range | Observed behavior |
|---|---|---|---|
| MedGemma 2 E4B, thinking ON | 3 / 3 | 33 to 41 s | Scored 5 on all three runs |
| MedGemma 2 E4B, thinking OFF | 1 / 3 | 13 to 20 s | Missed vascular-disease point twice |
| MedGemma 1.5 4B | 1 / 3 | Under 12 s | Answered 4, 6, and 5 |
Temperature 0.7, 3 runs per setup on M4 Mac mini 16GB, December 4, 2026. Practical rule: turn thinking off for summaries and lookups, turn it on for scoring rubrics and multi-condition math.
Where is MedGemma deployed in clinical pilots, and what are the caveats?
Most real-world pilots announced so far built on first-generation MedGemma, with version 2 positioned as a drop-in upgrade. Publicly disclosed deployments from Google include:
- Jacaranda Health fine-tuned MedGemma for PROMPTS, an SMS platform where expectant mothers report symptoms in local languages and receive nurse-vetted guidance.
- AIIMS New Delhi is adapting MedGemma for outpatient triage and dermatology screening.
- Crane AI uses it in EaseHealth for rural clinical decision support in Uganda, and Visilant integrates it into community eye-screening workflows in India.
- Indonesia's Ministry of Health is building a tuberculosis detection pipeline using MedGemma and MedSigLIP on local chest X-rays.
- MedGemma Impact Challenge winners include EpiCast (extracting disease-surveillance signals from health-worker notes) and ClinicDX (diagnostic support inside OpenMRS across sub-Saharan Africa).
Independent clinical evidence remains cautious. A 2026 medRxiv preprint evaluated first-generation MedGemma 4B on 77 difficult teledermatology cases where human specialists disagreed, recording a mean reciprocal rank of 0.43 and placing the right diagnosis inside its top 10 under half the time even under lenient matching. Live prospective outcome studies remain scarce.
What are the main downsides and score breakdown?
- Default thinking overhead in llama.cpp makes simple replies sluggish and returns blank strings when
max_tokensis tight. - Safety replies run overly long: the ibuprofen interaction check stretched to 2,800 characters where three sentences would suffice, and overstated topical gel safety.
- Unsolicited treatment advice appeared unprompted (for example, adding "anticoagulation is recommended"), which requires strict guardrails in patient-facing apps.
- Weights are gated under Google's HAI-DEF license terms rather than a permissive Apache 2.0 license, with explicit clinical use restrictions.
| Category | Score (of 10) |
|---|---|
| Output quality | 8.5 |
| Speed on 16GB Mac | 7.0 |
| Ease of setup | 8.0 |
| Value (free gated weights) | 9.0 |
| Privacy (full offline execution) | 10.0 |
| Overall rating | 8.5 |
Benchmarque evaluation based on M4 Mac mini 16GB testing on December 4, 2026. Intended for health AI developers and researchers, never as a self-diagnosis tool.
The verdict
Health developers on 16GB Apple Silicon: adopt MedGemma 2 E4B in llama.cpp, disable thinking for lookups and document parsing, and enable thinking with a high token cap for clinical scoring math.
Existing MedGemma 1.5 users: migrate off version 1.5 for text, grounding, and tool-calling pipelines, because version 1.5 reversed a drug-interaction direction and scored 13.1% vs 94.8% on grounded QA.
Consumers seeking medical advice: skip this model entirely. Google explicitly restricts MedGemma outputs from guiding direct diagnosis or treatment without clinical validation.
The catch: llama.cpp's default thinking setting slows routine queries up to 8x, weights carry HAI-DEF license restrictions, and real-world prospective clinical outcome data is still thin.
Quick answers
Can MedGemma 2 run on a 16GB Mac mini?
Yes. The 4-bit Q4_K_M E4B checkpoint (5.65 GB download) runs offline on a 16GB M4 Mac mini at 27.5 tokens per second using 6.3 to 6.9 GB of unified memory with vision loaded and zero swapping.
Is MedGemma 2 better than MedGemma 1.5?
On text accuracy, document grounding (94.8% vs 13.1%), and native tool calling, MedGemma 2 is a major upgrade. On MIMIC-CXR chest X-ray classification, Google's published figures still show MedGemma 1.5 slightly ahead at 89.5 vs 86.3 macro F1.
Why does MedGemma 2 return empty replies in llama.cpp?
llama.cpp enables thinking mode by default, allowing internal reasoning tokens to consume a low max_tokens cap before visible text starts. Raise max_tokens to 8,192 or pass enable_thinking: false in chat_template_kwargs.
Are MedGemma 2 weights free and open source?
Weights are free to download after accepting Google's HAI-DEF license terms on Hugging Face. They are open-weight with clinical use restrictions rather than Apache 2.0 open source.
Next steps and tools
Compare local model speeds on the Benchmarks Leaderboard
In the app: Benchmarks Leaderboard · PC and Local AI Builder · Hardware Market
Where to buy (paid link): Mac mini M6 16GB on Amazon
Read next: A 16GB Mac mini runs a 27B model and gets 20 of 20 tasks right · Running a 120B AI model at home · One change makes a small AI 3.4x faster
Sources
- Google: MedGemma 2 E4B model card and published benchmarks huggingface.co
- Google Research: Introducing MedGemma 2 for health AI developers research.google
- Google Blog: Introducing MedGemma 2 blog.google
- Google Blog: MedGemma deployments in global healthcare blog.google
- Google Blog: MedGemma Impact Challenge winners blog.google
- medRxiv preprint: Evaluation of MedGemma 4B on difficult teledermatology cases (2026) medrxiv.org
- Google for Developers: MedGemma 2 overview video youtube.com
Comments
Post a Comment