# MedGemma vs vendor APIs: choosing how to build healthcare AI features

> Open medical models such as MedGemma offer privacy, fine-tuning and frozen snapshots; BAA-backed vendor APIs offer speed and managed evaluation. A practical build choice for product teams — with HealthBench-style evals either way.

- Author: Arjun Patel
- Published: 2026-11-29
- Canonical: https://www.threeindex.com/blog/medgemma-vs-vendor-api-healthcare-build-choice
- Tags: Healthcare, AI
- Related: https://www.threeindex.com/healthcare/ai-solutions

## Two viable paths, different control surfaces

Google's MedGemma collection and related Health AI Developer Foundations models give teams open multimodal starting points that can run on a single GPU and be fine-tuned. OpenAI and peers offer healthcare-oriented APIs and workspaces under BAAs, with managed models and physician-influenced evaluation programs such as HealthBench.

Neither path removes validation, human checkpoints or regulatory scoping. They change who operates the model, how weights change under you, and where PHI is processed.

Choose from the product constraints, not from the loudest launch blog.

## When open models earn the complexity

Prefer open weights when institutional policy demands on-prem or VPC inference, when you must freeze a snapshot for reproducibility, or when fine-tuning on proprietary de-identified corpora is the performance path.

MedGemma-style models advertise adaptability for report generation, VQA and EHR-oriented text tasks — still with explicit disclaimers that outputs are not for unaudited clinical use.

You inherit GPU ops, patching, eval harnesses and red-teaming. That cost is real; so is control.

## When vendor APIs earn the speed

Prefer BAA-backed APIs when time-to-assistive-feature matters, when you lack GPU ops capacity, and when the vendor's healthcare controls (SSO, residency options, audit exports, no-training commitments) pass your checklist.

You inherit model revision risk: the endpoint can improve or shift behaviour. Bind eval gates to every upgrade. See HIPAA BAAs for AI APIs.

Hosted convenience is not a substitute for your acceptance tests on your workflows.

## Evaluation is non-negotiable on both paths

HealthBench-style rubrics — physician-written criteria over realistic conversations — show why accuracy quizzes alone fail clinical products. Build task rubrics for your note types, summary jobs or intake flows.

Measure omissions, unsafe advice, refusal quality and citation faithfulness where you claim grounding. Fail the release when critical cases regress.

Related practice: eval-driven development for AI features.

## Hybrid patterns are normal

Many teams run open models for PHI-heavy summarisation inside the boundary and use vendor APIs for non-PHI drafting or developer tooling. Keep the routing explicit and logged.

Do not silently escalate a PHI prompt to a non-BAA endpoint because the primary model timed out.

Cost and latency budgets belong next to the privacy matrix — inference spend is part of the product budget.

## What to put in the architecture decision record

Data classes allowed on each path. Residency. Fine-tune needs. Freeze versus continuous upgrade policy. Eval ownership. GPU versus API budget. Regulatory posture of the feature.

Record the decision so the next vendor meeting cannot reopen it casually.

Exclude "the model will diagnose" language unless you have a device pathway and clinical validation plan.

## How ThreeIndex helps you choose and ship

Our healthcare AI and AI and ML teams design the control plane — evals, audit, routing and ownership — in accounts you keep, whether the weights are open or API-hosted.

We will not pretend a research model is a cleared device. We will ship assistive features with the validation story your buyers and counsel expect.

Send a brief with privacy constraints, target workflows and ops capacity. We will recommend a stack you can operate, not only demo.

## FAQ

### When should healthcare products prefer open medical models?
When privacy, on-boundary inference, fine-tuning on your data and reproducible frozen weights matter more than fastest time-to-first-demo on a hosted API.

### Are open models like MedGemma ready to diagnose patients?
No. Publisher guidance treats them as starting points for validated, adapted applications — not as clinical devices or autonomous diagnostic systems out of the box.

### How does ThreeIndex help choose and ship the stack?
We design AI features with eval gates, vendor or open-model trade-offs and client-owned infrastructure — see healthcare AI and AI and ML services.

## About ThreeIndex

ThreeIndex is an AI-first software development company building web, mobile, cloud and AI software for teams worldwide. Founded in 2020.

- Site: https://www.threeindex.com/
- Contact: https://www.threeindex.com/contact
- LLM index: https://www.threeindex.com/llms.txt
