2027 planning guide · Industry solutions

How can healthcare teams use private RAG on sensitive data?

Healthcare teams use private RAG to answer questions from approved policies, formularies and coding guides while keeping sensitive data inside a controlled boundary. The pattern is retrieval first, citations on every answer, scoped keys and audit logs, with a named clinician or coder accountable for each decision.

Short answer. Run private RAG over approved content rather than over patient records. Embed policies, formularies and coding guides, retrieve the passages that support an answer, and require a citation before the text reaches a user. Keep the vector store and the model call inside the boundary your privacy review approved: a regional Plugsky endpoint, a private VPC, on-premises or air-gapped. SOC 2 alignment; no certification is claimed. A HIPAA BAA is available by contract, subject to review; no HIPAA certification is claimed. This page is informational, not medical advice.

Last checked 20 November 2026 · 39 public model IDs · 262,144-token serving context for main text models

Key facts

The table states the product facts this guide relies on. Plan numbers are the published self-serve figures; private deployment is contract-led and is not a checkout option.

Healthcare AI facts checked 20 November 2026
ItemWhat is true on 20 November 2026
API surfaceOpenAI-compatible POST https://api.plugsky.com/v1/chat/completions; embeddings at /v1/embeddings. Existing OpenAI SDK integrations change the base URL, not the application logic.
Data groundingEmbeddings and RAG are live for policy, coding and knowledge search. The embedding family serves an 8,192-token context and returns 2,048-dimension vectors.
Model contextMain text models serve 262,144 tokens. Exceptions include mistral-medium at 131,072 and the vision family at 131,072.
DeploymentPlugsky cloud in Frankfurt, UAE, Singapore or Virginia; private VPC or dedicated endpoint; on-premises; air-gapped. Private modes are contract-led.
Access controlScoped API keys, key rotation and usage analytics; enterprise SSO and RBAC options.
AuditabilityRequest and response logging plus access controls for review.
Trust evidenceSOC 2 alignment; no certification is claimed. Confirm scope and any exceptions during vendor review. A HIPAA BAA is available by contract, subject to review.
Free tierFree plan: $0, no card, two API keys, plugsky-micro and plugsky-lite. Accounts created from 2 November 2026 receive 100 requests and 50,000 tokens per day.
Pricing modelFlat monthly self-serve plans with no per-token billing on self-serve. Annual billing is 20% off; paid plans include a 7-day money-back guarantee.

What changed by 20 November 2026

A 2027 plan should not be built on a 2025 fact sheet. Five dated changes affect healthcare pilots directly, and each one is cheap to check before a procurement conversation.

Dated changes that affect a 2027 healthcare AI plan
DateChangeConsequence for a healthcare pilot
2 Nov 2026New free accounts receive 100 requests and 50,000 tokens per day. Older accounts keep 500 requests and 250,000 tokens per day until migration.Size a pilot against the new allowance, not a tutorial written before November 2026. A 20-question-per-day pilot supports about five reviewers on the free plan.
20 Nov 2026The public catalogue contains 39 model IDs.Procurement decks should cite 39. Legacy counts are not product facts and should be removed from internal slides.
20 Nov 2026Main text models serve 262,144 tokens of context.Long policy manuals and multi-document case files fit in one call, but retrieval is still required for citation and access control.
20 Nov 2026Riyadh is available on Enterprise only, not as a self-serve region.A Saudi hospital group must contract for Riyadh. The nearest self-serve GCC region is the UAE, which is a transfer, not local processing.
20 Nov 2026SOC 2 is a report available under NDA, not a public certification badge.Put the report request, the audit period and the exceptions in the vendor-review file. Do not accept a logo as evidence.

The pattern is consistent: the facts that matter to a regulated buyer are dated, specific and verifiable. A vendor that cannot say when a number was last checked is asking the buyer to carry the risk.

TL;DR

  • Ground answers in approved content with RAG rather than model memory.
  • Keep sensitive data inside VPC, on-premises or air-gapped deployments when the privacy review requires it.
  • Use scoped keys and audit logs to support privacy and compliance reviews.
  • Assign a human owner to every clinical, coding or coverage decision.
  • Pilot on policy documents before touching any patient-identifiable data.
  • Measure retrieval and citation quality, not just whether the demo sounded plausible.

How it works, step by step

The sequence below is deliberately boring. Each step produces an artifact that the next step, or an auditor, can inspect.

  1. Inventory the content you want searchable: policies, formularies, coding guides and internal procedures. Record an owner and a review date for each source.
  2. Define a data boundary for the pilot that excludes patient-identifiable data until the controls are proven. Write down what is out of scope, not only what is in scope.
  3. Choose a deployment target: cloud for public content, VPC, on-premises or air-gapped for restricted data. Confirm the scope in writing if it is not self-serve.
  4. Build an evaluation set with clinician or coder input so answer quality is judged by domain experts rather than by the project team.
  5. Ingest, chunk and embed approved documents, and require a citation on every answer. Keep source metadata so a reviewer can open the original.
  6. Add refusal behaviour for questions that fall outside the indexed, approved content. A clean refusal is a feature, not a failure.
  7. Review logged interactions on a schedule and expand only after accuracy and privacy checks pass.

What “done” looks like at the end of the pilot: a labelled question set, a retrieval hit rate, a citation-correctness score, a refusal log and a named clinical owner who has signed off on the answer policy. Without those five artifacts, the pilot has produced a demo, not evidence.

Try it yourself

Use the RAG sandbox to test a retrieval flow against your own text before you connect a document store. It is a way to see how chunking and citations behave; it is not a validated clinical tool.

Start where decisions are not clinical

Safe first use cases are administrative and informational:

  • Policy and procedure search: staff ask questions and get cited answers from current documents.
  • Coding and billing support: suggest codes from documentation for certified coders to confirm.
  • Formulary and coverage lookup: retrieve plan rules and draft explanations for review.
  • Patient FAQ: answer logistics questions such as hours, preparation and documents from approved content.

Each one augments a professional or answers a factual question; none replaces clinical judgment. The distinction is not cosmetic. A policy answer can be checked against a document. A diagnosis cannot be checked against a retrieval index, which is why clinical decision support belongs to a separate, validated process with its own regulatory analysis.

A private RAG architecture

The stack mirrors other regulated industries: an ingestion pipeline for approved documents, multilingual embeddings, a vector store inside your environment, and a chat call that answers only from retrieved context. Plugsky embeddings and chat completions are OpenAI-compatible, so the integration is a base-URL change for teams already using OpenAI SDKs.

The retrieval layer does most of the safety work. Chunk documents on section boundaries, not on a fixed character count, and store jurisdiction, document type, version, effective date and access label with every chunk. At query time, filter by the user’s access label before similarity search. A retrieved passage the user is not allowed to see is a data leak even if the model never quotes it verbatim.

Generation should be constrained by the prompt: answer only from the supplied passages, cite the passage identifiers, and return a refusal when the retrieved context does not support an answer. JSON mode is the right choice when the output feeds a downstream system, such as a coding work queue. Streaming is the right choice when a person is reading and needs to see progress.

Air-gapped deployment keeps prompts, documents and vectors inside your network. It also moves patching, monitoring and model updates onto your team, so the operational plan matters as much as the architecture diagram. See the private RAG deployment guide for the build sequence.

Deployment choices against data classes

Deployment is a data-class decision before it is a product decision. The table is a starting map for a privacy conversation, not an approval. Your privacy officer and counsel decide which row applies and what additional safeguards are required.

Healthcare data classes mapped to deployment options and evidence
Data class and exampleEligible deploymentWhat must be true firstEvidence to keep
Public patient educationRegional cloud endpointContent owner approval; no identifiers; a review date on the sourceSource URL, approval record, retrieval index version
Internal policy, no identifiersRegional cloud endpoint or private VPCDLP scan confirms no patient data; access labels on every chunkDLP result, data-flow map, key inventory
Sensitive personal dataPrivate VPC or on-premises, only after privacy reviewBAA where applicable, de-identification, authorization in your service layerDPA, BAA, architecture diagram, retention schedule
Restricted or classifiedOn-premises or air-gappedBuyer operates the stack; intake and support process agreed in writingIntake procedure, audit-log export, disaster-recovery test

Two mistakes are common. The first is treating a regional endpoint as a residency guarantee; processing, storage, backups, support access and subprocessors each need a location. The second is treating an air gap as a complete control set; physical access, insider risk and media handling still decide the outcome. The data-residency decision page covers the region-by-region detail.

Privacy, access and audit controls

Health workloads are governed by privacy rules that vary by jurisdiction, so map your obligations with counsel rather than assuming one framework covers every deployment. The technical controls are consistent across regimes:

  • Minimise before generation. Remove or tokenise identifiers before they reach the model. Retrieve only the fields required to answer the question.
  • Authorise retrieval in your own service. The vector store must not be a bypass around the permissions that already govern the source system.
  • Scope credentials per application. A policy-search service and a coding assistant should not share a production key. Rotate on a schedule and revoke on team changes.
  • Retain logs under a defined schedule. Decide what is logged, who can read it, how long it is kept and how it is exported to your SIEM.
  • Confirm the data-use terms. Read the DPA and order form for retention, deletion and any model-training term. Do not infer the term from a marketing page.

Document what data can leave each boundary, and verify the claim with an architecture diagram before go-live. The DPA checklist lists the clauses to compare, and Plugsky security is the place to start a vendor review.

Human oversight is the safety control

Treat model output as a draft. Require a named human owner for clinical, coding and coverage decisions, display the citations alongside the answer, and make it easy to report a wrong or unsafe response. Track correction rates over time; they are better signals than generic benchmarks.

The evaluation pack a clinical reviewer will ask for

The evaluation pack should be small enough to run on every change and specific enough that a clinician can disagree with it. The table below is a workable starting point; the targets are agreed with the clinical owner, not copied from a vendor benchmark.

Evaluation metrics for a healthcare RAG pilot
MetricWhat it measuresHow to set the target
Retrieval hit rate at kWhether the passage that supports the correct answer appears in the top k resultsAgree with the clinical owner per document set; report k explicitly
Citation correctnessWhether the cited passage actually supports the sentence it is attached toSample by hand; a citation that exists but does not support the claim is a failure
Refusal correctnessWhether out-of-scope questions are refused and in-scope questions are answeredInclude both false answers and false refusals in the labelled set
Answer accuracyAgreement with the reviewer-approved answer on the labelled setDomain reviewers grade; the project team does not self-grade
Correction rateHow often a reviewer edits or rejects a draft in productionTrack the trend after launch; a rising rate is a retrieval or prompt regression

The AI vendor risk assessment checklist covers the procurement side of the same question: what evidence to request, who owns the review and what to record when a document is missing.

Pilot sizing on real plan limits

Pilot size is arithmetic, not a feeling. Take the number of reviewers, the questions each asks per day and the average tokens per question, then compare the result with the plan’s daily allowance. The plan table lives at /pricing and is explained in the rate-limits guide.

Illustrative pilot sizing at 20 questions per reviewer per day and 1,500 tokens per question
PlanRequests/dayTokens/dayReviewers supported by requestsTokens used per day
Free (new)10050,00057,500
Hobby1,0002,000,0005075,000
Starter2,0005,000,000100150,000

The arithmetic shows which limit binds. On the free plan, 100 requests supports five reviewers, and 7,500 tokens is well inside the 50,000-token allowance, so requests bind first. On Hobby, 50 reviewers produce 75,000 tokens against a 2,000,000 allowance; requests still bind. A retrieval pipeline that sends six retrieved passages per question can multiply the token figure quickly, so measure real tokens rather than assuming the prompt fits.

Honest comparison

The comparison is about operating model, not model quality. A consumer tool can be useful for public information; it is not a controlled deployment for sensitive data.

Healthcare AI deployment models compared
CapabilityPlugskyConsumer AI toolsBuilding in-house
Data boundaryCloud, VPC, on-premises, air-gappedVendor cloud onlyYou control fully
GroundingRAG with citations over approved contentUncontrolled retrievalYou assemble and operate
Access controlScoped keys, usage analytics, enterprise SSO and RBAC optionsAccount-level onlyCustom identity work
AuditabilityRequest and response loggingLimitedYou build logging
PricingFlat monthly self-serve plans; see live pricingPer-seatGPU plus operations cost
Time to pilotDaysHours, without residency controlQuarters

Building in-house is the better choice when the data cannot leave a facility you control and you already have the GPU operations team to run inference, patching and monitoring. A consumer tool is reasonable only for public information, where a wrong answer cannot affect care and no patient data is involved.

What we did not verify

This page is a planning guide, and the gaps are part of the record.

  • No clinical validation or accuracy benchmark was run for this page, and no patient data was used.
  • No SOC 2 report, penetration test, BAA or subprocessor list was reviewed. Request each document and check its date and scope.
  • HIPAA is not a certification. A BAA is a contract term, subject to review, and it does not by itself make a deployment compliant.
  • Token counts in the pilot table are arithmetic illustrations, not measured tokenizer output for your documents.
  • Private deployment scope, regional availability and air-gapped model availability are contract-led. Confirm them in writing rather than inferring from the public catalogue.
  • No legal or privacy advice is given. Jurisdiction-specific obligations require counsel.

Frequently asked questions

Can we use patient data with this?

Only after your privacy review approves the deployment and controls. For restricted data, use a VPC, on-prem or air-gapped deployment, minimize identifiers, and keep authorization in your own services.

Is Plugsky certified for health privacy rules?

Plugsky provides controls you can document in your own compliance program, such as scoped keys, logging and private deployment. Confirm current attestations and terms with the Plugsky team and your counsel.

How do we prevent wrong clinical answers?

Restrict the assistant to approved content, require citations, refuse out-of-scope questions, and keep a human decision-maker for every clinical or coverage outcome.

Should we fine-tune on our clinical notes?

Not for a first release. Fine-tuning is coming soon and is better for style than for facts. RAG keeps answers current and traceable, which matters more in a regulated setting.

Can it handle scanned documents?

Vision models are live and accept image input, so a scanned page can be sent directly. For tables and poor scans, a reviewed OCR step is often more reliable. Link the extracted text back to the original image so a reviewer can verify it.

How do we evaluate answer quality?

Have clinicians or certified coders build a labelled question set, then measure retrieval hit rate, citation correctness and answer accuracy before and after every change.

What about multilingual patient populations?

Multilingual embedding and chat models in the 39-model catalogue handle mixed-language content. Evaluate on your own languages and terminology.

Is this page medical advice?

No. This page is informational and describes an architecture for healthcare teams. It is not medical advice, not a clinical protocol, and not a substitute for review by a qualified clinician, privacy officer or counsel.

Which deployment should a hospital pilot start with?

Start with public or internal policy content on a regional cloud endpoint or a private VPC. Add patient-identifiable data only after the privacy review, the BAA where applicable, the access model and the audit trail have been tested.

Sources

Last checked 20 November 2026. Product facts come from the live API catalogue and the plan table. Legal and privacy statements are informational and require review by your own counsel.

Related

Cite this page

Plugsky (2026). “AI for Healthcare: Private RAG and Sensitive Data”. Plugsky. Available at: https://plugsky.com/articles/ai-for-healthcare-private-rag-and-sensitive-data (last updated 20 November 2026).