
Key takeaways
• Diarization answers “who spoke when,” not “what was said.” It splits an audio file into speaker-labelled segments. Pair it with speech-to-text and the transcript also records who talked. Transcription is a separate job, and most APIs bill diarization as an add-on.
• Accuracy is measured in DER, and the number is only honest with its setup. Diarization Error Rate adds missed speech, false alarms, and speaker confusion. A vendor quoting 5% with a generous collar and no overlap counted can't be compared with pyannote's strict 11–25%. Always ask how it was scored.
• The managed field is close on price. AssemblyAI runs about $0.17–$0.23 an audio-hour with its $0.02 diarization add-on, Deepgram Nova-3 batch with diarization about $0.41, Google Chirp $0.18–$0.96 depending on tier, and Speechmatics includes diarization at no extra charge (vendor pricing pages, November 2026). Let accuracy on your own audio decide it, since the sticker prices sit so near each other.
• Open-source pyannote is the free baseline everyone benchmarks against. Its Community-1 pipeline (pyannote.audio 4, CC-BY-4.0 weights, about 4.75 million Hugging Face downloads in the month to November 2026) self-hosts for roughly $0.08–$0.16 of raw GPU per audio-hour. The bigger bill is the engineering and ops on top.
• OpenAI's only diarizing model is on a clock. OpenAI will remove gpt-4o-transcribe-diarize (and whisper-1) from its API on February 26, 2027, per its deprecations page. If your speaker labels depend on it, start planning the migration now.
• We build the whole speaker-attributed pipeline. Fora Soft ships meeting-intelligence and audio AI systems, and we'll tell you when calling AssemblyAI makes more sense than self-hosting a model.
Updated November 2026: AssemblyAI’s STT-3.7 and its new diarizer, Deepgram’s new $0.0048-a-minute Nova-3 rate, Speechmatics and ElevenLabs Scribe v3 added, pyannoteAI Precision-3, plus new sections on meeting-recording APIs, real-time diarization for voice agents and the exact API parameter that turns speaker labels on.
Why Fora Soft wrote this comparison
Search “speaker diarization API” and the first page is vendor docs plus one comparison a vendor wrote about itself. That helps if you already know which box you're shopping in. It doesn't help if you're still deciding whether to pay AssemblyAI, wire up Deepgram, or self-host pyannote and own the GPUs. We kept running into that gap on client projects, so we wrote the plain version: how diarization works, how to read an accuracy claim without getting fooled, what each option costs, and when to build versus buy.
Fora Soft has built real-time audio, video, and AI systems since 2005: 250+ projects, 50+ people, all in this domain. Diarization comes up in most of our meeting-intelligence and speech-to-text development work. Once two people share a call, “who said the action item” matters as much as the words. We've shipped it on top of commercial APIs and as self-hosted models, and we've paid for mistakes both ways.
This is a build-and-buy guide, so expect no sales pitch. We walk through the pipeline, the DER metric that vendors quote loosely, a head-to-head of the main APIs with November 2026 prices, the open-source lane, the streaming problem, and the cost math. It ends with a five-question test for your own stack. If you'd rather skip to a scoped estimate, our AI integration team does this work.
What speaker diarization actually is
Speaker diarization is the task of partitioning an audio stream by speaker. It cuts the timeline into segments and labels each one “Speaker 1,” “Speaker 2,” and so on, without being told in advance who they are or even how many there are. The output is a set of time-stamped, speaker-tagged spans. Research tools write it as an RTTM file; an API returns it as a speaker field on each word or utterance.
The key phrase is “without being told.” Diarization works out the speaker structure from the audio alone. It doesn't know that Speaker 1 is Dr. Alvarez. It only knows that the same voice comes back at 0:12, 1:40, and 3:05 and groups them. Attaching real names is a separate, later step. Plenty of teams trip over this, so we'll be precise about the neighbouring tasks.
Diarization on its own is rarely the goal. Most people want a speaker-attributed transcript: the words, plus who said each one. That takes diarization and speech-to-text working together, and the blurry line between them is why this decision gets confusing. So we'll separate them first.
Diarization vs transcription, speaker recognition, and channels
Diarization vs speech-to-text (ASR). ASR turns audio into words. Diarization decides who spoke each stretch. The two are independent: you can transcribe with no idea who's talking, or diarize a recording you never transcribe. A speaker-attributed transcript needs both, run together so speaker turns and words line up on one timeline. Diarization works on the same audio your speech recognition reads, and noisy audio hurts both.
Diarization vs speaker recognition. Recognition (or speaker identification) matches a voice to a known, enrolled person. It needs a voiceprint on file and answers “is this Alice?” Diarization has no enrolment and no names; it answers “how many distinct voices, and which segments belong together?” Many products chain the two: diarize first to find the speakers, then run recognition to put names on the anonymous labels.
Diarization vs channels. This is the cheapest win in the field. If each speaker is already recorded on a separate audio channel, as in a call center where agent and customer sit on different legs, you don't need diarization at all. Transcribe each channel and label it by channel. Diarization pays off only when several people share one mixed track, which is the usual case in meetings, interviews, podcasts, and courtroom audio.
How diarization works: the pipeline and the end-to-end shift
The classic approach is a three-stage pipeline. Voice activity detection (VAD) drops the silence and keeps the speech. A speaker-embedding model turns each short slice of speech into a vector, a numeric fingerprint of the voice historically called an x-vector or d-vector (our audio-for-video glossary defines the terms). A clustering step then groups those vectors, so slices with close fingerprints go to the same person. Count the clusters and you have your speakers. pyannote's modern pipeline keeps this shape but replaces the front end with a neural segmentation model that also handles brief overlaps.

Figure 1. The modular diarization pipeline (VAD, embedding, clustering) and the end-to-end neural alternative. Add speech-to-text on the same timeline and you get a speaker-attributed transcript.
The modular pipeline is interpretable and easy to debug, but it has a known weak spot: overlapping speech. When two people talk at once, a clustering step that assumes one speaker per slice has to pick one, and the other voice is lost. That's why the field moved toward end-to-end neural diarization, where a single network learns to emit per-frame speaker activity for several speakers at once. NVIDIA's Sortformer and the wider EEND family belong here. They handle overlap natively, and their streaming variants assign labels as the audio arrives.
For a buyer, the takeaway is simpler than the machinery. Every API and model is some version of these two designs, and the trade-off stays the same. Modular pipelines are transparent and tunable; end-to-end models do better on overlap and real time but are harder to inspect when they're wrong. When you compare vendors below, you're mostly comparing how each one copes with the messy parts: overlap, short turns, and an unknown number of speakers.
Need a speaker-attributed transcript in your product?
We'll map your audio, languages, and accuracy bar to a diarization stack and a real number in one call.
How accuracy is really measured: DER, collar, and overlap
The standard metric is Diarization Error Rate. DER sums three kinds of mistake as a fraction of total speech time: missed speech (a person talked, the system heard silence), false alarm (the system labelled silence or noise as speech), and speaker confusion (someone did talk, but the system picked the wrong speaker). Lower is better. Because false alarms stack on top, DER can in theory exceed 100%, so don't read it as a “percent correct.”

Figure 2. One model (pyannote 3.1), nine datasets, strict scoring. Clean broadcast audio lands near 8%; far-field meetings and in-the-wild video run 22–50%. The spread is the audio, not the algorithm.
Vendors tend to skip this part. A DER number means nothing without two settings: the forgiveness collar (how many milliseconds around each speaker change you agree to ignore) and whether overlapping speech is scored at all. Add a 0.25-second collar, skip overlap, and the same model's DER drops by half. A marketing page claiming “5% DER” and pyannote's published 12–25% on the strict “Full” setup (no collar, overlap counted) may describe identical accuracy. Ask how it was scored before you trust the digit.
Figure 2 also shows that your audio matters more than your vendor. pyannote 3.1 scores about 7.8% DER on clean broadcast news (REPERE) and 50% on in-the-wild audiovisual clips (AVA-AVD). Same model, very different results, and the gap comes entirely from how clean and how overlapped the recording is. Before you fixate on which API wins a benchmark, benchmark all of them on your audio. A related metric, Jaccard Error Rate (JER), weights every speaker equally regardless of talk time. That matters when one person dominates and a few short interjections would otherwise disappear into the average.
The APIs compared: AssemblyAI, Deepgram, Google, Azure/AWS, pyannote
Short answer: for most products, AssemblyAI is the cheapest well-documented all-in option for recorded audio. Deepgram is the pick for low-latency streaming and for self-hosted or HIPAA deployments. Speechmatics and ElevenLabs Scribe v3 are strong alternatives with diarization in the base price, and pyannote (self-hosted or through pyannoteAI) is the lane for accuracy and control. Avoid OpenAI’s diarization model for new builds, because it retires in February 2027.
Below are the options most teams shortlist, with prices pulled from each vendor's own page in November 2026. Diarization is almost never sold alone. It rides on a speech-to-text request as an included feature or a small add-on, so the numbers below are the diarization-inclusive cost per audio-hour rather than a separate line.
| Option | Diarized cost (2026) | Streaming? | Where it wins | Where it breaks |
|---|---|---|---|---|
| AssemblyAI | ~$0.17–$0.23 / hr | Yes (+$0.12 / hr for streaming diarization) | Cheapest all-in, speaker-count bounds, $0.02 / hr speaker naming | Diarization tuned for its own transcripts |
| Deepgram Nova-3 | ~$0.41 / hr batch; same add-on on streaming | Yes | Low latency, self-host option, HIPAA/BAA | No speaker-count parameter; v2 diarizer is batch-only |
| Google Cloud (Chirp) | ~$0.18–$0.96 / hr | Yes | Diarization included, GCP-native, batch tier cheap | Standard rate pricier, GCP lock-in |
| Azure / AWS Transcribe | ~$0.60–$1.44 / hr | Yes | Fits existing cloud + compliance stack; AWS includes diarization | Priciest, accuracy trails specialists |
| pyannote Community-1 (self-host) | ~$0.08–$0.16 / hr raw GPU | Batch (Sortformer for live) | Free, CC-BY-4.0, full control, private deploy | You own the GPUs, tuning, and ops |
| pyannoteAI (hosted) | €0.035 / hr Community-1; €0.096–€0.112 / hr Precision-3 | Yes (Live-1, under 300 ms) | Voiceprint speaker ID; lowest DER in its own 10-domain benchmark | Vendor-run benchmark; add STT for words |
| Speechmatics | ~$0.12–$0.40 / hr by model; diarization included | Yes | No diarization surcharge on any model, batch or real-time | Rate depends on model tier; benchmark on your languages |
| ElevenLabs Scribe v3 | ~$0.20 / hr; Scribe v3 Live $0.22 / hr | Yes (Scribe v3 Live) | Up to 32 speakers, 90+ languages | No speaker naming; newer in production |
| OpenAI gpt-4o-transcribe-diarize | ~$0.36 / hr | No (file endpoint only) | One call if you're already on OpenAI | Deprecated; removed from the API Feb 26, 2027 |
Some vendor notes, all taken from the vendors' own pricing and docs pages in November 2026. Deepgram prices Nova-3 monolingual pay-as-you-go at $0.0048 a minute and diarization as a $0.0020-a-minute add-on, so a diarized batch transcript is $0.0068 a minute, or about $0.41 an hour; the same add-on is listed for streaming, and a self-hosted deployment and a HIPAA BAA are available for regulated work. AssemblyAI charges $0.15 an hour for Universal-2 or $0.21 for its newer AssemblyAI-STT-3.7 model, plus $0.02 an hour for diarization and $0.02 for speaker identification at the default effort level ($0.10 at medium), which turns “Speaker A” into a name. On November 19, 2026 AssemblyAI shipped a new diarizer that, by its own benchmark, cuts full-recording DER from 14.7% to 9.4% and speaker-count errors from 0.57 to 0.21 per file. Speechmatics includes diarization free on every model, pre-recorded and real-time, with list rates from about $0.12 to $0.40 an hour depending on the model. Google's Chirp sits on the standard V2 rate of $0.016 a minute with no diarization surcharge, and the Dynamic Batch tier drops to $0.003 a minute ($0.18 an hour) if you can wait for results. ElevenLabs Scribe v3 is the newer name on many shortlists: it diarizes up to 32 speakers across 90+ languages at $0.20 an hour, or $0.22 for Scribe v3 Live. OpenAI is the warning: gpt-4o-transcribe-diarize, its only model with built-in speaker labels, is billed per audio token (about $0.006 a minute in practice) and leaves the API on February 26, 2027.
Which speech-to-text API has the most accurate speaker diarization?
No independent benchmark covers every vendor yet, so the most accurate speaker diarization API is the one that scores lowest on your own audio. The newest cross-vendor table comes from AssemblyAI (November 2026, pre-recorded, its own test set): AssemblyAI-STT-3.7 at 10.7% DER, ElevenLabs Scribe v3 at 12.0%, Speechmatics Enhanced at 16.2%, Gladia Solaria-1 at 16.7% and Deepgram Nova-3 at 17.4%. pyannoteAI publishes its own ten-domain benchmark in which Precision-3 lowers average DER from 16.02 to 14.35 against Precision-2 (September 2026). Both are vendor-run, so treat them as a shortlist, not a verdict.
Unknown number of speakers: what each API lets you set
Every API here diarizes an unknown number of speakers by default. What differs is how far you can steer it. AssemblyAI, pyannote and pyannoteAI accept an exact speaker count or a min/max range, Google and AWS accept a maximum, while Deepgram documents no speaker-count parameter, so its model always estimates the count itself. If you know the range, use a product that lets you say so: it removes the model's hardest decision.
| API | Speaker-count control | Putting names on speakers |
|---|---|---|
| AssemblyAI | speakers_expected (exact) or min/max bounds; default ceiling 10 speakers for 2–10 min audio, 30 above that; streaming max_speakers 1–10 |
Speaker identification add-on, $0.02 / hr (default) or $0.10 / hr (medium) |
| Deepgram | None documented; the model estimates | Not built in; map labels yourself |
| pyannote (open source) | num_speakers or min_speakers / max_speakers |
Not built in |
| pyannoteAI Precision-3 | Unconstrained or set | Voiceprint matching against enrolled speakers |
| ElevenLabs Scribe v3 | Automatic, up to 32 speakers | Not built in |
| OpenAI gpt-4o-transcribe-diarize | Automatic | known_speaker_names with up to four 2–10 s reference clips |
How do you request speaker labels or diarization via the API?
In every major API, speaker labels are one request parameter: you switch diarization on, optionally pass the speaker count, and read a speaker field on each word or utterance in the response. The parameter names differ, so here they are side by side (vendor docs, November 2026).
| API | Turn it on | Steer the count / read the result |
|---|---|---|
| AssemblyAI | speaker_labels: true |
speakers_expected or speaker_options; utterances carry Speaker A, B… |
| Deepgram | diarize=true |
No count parameter; each word gets a speaker index |
| Google Cloud STT V2 | diarizationConfig in recognition features |
minSpeakerCount / maxSpeakerCount |
| AWS Transcribe | ShowSpeakerLabels: true |
MaxSpeakerLabels (2–30) |
| OpenAI | model gpt-4o-transcribe-diarize, response_format=diarized_json |
chunking_strategy required over 30 s; segments carry speaker, start, end |
| ElevenLabs Scribe v3 | diarize=true |
Automatic, up to 32 speakers |
| pyannote (open source) | pipeline(audio) |
num_speakers or min_speakers / max_speakers |
| Recall.ai (meetings) | diarization.use_separate_streams_when_available: true |
Labels by participant name from per-participant streams |
Managed prices sit close enough together that price shouldn't be your tiebreaker. The real differences are accuracy on your kind of audio, whether you need real-time labels, and how much control and privacy you require. For a broader look at the audio-AI toolkit these sit inside, our roundup of tools to elevate audio apps maps the neighbours.
The open-source lane: pyannote, WhisperX, and Whisper's missing feature
pyannote.audio is the default open-source choice by a wide margin. Since pyannote.audio 4.0 (September 2025) the default pipeline is speaker-diarization-community-1, released under CC-BY-4.0, with about 4.75 million downloads on Hugging Face in the month to November 2026; the older speaker-diarization-3.1 stays MIT-licensed. Community-1 beats 3.1 on most public sets, for example 17.0% vs 18.8% DER on AMI headset audio and 20.2% vs 21.4% on DIHARD 3 (pyannote model card, 2025, strict scoring). It runs in PyTorch, ingests 16 kHz mono, and lets you pin the number of speakers when you know it. Its published DER table uses strict scoring with no collar and overlap counted, which is why its numbers look higher than glossier marketing claims. For GPUs, batching and failure handling, see our lesson on running pyannote diarization in production.
Speaker diarization models worth knowing in 2026
The speaker diarization models most teams evaluate in 2026 are pyannote Community-1 (open, the default), pyannoteAI Precision-3 (hosted or on-premise, highest accuracy in its family), pyannoteAI Live-1 (streaming) and NVIDIA's Streaming Sortformer (open, real-time); WhisperX is a wrapper that pairs Whisper with pyannote rather than a model of its own.
| Model | Access | Best for |
|---|---|---|
| pyannote speaker-diarization-community-1 | Open weights, CC-BY-4.0; hosted at €0.035 / hr | Default self-hosted batch diarization |
| pyannote speaker-diarization-3.1 | Open, MIT | Older pipelines that need the MIT licence |
| pyannoteAI Precision-3 (Sep 2026) | API or on-premise, €0.096–€0.112 / hr | Hard audio where accuracy outranks price |
| pyannoteAI Live-1 | API, €0.170–€0.198 / hr | Streaming labels under 300 ms |
| NVIDIA Streaming Sortformer v2.1 | Open, NeMo | Real-time, up to four speakers, English |
| WhisperX | Open wrapper | Whisper words plus pyannote speakers in one script |
People ask this a lot, so plainly: no, OpenAI's Whisper does not do speaker diarization. Whisper transcribes very well but has no notion of who's speaking. The common recipe is WhisperX, which wraps Whisper for the words, adds wav2vec2 forced alignment for precise word timestamps, and calls pyannote for the speaker labels. If you've seen a “Whisper with speakers” demo, it was almost certainly Whisper plus pyannote underneath. OpenAI's API did add a diarizing model, gpt-4o-transcribe-diarize, but on August 26, 2026 OpenAI told developers that it, whisper-1 and gpt-4o-transcribe leave the API on February 26, 2027. The named replacements, gpt-transcribe and gpt-live-transcribe, are general transcription models, so check speaker-label support before you build on them.
Reach for self-hosted pyannote when: you have GPU capacity and real volume, you need data to stay on your own infrastructure, and a few weeks of integration is cheaper than a per-hour fee you'll pay forever.
Reach for a managed API when: your volume is low or spiky, you want diarized transcripts today without hiring an ML engineer, and $0.15–$0.41 an hour is cheaper than the team it takes to run your own.
Weighing self-hosted pyannote against an API?
We've shipped both. Bring your volume and privacy needs and we'll tell you which one actually costs less for you.
Streaming vs batch: diarizing live audio is a harder problem
Diarizing a finished recording is the easy case: the whole file exists, so the system can look at every voice before committing to any label, then cluster with full context. Diarizing a live call is much harder. The model has to decide who's speaking as the words arrive, with no future context, and it has to keep the label for a given voice stable across the whole session. If Speaker 2 turns into Speaker 5 halfway through, downstream logic breaks.
This is where end-to-end streaming models earn their keep. NVIDIA's Streaming Sortformer, released in 2025 and now at v2.1 in NeMo, does frame-level diarization in real time, tags each utterance with a speaker and timestamp as the conversation unfolds, and uses an arrival-order speaker cache to keep labels consistent as new voices join. It reliably tracks up to four speakers and is optimized for English; NVIDIA also pairs it with a multitalker Parakeet streaming model that transcribes each tracked speaker separately. On the managed side, AssemblyAI (streaming diarization at +$0.12 an hour), Deepgram (the same $0.0020-a-minute add-on), Speechmatics (included), ElevenLabs Scribe v3 Live and Google all offer streaming speech-to-text with speaker labels, and pyannoteAI's Live-1 streams diarization alone with under 300 ms latency at €0.170–€0.198 an hour. The usual real-time caveat applies: early labels can shift slightly as more audio confirms who's who.
What is the best real-time speaker diarization API for voice agents?
For a voice agent, the best real-time speaker diarization API is often none at all: the agent's own voice is already on its own channel, so you only need diarization when several people share the caller's line. When you do, AssemblyAI's STT-3.7-Realtime-Agent model ($0.45 an hour plus $0.12 for streaming diarization, up to 10 speakers) and ElevenLabs Scribe v3 Live lead AssemblyAI's own live benchmark at about 10.5% and 10.8% DER on CallHome phone audio (November 2026); pyannoteAI Live-1 adds labels under 300 ms to any transcriber. OpenAI's diarization is not available in Realtime sessions. If you are building the agent itself, our LiveKit voice agent development team wires the speech pipeline, turn-taking and speaker handling into one media path.
The practical rule: if you're processing recordings such as podcasts, uploaded meetings or call archives, batch diarization is more accurate and simpler, so prefer it. Only reach for streaming when the product really needs live speaker labels, like a meeting bot captioning who's talking in real time. Live diarization comes at a cost, so budget for the accuracy hit and the extra engineering.
Meeting notetaker and recording APIs: which has the best diarization?
The meeting notetaker or recording API with the best diarization is the one that avoids guessing: it transcribes each participant's audio stream separately and labels it with that participant's name. Recall.ai calls this “perfect diarization” and documents it for Zoom, Microsoft Teams, Google Meet, Webex and Slack where the platform exposes separate streams; it labels speech correctly even when people talk over each other (Recall.ai docs, November 2026).
There is no separate diarization fee, but per-stream transcription costs more: Recall.ai puts real-time perfect diarization at about 1.8 times standard transcription usage and async at about 0.6 to 1.2 times. The limit is physical. Two people sharing one laptop or a conference-room microphone arrive on one stream, so the API falls back to machine diarization with generic labels, and the model-level advice in this guide applies again.
Does a desktop recording SDK do perfect diarization?
Recall.ai's Desktop Recording SDK can produce perfectly diarized transcripts, but only with raw media enabled on supported macOS meeting platforms; otherwise it records a mixed track and you are back to model diarization. It also pulls participant names from the meeting and sends speech-on and speech-off events, so a desktop notetaker can attribute words without a bot in the call. One gotcha from its docs: a participant event can represent an audio source, so a two-person call may produce four IDs. Do not pass that number as your expected speaker count.
If you are choosing between bot-based and desktop capture vendors, our meeting bot API architecture and vendor comparison covers the trade-offs; this guide stays on the diarization layer.
Build vs buy: a managed API or your own pyannote
For most teams, start by buying. A managed API gives you diarized transcripts through one request, at $0.15–$0.41 an audio-hour, with no models to run and no GPUs to babysit. At a few hundred hours a month that is clearly the right call, since the per-hour fee is far below what an engineer's time to stand up a pipeline would cost.

Figure 3. Four questions decide most diarization stacks: separate channels first (you may need nothing), then real-time, then privacy and volume.
Building, meaning self-hosting pyannote or a Sortformer-class model, makes sense when one of three things breaks the managed case. Data residency or privacy rules may forbid sending audio to a third party. Volume may be high enough that per-hour fees dwarf a small team plus reserved GPUs. Or diarization is a core, differentiated feature of your product that you need to tune and control yourself, rather than a checkbox you call. At that point the raw GPU cost is low; the real budget goes to MLOps, tuning for your audio, and on-call.
Reach for a managed API when: you process under a few thousand hours a month, the built-in languages and accuracy cover you, and you'd rather pay per hour than staff a model in production.
Reach for self-hosted pyannote when: audio can't leave your infrastructure, your monthly volume is high enough that fees dwarf a small team plus GPUs, or diarization is a feature you must tune and own.
What diarization actually costs: worked math per audio-hour
Per audio-hour of diarized transcript, managed APIs run from about $0.17 to $0.96 and self-hosted pyannote runs about $0.08–$0.16 in raw GPU. That gap is smaller than it looks, and the arithmetic shows why.

Figure 4. One audio-hour, five ways (vendor pricing pages, November 2026). Self-hosting is the cheapest compute and the most expensive to operate; managed prices buy you the ops and a UI.
The managed side, from vendor pages in November 2026: AssemblyAI is $0.15 an hour (Universal-2) or $0.21 (AssemblyAI-STT-3.7) plus $0.02 for diarization, so $0.17–$0.23 all-in; Deepgram Nova-3 is $0.0048 a minute plus a $0.0020-a-minute diarization add-on, which is $0.0068 a minute or about $0.41 an hour; Speechmatics and ElevenLabs Scribe v3 ($0.20 an hour) include diarization in the base rate; and Google's Chirp includes diarization inside $0.016 a minute ($0.96 an hour standard, or $0.18 an hour on Dynamic Batch at $0.003 a minute). AWS Transcribe includes speaker diarization in its standard price and Azure bills real-time diarization as a per-hour feature add-on; at list rates both usually land above the specialists. If you want pyannote's models without running GPUs, pyannoteAI hosts Community-1 at €0.035 an hour and Precision-3 from €0.096 an hour.
Now self-hosting pyannote. One NVIDIA L4 GPU on an AWS g6.xlarge is about $0.80 an hour on demand. But in batch, pyannote diarizes far faster than real time. A single L4 clears a conservative five to ten audio-hours per wall-clock hour, so the raw GPU cost lands around $0.08 to $0.16 per audio-hour. On paper that undercuts every API.
The catch, and the reason most teams stay on APIs longer than the raw math suggests: that $0.08–$0.16 excludes the engineer who builds and maintains the pipeline, the idle GPU time between batches, the tuning for your audio, and the retries on failures. A managed price buys all of that plus an SDK. Self-hosting only wins once your sustained monthly volume is high enough to amortize a small team and reserved GPUs. Even then, a hard privacy requirement is often the real reason to do it. We keep these estimates conservative because a pipeline that looks cheap on a spreadsheet and expensive in production helps nobody.
The levers that actually move accuracy
Tell it the speaker count when you know it. Every serious pipeline, pyannote included, lets you pin or bound the number of speakers. A two-person interview diarized with num_speakers=2 comes out far more accurate than one where the model guesses, because you've removed its hardest decision. If you know the range, set the minimum and maximum. This one flag often beats switching vendors.
Fix the audio before the model sees it. Diarization inherits every problem in the recording. Far-field microphones, room echo, cross-talk, and low sample rates all push DER up, and no API setting undoes bad capture. A clean 16 kHz mono feed, or better, separate channels where you can get them, does more than any model choice. The same discipline governs speech recognition in noisy environments.
Respect overlap and short turns. The errors that survive good audio sit in overlapping speech and quick back-channels. If your content has a lot of cross-talk, such as debates or lively meetings, favour an end-to-end model built for overlap over a classic clustering pipeline. And accept that a perfect score on a two-person podcast doesn't predict the score on a six-person standup. Test on the audio you'll actually run.
Where diarization actually matters
Meeting intelligence is the biggest driver. A notetaker that can't tell who committed to what produces a summary nobody trusts, so diarization is the difference between “someone will send the deck” and “Priya will send the deck.” It also powers per-speaker talk-time analytics, coaching and CRM auto-fill. Each of these needs the words attributed to a person.
Contact centers, medical scribing, and legal or media transcription lean on it just as hard. A call-quality tool has to separate agent from customer. An ambient clinical scribe has to keep clinician and patient distinct in the note, and far-field exam-room microphones make that one of the hardest cases, so teams building AI telehealth platforms with ambient scribes should pin the speaker count (usually two or three) and benchmark on real room audio rather than headset recordings. A court or interview transcript is worthless if it can't say who testified to what. Media localization is a quieter consumer: per-speaker segments let a dubbing pipeline assign a distinct cloned voice to each person instead of collapsing a scene into one narrator.
What all of these share is that the value sits in the attribution, not the transcript. Once a system knows who said what, a stack of features becomes possible: search by speaker, per-person analytics, targeted redaction, accountability. That's why diarization keeps showing up as the unglamorous layer under products that look nothing alike.
Mini-case: multi-speaker meeting intelligence
Meeting-intelligence products are where we've felt diarization matter most. Fora Soft has built meeting-bot and notetaker systems that join calls across Zoom, Google Meet, and Teams, capture the audio, and turn it into a speaker-attributed transcript and summary. One example is Meetric, an AI sales video platform that analyses speech on Google Meet, Teams and Zoom calls and automates 80–100% of CRM data entry, which only works when every remark is pinned to the right person. Transcription is never the hard part; a good API nails the words. What's hard is keeping the speakers straight when four people talk over each other on bad hotel Wi-Fi, because a summary that pins the wrong commitment to the wrong person is worse than no summary at all.
Our instinct on those builds is the one this guide argues for: buy the AI, own the pipeline. We use a managed speech-to-text-plus-diarization API for the transcript so we're not running models we don't need to, then put our own engineering into the orchestration: joining the meeting, handling reconnects, mapping anonymous speaker labels to real participants from the call roster, and gating low-confidence segments for review. That last step, turning “Speaker 2” into “Priya” using metadata the API never sees, is exactly what a raw API can't give you and a good build can.
A caveat on scope: diarization is a component here, not the product, and on clean two-person calls a managed API alone would get you most of the way. The engineering pays off in messy real-world calls with many speakers, where attribution is both hard and important. Want a similar assessment of your meeting or transcription stack? Book a 30-minute call and we'll walk your audio and requirements.
A decision framework: pick your diarization stack in five questions
Run your project through these five questions before you sign a contract or spin up a GPU. The answers usually point one way fast.
1. Are your speakers already on separate channels? If yes, you may not need diarization at all: transcribe per channel and label by channel. Only keep reading if multiple people share one mixed track.
2. Do you need it live or on recordings? Recordings favour batch, which is more accurate and simpler. Live labelling needs a streaming API or a Sortformer-class model, and a tolerance for early labels that shift.
3. Can the audio leave your infrastructure? If privacy, contracts, or regulation say no, self-hosted pyannote is the answer regardless of volume. If yes, a managed API is on the table.
4. What's your monthly volume? Hundreds of hours: buy an API and stop. Tens of thousands and climbing: the per-hour fees start to fund a self-hosted pipeline, and building deserves a serious look.
5. How overlapped and noisy is your audio? Clean, low-overlap audio works well on almost anything, so benchmark on price and languages. Heavy cross-talk and far-field audio should push you to an overlap-aware model and a round of testing on your own recordings. If you're not sure where you land, that's a good first call with our AI integration team.
Not sure which diarization stack fits?
Bring your audio, volume, and privacy needs. We'll give you a straight recommendation, even if it's “just use AssemblyAI.”
Five pitfalls that wreck diarization projects
1. Trusting a DER number without its setup. A “3% DER” claim with a hidden collar and no overlap scoring can be worse in practice than an honest 15%. Compare vendors only on like-for-like scoring, and ideally on your own audio.
2. Diarizing audio you should have kept on separate channels. Teams pay for diarization on a two-leg call that was already split by channel. If you control the capture, separate speakers at the source and skip the hardest problem entirely.
3. Letting the model guess the speaker count. Not passing a known or bounded speaker count is the most common self-inflicted accuracy loss. If you know it's two people, say so.
4. Assuming Whisper does diarization. It doesn't. Budget for pyannote or WhisperX from the start instead of discovering the gap after you've built around plain Whisper.
5. Benchmarking on the wrong audio. A vendor that wins on clean podcast audio can lose on your noisy six-person calls. Test on representative recordings before you commit, not on the demo file everyone uses.
KPIs: what to measure
Accuracy KPIs. Track DER on a held-out set of your own audio, scored one consistent way (state your collar and whether you count overlap). Break it into its parts (missed speech, false alarm, speaker confusion), since each one has a different fix. Confusion points at the embedding or clustering; misses point at VAD or audio quality. Add speaker-count accuracy, i.e. how often the system gets the number of people right.
Cost KPIs. Measure cost per audio-hour end to end, counting review and re-runs along with the API line. If you self-host, track GPU usage and audio-hours cleared per GPU-hour. Idle GPUs are where the “cheap” build quietly gets expensive.
Reliability KPIs. Track processing success and retry rate, latency for streaming use, and label stability, meaning how often a speaker's label stays consistent across a session. A pipeline can be accurate on average and still fail the user if it flips labels mid-meeting.
When you don't need diarization
Skip it when the speakers are already separated. Multi-channel call recordings, podcast stems, or any setup where each person has their own microphone and track give you speaker attribution for free: transcribe each channel and label it. Paying for a diarization add-on on already-split audio means spending money on a problem you don't have.
Skip it for single-speaker content. Solo narration, voicemail and dictation have one voice, so there's nothing to separate. And if what you actually need is to confirm a specific known person is speaking, that's speaker recognition against an enrolled voiceprint. Diarization is the wrong tool for that job.
Accept, too, that sometimes the accuracy isn't there yet. On chaotic audio with many speakers talking over each other, even the best diarization will make errors a human would catch, and shipping it unreviewed can be worse than a plain transcript. If your audio is a bad fit, we'll say so instead of selling you a layer that won't hold up.
Skip diarization when: speakers are on separate channels, there's only one speaker, or you actually need enrolled speaker recognition rather than anonymous “who spoke when” labels.
FAQ
What is speaker diarization?
Speaker diarization is the process of splitting an audio recording into segments by speaker and labelling each one, answering “who spoke when” without knowing the speakers in advance. It doesn't transcribe the words or name the people. It groups the timeline by voice. Combined with speech-to-text, it produces a transcript that shows who said each line.
Does OpenAI Whisper support speaker diarization?
No. Whisper is a speech-to-text model with no built-in notion of speakers. To get speaker labels you combine it with a diarization model, most commonly through WhisperX, which runs Whisper for the words and pyannote for the speakers. Any “Whisper with speakers” setup is really Whisper plus a separate diarization step. OpenAI's diarizing API model, gpt-4o-transcribe-diarize, is deprecated and leaves the API on February 26, 2027.
Which speaker diarization API is most accurate?
There's no universal winner, because accuracy depends heavily on your audio. AssemblyAI, Deepgram, and Google all do well on clean, low-overlap recordings, and open-source pyannote is the reference benchmark most others are measured against. In AssemblyAI's November 2026 benchmark its STT-3.7 scored 10.7% DER against 12.0% for ElevenLabs Scribe v3 and 17.4% for Deepgram Nova-3, and pyannoteAI reports Precision-3 at 14.35% average DER on its own ten-domain set; both are vendor-run numbers worth verifying. The only reliable answer is to test the shortlist on your own representative audio and compare DER scored the same way.
What is a good Diarization Error Rate (DER)?
It depends entirely on the audio and the scoring setup. On clean broadcast audio, strong models score under 10%; on far-field meetings or overlapping in-the-wild clips, 20–30% is normal even for the best. A number without its collar and overlap settings can't be compared, so always ask how DER was measured before judging it.
Deepgram vs AssemblyAI for diarization — which is cheaper?
On November 2026 vendor pricing, AssemblyAI is cheaper at about $0.17–$0.23 an audio-hour including its $0.02 diarization add-on, while Deepgram Nova-3 batch plus its diarization add-on is about $0.41 an hour. AssemblyAI fits recorded meetings and interviews where you know the headcount, because it accepts an exact speaker count or a range. Deepgram fits low-latency streaming and self-hosted or HIPAA deployments. Price them on your volume and accuracy needs rather than the headline rate.
Is pyannote free to use commercially?
Yes. The current pyannote Community-1 pipeline is released under CC-BY-4.0, which allows commercial use with attribution, and the older speaker-diarization-3.1 pipeline is MIT-licensed. You accept the model's user conditions on Hugging Face to download it. The same team sells a hosted service, pyannoteAI, from €0.035 an audio-hour if you'd rather not run the model yourself.
Can speaker diarization run in real time?
Yes, but it's harder than batch. Streaming models like NVIDIA's Sortformer assign speaker labels as audio arrives and track a handful of speakers on the fly, and the major APIs offer streaming transcription with speaker labels. The catch is that early labels can shift as more audio confirms who's who, and accuracy usually lands a little below what you'd get processing the finished recording.
What is the best API for speaker diarization?
For most products in 2026, AssemblyAI is the safest default for recorded audio (low price, speaker-count bounds, speaker naming add-on), Deepgram is the pick for real-time and self-hosted deployments, and pyannote or pyannoteAI is the choice when accuracy on hard audio or data control matters most. Test all three on your own recordings before you commit.
Which speech-to-text API handles an unknown number of speakers?
All the major ones detect the speaker count automatically. AssemblyAI and pyannote also let you set an exact count or a min/max range when you know it, which usually improves accuracy; Deepgram always estimates the count itself, and ElevenLabs Scribe handles up to 32 speakers.
What is a good pyannote alternative?
If you want pyannote quality without running GPUs, pyannoteAI hosts the same team's models (Community-1 at €0.035 an hour, Precision-3 from €0.096). For a different engine, AssemblyAI and Deepgram bundle diarization with transcription, NVIDIA's Streaming Sortformer covers open-source real-time use, and ElevenLabs Scribe diarizes up to 32 speakers.
What is the best API for speaker identification?
Speaker identification puts real names on diarized speakers. AssemblyAI sells it as a $0.02-an-hour add-on ($0.10 at medium effort), pyannoteAI's Precision-3 matches speakers against enrolled voiceprints, and OpenAI's diarize model accepts up to four short reference clips through known_speaker_names. Diarization alone only gives you anonymous labels like Speaker A and Speaker B.
How much does a speaker diarization API cost?
Diarization rides on speech-to-text pricing. In November 2026, expect about $0.17–$0.23 an audio-hour with AssemblyAI, about $0.41 with Deepgram Nova-3 batch plus its add-on, $0.20 with ElevenLabs Scribe v3, and $0.18–$0.96 with Google Chirp depending on tier. Self-hosting pyannote is about $0.08–$0.16 an audio-hour in raw GPU, and that leaves out engineering and operations, which are the real cost.
What meeting recording API has the best diarization?
The best meeting recording APIs skip the model's guesswork by transcribing each participant's stream separately and labelling it with the participant's name. Recall.ai's “perfect diarization” works this way on Zoom, Teams, Google Meet, Webex and Slack; it still needs machine diarization when several people share one microphone.
Does the Recall.ai desktop SDK do perfect diarization?
Yes, with limits. Recall.ai's Desktop Recording SDK produces perfectly diarized transcripts when raw media is enabled on supported macOS meeting platforms, and it attaches participant names from the meeting. Without separate streams, or with several people on one device, you get model-based diarization instead.
How can I request speaker labels or diarization via the API?
Set one parameter: speaker_labels: true in AssemblyAI, diarize=true in Deepgram and ElevenLabs, ShowSpeakerLabels in AWS Transcribe, diarizationConfig in Google Cloud, or the gpt-4o-transcribe-diarize model with diarized_json in OpenAI. Add the speaker count when you know it.
What is the best real-time speaker diarization API for voice agents?
If the agent and caller are on separate channels, you may not need one. For shared lines, AssemblyAI's STT-3.7-Realtime-Agent and ElevenLabs Scribe v3 Live scored about 10.5% and 10.8% DER on CallHome in AssemblyAI's own November 2026 benchmark, and pyannoteAI Live-1 adds labels under 300 ms.
What to read next
Meetings
How to Build an AI Meeting Notetaker
Capturing the meeting audio that diarization then attributes per speaker.
Accuracy
Speech Recognition in Noisy Environments
The ASR that diarization rides on, and why bad audio hurts both.
Localization
AI Video Dubbing and Lip Sync
Per-speaker segments let a dub give each person a distinct voice.
Toolkit
7 AI Tools to Elevate Audio Apps
The wider audio-AI toolkit diarization lives inside.
Ready to add speaker attribution to your product?
Diarization is the layer that turns a transcript into a record of who said what, and the decision comes down to a few questions. First, check whether your speakers are already on separate channels. Read every accuracy claim with its collar and overlap in mind, and benchmark the shortlist on your own audio. Pin the speaker count when you know it; that one flag beats most vendor switches.
On cost, the managed APIs cluster between $0.17 and $0.96 an audio-hour and self-hosted pyannote is about $0.08–$0.16 in raw GPU, so buy while your volume is low and build when privacy or scale justifies owning it. Most teams start on a managed API and only move to self-hosting when the numbers or the compliance rules force it. Wherever you are on that path, we'll give you the straight answer for your audio and requirements.
The book · Volume 6 of 7
AI for Video: A Complete Guide to Intelligence in Video Products: From Models and Inference to Computer Vision, Speech, Search, and Generative Video
Diarization error rate is one number; a meeting product needs the whole speech layer to hold together. Volume 6 covers ASR, TTS and diarization alongside the AI feature lifecycle, deployment topologies and search and RAG across recorded video, the components that turn a multi-speaker recording into searchable, attributed text. Written by Nikolay Sapunov, CEO at Fora Soft.
Read it on Amazon →Kindle & paperback · Fora Soft Video Engineering Handbook
Let's scope your diarization stack
Tell us your audio, languages, volume, and privacy needs. We'll come back with a build-or-buy recommendation and a real number.