On-prem AI vs cloud AI APIs: a cost model for a clinic

The ScribeMD Team ·

For a clinic that wants to run its own AI, a cloud API costs a few cents to a few dimes per visit, and an on-premise server costs a fixed amount up front. With public list prices checked on December 1, 2026, a 10-clinician practice spends roughly $5,000 to $7,200 a year on raw cloud API calls to transcribe and draft its notes. A $9,990 on-premise box pays for itself in about two years at that volume. A two-clinician practice spends about $1,000 to $1,400 a year, and for them the cloud stays cheaper for a long time. This page shows the arithmetic so you can redo it with your own numbers.

Who this cost model is for

This is for practices that are deciding where their AI runs: buying API access from a cloud model provider and building or buying software on top of it, or running open models on a machine they own. It compares the raw model cost only. It is not a comparison of finished scribe subscriptions, which bundle the model cost with software, support and the vendor's margin.

If you are a single doctor, you may not need either. ScribeMD Desktop in Local only mode runs the speech model and the note model on your own computer, and it is free for individual doctors.

How cloud AI APIs charge

Cloud language models bill per token, with separate prices for the text you send (input) and the text the model writes (output). Output costs several times more per token than input. OpenAI's rule of thumb for English is that 1 token is about 4 characters and that "100 tokens are approximately 75 words" (OpenAI, Understanding and counting tokens). The same page warns that reasoning models use internal tokens that "count toward output usage and are billed as output tokens", so a short note can cost more than its length suggests.

Transcription is billed per minute of audio. Prices on December 1, 2026:

  • Speech to text. OpenAI lists gpt-4o-transcribe and Whisper at an estimated $0.006 per minute, and gpt-transcribe at $0.0045 per minute (OpenAI API pricing).
  • Mid-tier note models. OpenAI's gpt-6.1-sol is $2.00 per million input tokens and $10.00 per million output tokens. Anthropic's Claude Sonnet 5.5 is $2 and $10 (Anthropic, Claude pricing).
  • Top-tier note models. OpenAI's gpt-6.2-astra is $8.00 input and $40.00 output. Claude Opus 5.5 is $4 and $20.

Two details change the math. Anthropic notes that Claude 4.7 and later models use a newer tokenizer that "produces approximately 30% more tokens for the same text", so equal per-token prices don't mean equal bills. OpenAI charges a 10% uplift on regional processing (data residency) endpoints for models released on or after March 5, 2026. Prices change often, so check both pages on the day you decide.

A worked example: tokens per visit

These are assumptions, not measurements. Replace them with numbers from your own visits.

  1. Audio. A 15-minute visit. At $0.006 per minute, transcription costs $0.09.
  2. Transcript. About 2,000 words of conversation, which is about 2,700 tokens at 75 words per 100 tokens.
  3. Prompt. Add about 1,300 tokens of instructions and note template. Input is about 4,000 tokens per visit.
  4. Note. A 500-word SOAP note is about 700 output tokens.

With a mid-tier model at $2 and $10 per million tokens, the note costs 4,000 x $2 / 1,000,000 plus 700 x $10 / 1,000,000, which is $0.008 plus $0.007, or about $0.015. With a top-tier model at $8 and $40, it is about $0.06. Add the $0.09 for transcription and a visit costs about $0.105 with the mid-tier model and $0.15 with the top-tier one. In this example, transcription is most of the bill.

Scaling it to a year

Assume 20 visits per clinician per day and 240 clinic days a year.

  • 2 clinicians, 9,600 visits a year. About $1,000 (mid-tier) to $1,440 (top-tier) a year. About $5,000 to $7,200 over five years.
  • 10 clinicians, 48,000 visits a year. About $5,040 to $7,200 a year. About $25,000 to $36,000 over five years.
  • 40 clinicians, 192,000 visits a year. About $20,000 to $28,800 a year. About $100,000 to $144,000 over five years.

The cloud bill grows with every visit and with every new use. If the same clinic also wants patient letters, inbox summaries or a model staff can ask questions, each of those adds tokens to the bill.

What on-premise costs

An on-premise server is a fixed purchase plus running costs. We use our own Cortex as the example because we know its list prices. Cortex is priced by the number of clinicians who will use it, in US dollars before taxes and shipping: $9,990 for 1 to 50 clinicians, $19,900 for 51 to 200, $34,000 for 201 to 1,000 and $49,000 above 1,000. It runs the ScribeMD scribe and open-weight models on the box, so there is no per-visit API bill.

Electricity is small. Cortex uses a 240 W external power supply. Even if it drew the full 240 W every hour of the year, that is about 2,100 kWh. At the September 2026 US average commercial price of 14.27 cents per kWh (EIA, Electric Power Monthly, Table 5.6.A), the ceiling is about $300 a year. Real use will be lower, and your state's rate may differ a lot from the average.

Against the example above:

  • 2 clinicians. $9,990 plus up to $1,500 of power over five years, against $5,000 to $7,200 of cloud calls. The cloud is cheaper on model cost alone.
  • 10 clinicians. The box costs about two years of cloud calls. Over five years, roughly $11,500 against $25,000 to $36,000.
  • 40 clinicians. Still in the same $9,990 tier. The box costs about half a year of cloud calls.

Costs the spreadsheet leaves out

Raw model cost is rarely the deciding number. Put these next to it before you choose.

On the cloud side

  • A business associate agreement. HHS says a cloud provider that creates, receives, maintains or transmits ePHI for you is a business associate, even if it only holds encrypted data and has no key (HHS, Guidance on HIPAA and Cloud Computing). Confirm the API provider will sign one for the endpoint and model you plan to use.
  • Software. An API returns text. Someone still builds or buys the recording app, the templates, the review screen and the EHR step, and maintains them.
  • Price and model changes. Providers retire models and change prices. Budget for re-testing note quality when your model changes.
  • Retries and long visits. A 45-minute visit costs three times the audio of a 15-minute one. Failed calls that are retried are billed again.

On the on-premise side

  • Someone to look after it. Updates, access control, backups and monitoring need a named owner. Our on-premise server checklist lists what to settle.
  • A fallback. One box is one point of failure. Plan what clinicians do when it is down.
  • Licences. Open-weight models come with different licence terms. See what the Qwen, DeepSeek, Kimi and Llama licences say.
  • Recurring fees. Ask any vendor, us included, what support or software costs follow the purchase price, and add them to the five-year column.

Redo it with your own numbers

  1. Count visits per year: clinicians x visits per day x clinic days.
  2. Measure a few real visits: minutes of audio, words of transcript, words of note.
  3. Turn words into tokens at about 100 tokens per 75 words, and add your prompt and template.
  4. Price transcription per minute and the note per million tokens from the providers' pricing pages, and write down the date.
  5. Multiply out one year and five years, and add the uses beyond the note that you expect.
  6. Put the server's list price, power at your local rate and any recurring fees next to it.
  7. Add the costs that aren't on either price list: the BAA, the software, the person who maintains it.

If the cloud wins on your numbers, that is a fine answer. If the box wins and you want to talk through sizing, start with the Cortex page.