All use cases

Use case

AI clinical documentation

Draft the note, summarize the record and suggest the codes on one API, with a say in which providers ever see the text.

One model per job

A frontier model for a 200-page record, a small fast one for every visit note. Changing models is a change of model string.

Structured output for coding

Ask for JSON that matches your schema, so suggested codes and extracted fields land in your system without parsing prose.

Limit which providers are used

Provider compliance policies on the Enterprise plan restrict routing to providers that meet your requirements, and fail closed.

Cost per workflow

Give the scribe, the summarizer and the coding assistant separate API keys and see tokens, latency and cost for each.

Documentation is the work nobody trained for

Clinicians spend a large part of the day writing: visit notes, referral letters, discharge summaries, replies to patient messages, and the codes that turn a visit into a claim. AI clinical documentation moves the first draft to a model and leaves the judgment with the clinician.

The hard part is not the prompt. It is that each of those jobs wants a different model, and that every one of them touches data you cannot send just anywhere. LLM Gateway gives you one endpoint for the models and one place to decide which providers are allowed.

Match the model to the job

Job What it needs Kind of model
Visit note from a transcript Low latency, low cost, consistent format Small, fast model
Summary of a long chart Large context window, careful reasoning Frontier reasoning model
Coding suggestions from a note Structured output, a low error rate Mid-size model with JSON
Reply to a patient message Plain language, low cost Small, fast model
Inference inside your environment Open weights you can host Open-weight model

The healthcare models page lists models for each row with live prices and context sizes.

Ask for structure, not prose

For coding suggestions and field extraction, request JSON that matches a schema so the result goes straight into your system. The example uses a synthetic note.

1curl https://api.llmgateway.io/v1/chat/completions \2  -H "Authorization: Bearer $LLM_GATEWAY_API_KEY" \3  -H "Content-Type: application/json" \4  -d '{5    "model": "gpt-5.4-mini",6    "messages": [7      {"role": "system", "content": "Extract the fields from the visit note. Use null when the note does not state a value. Do not infer."},8      {"role": "user", "content": "Synthetic note: 54-year-old with two weeks of exertional chest tightness, relieved by rest. BP 148/92. Plan: ECG today, start low-dose aspirin, cardiology referral."}9    ],10    "response_format": {11      "type": "json_schema",12      "json_schema": {13        "name": "visit_fields",14        "schema": {15          "type": "object",16          "properties": {17            "chief_complaint": {"type": ["string", "null"]},18            "blood_pressure": {"type": ["string", "null"]},19            "orders": {"type": "array", "items": {"type": "string"}},20            "referrals": {"type": "array", "items": {"type": "string"}}21          },22          "required": ["chief_complaint", "blood_pressure", "orders", "referrals"]23        }24      }25    }26  }'

Decide where the text may go

  • Check the provider. Each provider page shows whether the provider trains on API data, logs prompts, how long it retains them, and the certifications it holds or declares, including HIPAA where the provider states it.
  • Enforce the decision. Provider compliance policies, on the Enterprise plan, restrict routing by certification, data policy, headquarters country, and provider allow and deny lists. When no provider qualifies, the request is rejected. HIPAA status is shown for your review and is not a routing requirement, so use the provider allow list to limit routing to the providers you have approved.
  • Redact first. Guardrails, on the Enterprise plan, can detect and redact personal data before a request leaves.
  • Know what is stored. By default the gateway stores request metadata, not prompts or completions; full payload retention is an Enterprise setting. Responses API state is kept for 30 days unless you send store: false. See data retention.
  • Self-host. The AGPLv3 core runs in your own infrastructure, so the gateway and its logs stay there. A request still goes to the provider that serves the model, so pair it with a model you host when data must not leave.

Keep the clinician in the loop

A draft is a draft. Show the source next to the generated text, require a sign-off, and measure how often drafts are edited. LLM Gateway is infrastructure, not a medical device and not a compliance certification for your product. See the healthcare use case for what the gateway does and does not cover.

Frequently asked questions

What is AI clinical documentation?

It is the use of language models to draft or structure the written record of care: turning a visit transcript into a note, summarizing a long chart before an appointment, suggesting billing codes from a note, or drafting a reply to a patient message. A clinician reviews and signs the result.

Which model should I use for clinical notes?

Use a small, fast model for routine note drafts and patient messages, where volume is high and latency matters, and a frontier reasoning model with a large context window for summarizing long records. The healthcare models page lists both with live prices and context sizes.

Can I send protected health information through LLM Gateway?

Not without talking to us first. LLM Gateway holds a SOC 2 Type II report and does not by itself make an application HIPAA compliant. You need the right agreements with us and with every model provider that receives the data. Provider pages show each provider's declared HIPAA status, and the open-source core can be self-hosted, together with a model you run yourself, when data must stay in your environment.

Can the output be trusted without review?

No. Models omit details and state things that were never said. Treat every draft as a draft: show the source next to it, keep a clinician sign-off step, and log what was generated.

One API for every model

Route across 200+ models with fallback, caching and per-request cost analytics. Start free in minutes.