Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Best speech to text api for ai medical ambient scribes 2026
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Best speech-to-text API for AI medical ambient scribes (2026)

Source: AssemblyAI•December 4, 2026 at 12:38 AM

Best speech-to-text API for AI medical ambient scribes (2026)

What an ambient clinical documentation tool needs from its speech-to-text API: medication names, far-field audio, diarization and a signed BAA. Compared.

For ambient clinical capture, the API you want is the one that gets medication names right, attributes words to the right speaker when people talk over each other, holds up when the microphone is across the room, and comes with a Business Associate Addendum (BAA) you can actually sign. On those four criteria: Universal-3.5 Pro with Medical Mode posts a 3.2% Missed Entity Rate; AssemblyAI-STT-3.7 has the lowest diarization error rate of the pre-recorded APIs we measured (10.7%, ahead of ElevenLabs Scribe v3 at 12.0%) and cuts cpWER 20% compared with Universal-3.5 Pro; the voice-agent streaming model takes voice_focus: "far-field" for room audio; and paid accounts can sign AssemblyAI's BAA self-serve.

The rest of this post explains why those are the four criteria, how the major APIs compare on them, and which AssemblyAI surface belongs in which part of a clinical workflow.

Building with a coding agent? Connect the docs MCP server with claude mcp add assemblyai-docs --transport http https://assemblyai.com/docs/mcp, or start from the end-to-end medical scribe example in the docs, which goes from a recorded visit to a clinical note.

What an ambient scribe demands that dictation doesn't

Dictation and ambient capture look like the same problem, and they aren't. Dictation is one known speaker, close to the microphone, speaking deliberately into a device. Ambient capture is two or more speakers at unpredictable distances in an untreated room, talking over each other, with clinical meaning spread across the whole conversation.

That difference creates four hard requirements that dictation never imposes.

1. Speaker attribution that survives crosstalk

A note built from an encounter is wrong if the patient's symptom report gets attributed to the clinician. The metric for this is cpWER (concatenated minimum-permutation word error rate). It scores transcription and speaker diarization together, so putting the right words on the wrong speaker costs you. That's the failure that breaks a scribe.

On pre-recorded audio, AssemblyAI-STT-3.7 has the lowest diarization error rate of the pre-recorded APIs we measured across six English conversation datasets: 10.7%, ahead of ElevenLabs Scribe v3 at 12.0%, Speechmatics Enhanced at 16.2%, AWS Transcribe at 16.9% and Deepgram Nova-3 at 17.4%. Compared with Universal-3.5 Pro at launch, cpWER is down 20% and speaker-count errors are down 63%. Treat published numbers as a shortlist and run that shortlist on your own encounter audio.

On the streaming path, AssemblyAI-STT-3.7-Realtime is the model built for ambient transcription with realtime speaker labels. In the launch benchmark it had the lowest live diarization error rate of every realtime provider measured on telephone calls and on multi-party meetings recorded on a single distant microphone, ahead of ElevenLabs Scribe v3 Live and Meta Muse Voice Transcribe. You can cap the session at up to 10 speakers with max_speakers, and every Turn carries a speaker_label. The server can also send a SpeakerRevision message that corrects labels on earlier turns, which matters for the family-member-in-the-room case, where a third voice appears thirty seconds in.

2. Far-field audio

A clinician wearing a headset and a microphone on a desk two meters away are different acoustic problems. Close to the mouth, the voice dominates the signal. Across the room, the voice arrives weaker and mixed with reflections off hard surfaces, HVAC hum and whatever is happening in the corridor, and the patient usually sits farther from the mic than the clinician.

AssemblyAI exposes this as an explicit parameter. Voice Focus takes "near-field" for headsets and phones and "far-field" for rooms, kiosks and laptop mics. Note the hyphens; the underscored form is rejected. Strength is set with voice_focus_threshold from 0.0 to 1.0, defaulting to 0.5. Voice Focus is a $0.10/hr streaming add-on on AssemblyAI-STT-3.7-Realtime-Agent and Universal-3.6 Pro Realtime. It isn't available on AssemblyAI-STT-3.7-Realtime, the ambient-transcription model used in the code below.

A room-mic configuration for an exam room looks like this:

  • voice_focus: "far-field" for a tablet, phone or puck sitting on the desk or counter, on a model that supports Voice Focus.
  • speaker_labels: true, with max_speakers set a little above the number of people you expect (3 or 4 covers clinician, patient and a family member).
  • min_turn_silence: 800 and a longer max_turn_silence. The streaming Medical Mode docs give 3600 ms as the conservative default for clinical audio and about 2000 ms for real-time scribes, because clinicians pause mid-sentence to check a chart, and default voice-agent settings would split those pauses into separate turns.

One caution: Voice Focus works by suppressing audio that isn't the main speaker. That's what you want for corridor noise and a television, but in a multi-party visit the patient or a family member can sit farther from the mic than the clinician. A/B test it on your own exam-room recordings, and check that quieter participants still make it into the transcript, before you turn it on for every session.

3. Medication-name accuracy

Word error rate is the wrong scoreboard for clinical audio, because it weights "the" and "metoprolol" identically. The metric that predicts whether a note is safe to sign is Missed Entity Rate: how often a clinically significant entity fails to appear at all. The MER vs WER explainer covers the metric in depth.

With Medical Mode, Universal-3.5 Pro posts a 3.2% MER, with roughly 20% fewer missed medical entities and about 87% fewer medical entity errors than the base model. The same table on the medical transcription use case page lists Speechmatics Enhanced Medical at 3.6%, Deepgram Nova-3 Medical at 4.7%, AWS Transcribe Medical at 8.7% and Google Medical Conversation at 24.4%.

4. Context about the encounter

An ambient scribe knows things the model doesn't: the specialty, the reason for the visit, the patient's active medication list. Passing that in is a second accuracy lever that stacks with Medical Mode.

On a benchmark of 20,000 real voice-agent calls in the prompting and keyterms docs, detailed context cut medical-term entity errors by 43% and scenario-level context by 24%. In internal testing, feeding a patient's prior-visit note cut missed medical terms by 31%.

How Medical Mode works

Medical Mode is a correction pass that targets medication names, both generic and brand-name. The speech model transcribes the audio first; then a correction step reads the transcript with its clinical context and fixes medication names the model heard but spelled wrong. Dosages, anatomy, tests and procedures are mostly numbers, units or everyday words, and Medical Mode isn't the tool for them. You switch it on with one parameter, domain: "medical-v1", on pre-recorded and streaming audio, in English, Spanish, German and French.

It runs on AssemblyAI-STT-3.7 and Universal-2 for pre-recorded audio, and on AssemblyAI-STT-3.7-Realtime, AssemblyAI-STT-3.7-Realtime-Agent and Universal-3.6 Pro Realtime for streaming. See the streaming Medical Mode docs for setup.

AssemblyAI's Medical Mode research puts numbers on that scope. Pooled across four English clinical sets, Medical Mode removed 30% of drug-name misses in batch (55 of 182, measured on Universal-3.5 Pro) and 16% in streaming (measured on Universal-3.6 Pro Realtime). On Spanish clinical conversations the drug-name reductions were 62% in batch and 49% in streaming. Word error rate moved by 0.1 point or less on every English set, so the correction fixes medication names without disturbing the rest of the transcript.

Ambient scribes often run in real time, so the streaming results matter too. These are averages over nine sets from the same research post; latency is p90 time-to-final, and the AssemblyAI rows were measured on Universal-3.6 Pro Realtime.

Medical Mode adds about 0.65 s at p90. Among systems that finalize within about a second, AssemblyAI with Medical Mode has the lowest error rates. Speechmatics and Soniox finalize at about 4.7 to 5.2 s.

Two things to design around:

  • It corrects misspellings. If the speech model writes a wrong but valid word, the correction pass may not catch it. Contextual prompting and keyterms work at the model input, so they cover a different part of the problem.
  • Keep keyterm lists tight. Keyterms work alongside Medical Mode. On long recordings, keep the list to about 200 terms or fewer; very long lists start adding false insertions.

Medical Mode is a $0.15/hr add-on on top of the base model rate.

Start A Real Ambient Pilot

Turn on Medical Mode with one parameter and run your own exam-room recordings through pre-recorded and streaming transcription. No sales call needed to get started.

Which AssemblyAI surface for which clinical workflow

Because dictation and ambient capture are different problems, they route to different endpoints. This is the part most build decisions get wrong, so here it is explicitly.

Ambient capture: realtime, async, or both

Most production scribes run both paths. Streaming drives the live view the clinician watches during the encounter. Async re-processes the full recording afterward for the note that gets signed, because a model that sees the whole file makes better diarization and entity decisions than one working turn by turn.

The post-encounter pass on AssemblyAI-STT-3.7 takes speech_models (plural) and domain in the transcription config:

import os from assemblyai.prerecorded.v2 import Transcriber, TranscriptionConfig config = TranscriptionConfig( speech_models=["assemblyai-stt-3-7", "universal-2"], domain="medical-v1", speaker_labels=True, keyterms_prompt=["metoprolol", "lisinopril", "atorvastatin"], ) transcriber = Transcriber(api_key=os.environ["ASSEMBLYAI_API_KEY"]) transcript = transcriber.transcribe("encounter.wav", config) if transcript.status == "error": raise RuntimeError(transcript.error) for utterance in transcript.utterances: print(f"Speaker {utterance.speaker}: {utterance.text}")

The live pass runs on AssemblyAI-STT-3.7-Realtime. Streaming takes speech_model (singular) with the same domain, plus the turn-silence settings from earlier. This example replays a 16 kHz mono WAV in 100 ms chunks so you can test it without a microphone; in production you'd stream from the device instead.

import os import time import wave from assemblyai.streaming.v3 import ( RealTimeError, RealTimeEvents, RealTimeParameters, RealTimeTranscriber, RealTimeTranscriberOptions, SpeakerRevisionEvent, TurnEvent, ) def on_turn(client: RealTimeTranscriber, event: TurnEvent): if event.end_of_turn and event.transcript: print(f"[{event.speaker_label}] {event.transcript}") def on_revision(client: RealTimeTranscriber, event: SpeakerRevisionEvent): # Corrected speaker labels for earlier turns, matched by turn_order. for revision in event.revisions: print(f"turn {revision.turn_order} -> {revision.speaker_label}") def on_error(client: RealTimeTranscriber, error: RealTimeError): print(f"Error: {error}") client = RealTimeTranscriber( RealTimeTranscriberOptions(terminate_timeout=30.0), api_key=os.environ["ASSEMBLYAI_API_KEY"], ) client.on(RealTimeEvents.Turn, on_turn) client.on(RealTimeEvents.SpeakerRevision, on_revision) client.on(RealTimeEvents.Error, on_error) client.connect( RealTimeParameters( sample_rate=16000, speech_model="assemblyai-stt-3-7-realtime", domain="medical-v1", speaker_labels=True, min_turn_silence=800, max_turn_silence=2000, ) ) # Replay a 16 kHz, mono, 16-bit WAV in 100 ms chunks, paced like live audio. with wave.open("encounter.wav", "rb") as wav: frames_per_chunk = wav.getframerate() // 10 while chunk := wav.readframes(frames_per_chunk): client.stream(chunk) time.sleep(0.1) # Terminate flushes the last turn and waits for the Termination event. client.disconnect(terminate=True)

Register handlers with the RealTimeEvents enum. Passing the TurnEvent class to client.on() registers nothing, and the script runs silently.

Ambient clinical documentation with real-time SOAP notes

The streaming pass above is the input to a live SOAP note. Each finalized turn carries its speaker label and Medical Mode-corrected medication names, so an LLM can draft the Subjective and Objective sections while the visit is still running, and the async pass replaces the draft with the signed version afterward. The step-by-step build, including the note-generation prompts, is in the guide to building an AI medical scribe.

Front-end dictation: the Dictation API

When a clinician is dictating into a field, such as a chart note, an order or a message to a colleague, you don't want a verbatim transcript. Speakers restate and self-correct, and what was said isn't what anyone wants to send. The Dictation API runs speech-to-text and an LLM cleanup pass in one call and returns both: text is the verbatim transcript and is never altered, and llm_response is the cleaned version. It runs on Universal-3.6 Pro across 32 languages, and typical short clips return in under a second.

import assemblyai as aai aai.settings.api_key = "<YOUR_API_KEY>" config = aai.DictationConfig( stt_prompt="A doctor dictating a patient visit note.", keyterms_prompt=["amoxicillin", "lisinopril", "metoprolol"], llm_instruction="Remove filler words and rewrite as a concise clinical chart note.", ) result = aai.DictationTranscriber().transcribe_live("clip.wav", config) print(result.text) # verbatim transcript, never altered print(result.final_text) # cleaned text, falling back to the transcript

Two constraints to design around:

  • 120 seconds of audio per live call. A routine SOAP note is about 250–400 words, two to three minutes of speech, so the cap covers short dictations and sits right at the edge of a typical note. Route longer notes to pre-recorded transcription.
  • No Medical Mode. domain: "medical-v1" runs on the pre-recorded and streaming APIs only. There's no domain parameter on the Dictation API, and none on the Sync API either. The Dictation API still takes keyterms_prompt for drug names, which covers a lot of clinical vocabulary in practice, but it's a different capability.

One more thing to know before you pick: clinicians are trained to speak punctuation ("Medications colon aspirin comma naproxen period"). AssemblyAI's models apply punctuation automatically and handle spoken command words inconsistently, and there's no spoken-form mode today. Deepgram has a dictation parameter that converts spoken commands into punctuation, English only. The documented approach on the AssemblyAI side is an LLM pass over each finalized turn through the LLM Gateway to interpret and strip command words, which is the pattern in the medical scribe best practices guide.

Ambient scribes beyond human medicine

Veterinary practices have the same documentation problem with a different vocabulary, and a human-medicine model gets it wrong in a specific way. It doesn't just misspell veterinary drugs; it swaps them for real human drugs that sound similar. A base model can hear Zydax and write Xanax, and nothing in the sentence looks wrong.

Vet Mode, now in beta, applies the same correction approach to veterinary audio. You enable it with domain: "veterinary-v1" on pre-recorded audio (AssemblyAI-STT-3.7 and Universal-2) and on streaming (AssemblyAI-STT-3.7-Realtime, AssemblyAI-STT-3.7-Realtime-Agent and Universal-3.6 Pro Realtime). It's built for terms like Cerenia, Heartgard and trilostane. For how vet and legal scribes differ from clinical ones, see ambient scribes for veterinary and legal.

How the major speech-to-text APIs compare for ambient capture

Below is what each vendor publishes or what a published benchmark shows. Each row names its source; vendors not in a given benchmark are marked as such rather than estimated. Check each vendor's own documentation before you commit.

Three things to read out of that table.

First, the gaps are wider on entities than on words. On the English voice-agent benchmark from the AssemblyAI-STT-3.7-Realtime-Agent research, AssemblyAI-STT-3.7-Realtime-Agent had the lowest word error rate and the lowest entity error rate of the 26 streaming models we ran. The word error rate gap to Deepgram Nova-3 is about 4.1 points, while the entity error gap is about 11.9. Those entity figures cover general conversational entities (names, phone numbers, emails, dates, numbers), not clinical terms, but the medical tables show the same pattern: medication-name accuracy separates providers far more than WER does.

Second, on diarization error rate AssemblyAI-STT-3.7 has the lowest of the pre-recorded APIs we measured. If speaker attribution decides your build, test your shortlist on your own exam-room audio.

Third, a BAA is available from most vendors in the table, but the terms differ. Deepgram and ElevenLabs sign on Enterprise plans, the cloud providers cover speech services under their account-level BAAs, and AssemblyAI's paid accounts sign from the dashboard. Who can sign, on which plan and how fast are the questions that move a pilot's start date.

What teams building scribes run into

The patterns that recur across teams building in this space:

  • The room, not the model, is the hard part. Exam rooms have hard surfaces, HVAC noise and a microphone nobody positions correctly. Mic placement and a far-field Voice Focus test are the first things to try when production accuracy trails your bench tests.
  • Diarization errors surface as clinical errors. A misattributed symptom report is worse than a misspelled word, and a WER-based eval won't catch it. Evaluate with cpWER, and use the async pass's speaker labels for the signed note.
  • Context is free accuracy. If your product already knows the specialty and the medication list, passing them in is the cheapest improvement available: 43% fewer medical-term entity errors on the 20,000-call benchmark.
  • The signed note isn't the live note. Re-processing the recording asynchronously after the encounter produces a better document than the streaming transcript alone.

If you're still weighing whether to build at all, the roundup of the best ambient AI scribes covers the products you'd otherwise buy, and the build vs buy guide walks through the trade-offs.

Test It On Your Own Exam-Room Audio

Run Medical Mode against a real encounter recording without any integration work, and see what diarization does to your own room audio.

Try playground

PHI, BAAs, and what you can and can't say

AssemblyAI is a business associate under HIPAA, not a covered entity. The legal-approved description:

AssemblyAI enables covered entities and their business associates subject to HIPAA to use the AssemblyAI services to process protected health information (PHI). AssemblyAI is considered a business associate under HIPAA, and we offer a standard Business Associate Addendum (BAA) that is required under HIPAA to ensure that AssemblyAI appropriately safeguards PHI.

Paid accounts can review and sign the BAA self-serve, at no additional cost, from the Data Controls page in the dashboard; only Owner or Admin members can sign. See can you sign a BAA and the Business Associate Addendum. Once the BAA is signed, files submitted under it aren't used for model training. Supporting controls include PII redaction, SOC 2 Type 2, ISO 27001:2022 and PCI DSS v4.0. Medical Mode doesn't change existing data handling or retention policies.

Deployment options for PHI

  • Hosted API with a signed BAA. The default for most scribes, and the only option with Medical Mode. Processing runs in the US by default.
  • EU data residency. The EU endpoints keep processing in the EU, at the same price.
  • Self-hosted. For audio that can't leave your network, the speech model runs on Amazon SageMaker in your AWS account or with Docker on your own GPUs. Medical Mode isn't available self-hosted. The SageMaker endpoint also refuses domain, redact_pii, speaker_labels and voice_focus, so a self-hosted scribe gives up medication-name correction, PII redaction and speaker labels unless it builds them itself.

The transcription layer is the cheap part

The speech layer decides whether a note can be trusted, but it's rarely where the budget goes. The expensive parts of an ambient scribe are EHR write-back, consent flows, specialty templates and a review UI clinicians will tolerate. So pick the API on the four criteria at the top of this post, test it on your hardest room, and spend the engineering time on the parts your clinicians actually see.

Talk Through A Clinical Deployment

Walk through the BAA, EU data residency and self-hosted options with someone who has helped teams ship ambient scribes.

Talk to AI expert

Frequently Asked Questions (FAQs)

Does AssemblyAI sign a Business Associate Addendum (BAA)?

AssemblyAI is considered a business associate under HIPAA and offers a standard Business Associate Addendum (BAA) for customers processing PHI. Paid accounts can review and sign the BAA self-serve from the Data Controls page in the dashboard, at no additional cost and without a sales call. The BAA applies to the full AssemblyAI product, except some LLM Gateway providers.

What is the best speech-to-text API for an ambient AI scribe?

The best API for an ambient scribe has the lowest miss rate on medication names and the strongest speaker attribution; general word error rate is a weaker guide. Universal-3.5 Pro with Medical Mode posts a 3.2% Missed Entity Rate, and AssemblyAI-STT-3.7 has the lowest diarization error rate of the pre-recorded APIs AssemblyAI measured: 10.7%, ahead of ElevenLabs Scribe v3 at 12.0%. Run your own encounter audio through a shortlist before deciding.

Can an ambient scribe generate SOAP notes in real time?

Yes. Stream the encounter through AssemblyAI-STT-3.7-Realtime with domain: "medical-v1" and speaker_labels: true, and pass each finalized, speaker-labeled turn to an LLM that drafts the SOAP sections as the visit runs. Most teams then re-process the recording with AssemblyAI-STT-3.7 after the visit and generate the signed note from that transcript.

Does Medical Mode work in real time, and on which models?

Yes. Medical Mode runs on streaming audio with AssemblyAI-STT-3.7-Realtime, AssemblyAI-STT-3.7-Realtime-Agent and Universal-3.6 Pro Realtime, and on pre-recorded audio with AssemblyAI-STT-3.7 and Universal-2, using the same domain: "medical-v1" parameter. It corrects medication names in English, Spanish, German and French, and it isn't available on the Sync or Dictation APIs.

Can I run Medical Mode self-hosted?

No. Medical Mode runs on the hosted API only, and the self-hosted SageMaker endpoint refuses the domain parameter along with PII redaction, speaker labels and Voice Focus. Teams that need Medical Mode for PHI use the hosted API with a signed BAA, optionally on the EU endpoints.

How much does the transcription layer of an ambient scribe cost?

Medical Mode is a $0.15/hr add-on on top of the base model rate: AssemblyAI-STT-3.7 at $0.21/hr for pre-recorded audio and AssemblyAI-STT-3.7-Realtime at $0.30/hr for streaming. Running both paths with Medical Mode comes to $0.81 per hour of audio. Diarization, Voice Focus and other add-ons are itemized on the pricing page.

← All articles

What this article says

More in AI & Machine Learning

All →
Healthcare voice agents: how to build one with a signed BAA
AssemblyAI

Healthcare voice agents: how to build one with a signed BAA

The voice agent launch runbook: ramp, rollback, and on-call
AssemblyAI

The voice agent launch runbook: ramp, rollback, and on-call

What is AI sentiment analysis? How it works, types, and use cases
ElevenLabs

What is AI sentiment analysis? How it works, types, and use cases

Hugging Face background removal output formats (2027)
Bria AI

Hugging Face background removal output formats (2027)

Measure background removal accuracy with IoU and MAE (2027)
Bria AI

Measure background removal accuracy with IoU and MAE (2027)

SAM 2 vs BiRefNet vs RMBG 3.0: background removal (2027)
Bria AI

SAM 2 vs BiRefNet vs RMBG 3.0: background removal (2027)

More from AssemblyAI

Healthcare voice agents: how to build one with a signed BAA
AssemblyAI

Healthcare voice agents: how to build one with a signed BAA

The voice agent launch runbook: ramp, rollback, and on-call
AssemblyAI

The voice agent launch runbook: ramp, rollback, and on-call

Best voice agent API in 2026: 6 options compared for developers
AssemblyAI

Best voice agent API in 2026: 6 options compared for developers

Multilingual voice agents: building agents that speak to anyone
AssemblyAI

Multilingual voice agents: building agents that speak to anyone

The real cost of self-hosting speech-to-text
AssemblyAI

The real cost of self-hosting speech-to-text

Real-time speech-to-text on Amazon SageMaker AI
AssemblyAI

Real-time speech-to-text on Amazon SageMaker AI