The Short Answer
Capable open models now run on hardware a clinic can buy: one developer reports Qwen4-35B-A3B at 44 to 47 tokens per second at 262K context on a 12 GB RTX 3060, and Google built MedGemma 2 E4B to run offline on phones. The hard question is now who approves the deployment. With ibl.ai you own all the code and the data, so that approval record stays inside the hospital.
The brief behind this post said "46 tok/s on a $300 GPU with 1M token context." Those three numbers were never measured together.
Below we separate what was measured from what was claimed, then walk through the approval questions that running locally changes, and the ones it does not.
How fast does Qwen4 actually run on a 12 GB consumer GPU?
Qwen4-35B-A3B is a Mixture-of-Experts model with about 35B main parameters and about 3.8B active per token, released under Apache-2.0 with a 1,048,576-token native context window, per the Hugging Face launch post of December 4, 2026.
The fast-on-cheap-hardware numbers come from one developer posting on X as Doğukan (@DogukanUrker). His first report: about 44 tok/s decode at 262K context on a single RTX 3060 with 12 GB of VRAM and 16 GB of system RAM.
His follow-up reported about 47 tok/s at 262K, about 39 tok/s at 524K and about 33 tok/s at the full 1M context on the same card and RAM.
| Claim in the brief | What the sources say | Who measured it |
|---|---|---|
| 46 tok/s | 44 to 47 tok/s decode at 262K context, quantized build, 12 GB RTX 3060 plus 16 GB RAM | One developer's self-report on X; not independently reproduced |
| 1M token context | 1,048,576 tokens is the model's native window; at 1M the same developer reports about 33 tok/s | Window: Qwen / Hugging Face. Speed: same self-report |
| $300 GPU | The RTX 3060 12 GB launched at $329 in February 2021; street prices vary | NVIDIA launch announcement |
| Runs at full speed at 1M | Google's LiteRT-LM team says "full-speed 1M context requires 32 GB+ VRAM" on Windows or Linux GPUs | LiteRT Community, Hugging Face, December 4, 2026 |
The price comes from NVIDIA's RTX 3060 announcement, which listed the card at $329 with 12 GB of GDDR6. The 32 GB figure is from the LiteRT-LM guide to running Qwen 4 locally.
Unsloth's own guide recommends a 2-bit quant for 12 GB devices and 4-bit for 24 GB, per its Qwen4 run-locally page.
A 35B model squeezed into 12 GB of VRAM and 16 GB of RAM is necessarily quantized, and 33 tok/s at 1M is impressive, but it is not the full-precision checkpoint Qwen published.
What does "MedGemma 2 runs on a phone" actually mean?
MedGemma 2 comes in two sizes, per Google's announcement of December 3, 2026: a 26B Mixture-of-Experts model for servers and an E4B model "optimized for on-device deployment on phones, tablets, and laptops." Only the E4B is the phone model.
Google's LiteRT-LM page for MedGemma 2 gives the specifics. Mixed-precision INT4/INT8 quantization compresses active memory "from ~16 GB (BF16) to ~4-5 GB."
The same page recommends "12 GB+ total device RAM for full apps on shared-memory phones and laptops," or 8 GB+ of dedicated VRAM on a discrete GPU. It recommends an 8,192-token context, configurable up to 32,768 on LiteRT-LM, against a 128K architectural maximum.
| MedGemma 2 E4B, on the device | Figure | Source |
|---|---|---|
| Active memory, compressed build | About 4-5 GB (mixed INT4/INT8) | Google LiteRT-LM page |
| Recommended device RAM | 12 GB+ shared memory, or 8 GB+ dedicated VRAM | Google LiteRT-LM page |
| Recommended context on device | 8,192 tokens (up to 32,768; 128K architectural) | Google LiteRT-LM page |
| MedAgentBench success rate | 53.3 (MedGemma 2 4B) vs 48.7 (Gemma 4 E4B) | Hugging Face model card, BF16 weights |
| Decode speed on a phone | 18.2 tok/s Pixel 11 Pro (TPU); 21.7 tok/s iPhone 17 Pro (GPU) | LiteRT-LM model card |
| Accuracy scores for the phone build | None published; the main card says quantized versions "may perform differently" | Hugging Face model cards |
The device speeds come from the MedGemma 2 E4B LiteRT-LM model card, which reports speed and memory only.
So "runs on a phone" is true for current flagship phones, a compressed build, and a short context. The published benchmark scores belong to the full-precision weights, per the MedGemma 2 E4B model card.
Does running clinical AI on the device change a hospital's HIPAA obligations?
Running on the device changes one HIPAA question and leaves the rest.
HHS has said since 2016 that a cloud provider storing electronic protected health information for a covered entity is a business associate even if it holds only encrypted data and no key, in its guidance on HIPAA and cloud computing.
When the model runs on a hospital-managed phone or laptop and no prompt leaves it, there is no inference vendor receiving PHI, so there is no inference business associate agreement to negotiate. That is the part of the framework built for cloud that simply drops away.
What stays is the HIPAA Security Rule, which covers ePHI a covered entity creates, receives, maintains or transmits, on any device. The phone becomes part of the risk analysis: encryption at rest, a lost-device plan, who can install a model update.
Moving the model local does not remove the paperwork. It moves it from an inference-vendor contract to device management, which the hospital controls; any other vendor that still receives PHI, such as a cloud backup or logging service, still needs a business associate agreement.
Does an on-device clinical model still need FDA review?
Where a model runs does not decide whether it is regulated. FDA's Clinical Decision Support Software guidance, final and re-issued January 29, 2026, interprets section 520(o)(1)(E) of the FD&C Act by what the software does and for whom.
A triage or diagnostic tool built on MedGemma 2 E4B faces the same intended-use analysis on a phone as on a server. Offline operation does not appear among the criteria.
Google's own terms point the same way. The MedGemma 2 model card states that outputs "are not intended to directly inform clinical diagnosis" and should be "considered preliminary," and use is governed by the Health AI Developer Foundations terms of use.
Who approves an on-device clinical AI deployment inside a hospital?
The approval chain is where a 4-5 GB model now waits. Each row below is a question someone in the hospital has to sign, and running locally changes only some of them.
| Approval question | Cloud inference | On-device inference |
|---|---|---|
| Business associate agreement with the inference vendor | Required (HHS cloud guidance) | No inference vendor receives PHI |
| Security Rule risk analysis | Covers the vendor link and data flows | Covers every device: encryption, loss, updates |
| FDA intended-use analysis (CDS guidance) | Turns on function and user | Unchanged: same function, same analysis |
| Clinical validation | Of the hosted model version | Of the exact quantized build on the device |
| Model updates | Vendor pushes them | The hospital decides when, and re-validates |
Under the Security Rule every covered entity must name a security official, so the device rows have an owner by law. The validation rows need a clinical governance committee that signs off on a specific model file, not on a model family name.
That last point is the one most often missed. The MedGemma 2 card's benchmarks are for BF16 weights; a hospital approving the 4-5 GB phone build is approving something Google has published speed and memory figures for, but no accuracy scores.
What should a health system validate before an on-device model touches patient care?
Start with the gap between the headline and the build. The Qwen4 speed figures came from a quantized build on a 12 GB card; MedGemma 2's scores came from full-precision weights. Validate the file you will actually deploy, at the context length you will actually use.
Three checks follow from the sources above:
- Context length. Google recommends 8,192 tokens on device for MedGemma 2 E4B, not 128K. A chart summary that needs more than that needs a server, or a retrieval step.
- Version pinning. Record the exact model file, quantization and runtime version, so a re-validation is triggered by a change, not discovered after one.
- Fallback. Decide what the clinician sees offline when the model is unsure, and log it on the device for later review.
We saw the same pattern in field screening, where offline TB screening AI in a backpack X-ray rests on an explicit approval: a conditional 2021 WHO recommendation that software may replace a human reader for screening, with a confirmatory test after.
How does ibl.ai help a hospital govern local and on-premise clinical AI?
ibl.ai is an agentic AI platform a health system deploys on its own infrastructure, and you own all the code and the data.
It is model-agnostic, so the same agents can call Qwen4 on a local GPU, MedGemma 2 on a hospital server, or a frontier model where policy allows, and switch without being rebuilt.
That matters for the approval chain above. The audit trail, the record of which model version answered and the access rules live on servers the hospital controls, whether that is its own cloud, its data center or an air-gapped network.
ibl.ai is not a medical device and does not replace FDA or clinical validation. More than 1.6 million users across 400+ organizations run the platform, with no per-seat pricing. ibl.ai is family-owned and operated from New York, NY.
For the boundary-review side, see why an air-gapped clinical AI platform survives a HIPAA review, and for a hospital-scale on-premise test, Samsung Medical Center's on-premise AI scribe proof of concept. Sector details are on ibl.ai for medical and healthcare organizations.
Sources: Qwen4 specifications from Hugging Face, December 4, 2026 and Unsloth; RTX 3060 speeds are one developer's self-reports on X, not an independent benchmark; MedGemma 2 from Google, Google LiteRT-LM and the model card; regulatory framing from HHS and FDA as linked above.