Most AI notetakers transcribe every meeting twice. They stream audio during the call so users see a live transcript, then send the same recording to a pre-recorded API when the call ends, because that second pass is where reliable speaker labels used to come from. You pay for the audio twice, run two integrations, and your users wait for the batch job before the notes show up.
AssemblyAI-STT-3.7-Realtime removes the reason for the second pass. Speaker labels are final the moment a turn ends, there's no revision pass or SpeakerRevision message to wait for, and on single-microphone meetings it has the lowest live diarization error rate of every realtime provider we measured. At $0.30 per hour, plus $0.12 for speaker labels, a live-only pipeline also comes in under the stream-plus-batch setup most notetakers run today.
This post is for teams building a notetaker who already know which API they want and need the pipeline. If you're still choosing a speech-to-text API, start with our guide to the best speech-to-text API for AI notetakers, which compares the field. This one covers what changed, how accurate live speaker labels are on meeting audio, what each pipeline costs per meeting hour, and a working Python build that prints a speaker-labeled transcript during the call and writes a summary with owned action items through LLM Gateway the moment it ends. If you want the internals of live diarization itself (turns, voice embeddings, word-level labels), read our guide to streaming speaker diarization first.
Why notetakers batch meeting audio in the first place
Real-time meeting transcription has been around for years. Knowing who said each line while the meeting is still running is the newer part, and two things kept pushing teams back to batch.
Live speaker labels used to settle after the call. Earlier streaming models assigned a provisional speaker to each turn and corrected it later. On Universal-3.6 Pro Realtime, those corrections arrived as SpeakerRevision messages. That works if you can afford to repaint lines users already read and to hold back anything sent downstream until the session ends. Most notetakers decided it was simpler to rebuild attribution from the recording.
Streaming cost more than the recorded pipeline. If the live transcript was only a preview and the real notes came from batch, paying a streaming premium for the preview was hard to justify.
So the common architecture became: stream for the live view, batch for the notes. The AssemblyAI-STT-3.7 launch post says it plainly: many notetakers still batch audio to the pre-recorded API, because live speaker labels used to settle only after the call and streaming cost more than the recorded pipeline.
What changed with AssemblyAI-STT-3.7-Realtime
AssemblyAI-STT-3.7-Realtime (assemblyai-stt-3-7-realtime) is the model built for live conversation: meetings, calls and captions. If your product also talks back to the speaker, that stream belongs on AssemblyAI-STT-3.7-Realtime-Agent; our guide to which AssemblyAI-STT-3.7 model to use covers the split. Three details matter for a notetaker.
- Labels are final at turn end. From the beginning of a new session, each turn's
speaker_labelis final whenend_of_turnis true. You write the line once and never touch it again, because speaker labels on this model no longer send revisions. - Labels are close to batch quality. The launch post describes them as nearly as accurate as labels from pre-recorded audio.
- Partials arrive about once a second, and turns close when there's enough to show, which is what a live transcript view wants.
AssemblyAI published live diarization results on two sets: NOTSOFAR, 129 real meetings recorded on a single distant microphone with up to seven speakers, and CallHome, 40 unscripted telephone calls. AssemblyAI-STT-3.7-Realtime has the lowest live diarization error rate of every realtime provider measured on both, 6.30% on NOTSOFAR and 10.46% on CallHome, ahead of ElevenLabs Scribe v3 Live and Meta Muse Voice Transcribe. The full field, with every vendor's realtime API at default settings, is in the notetaker API comparison linked above.
Fast, settled transcripts change how a notetaker feels to its users. Granola, which builds a bot-free AI notetaker on AssemblyAI, put it this way:
"The speed difference is immediately noticeable — our users see their conversations transcribed almost instantaneously. It feels so much more responsive than what we were using before."
— Jonathan Kim, Software Engineer, Granola
Turn on speaker labels with one parameter on AssemblyAI-STT-3.7-Realtime. Labels are final the moment each turn ends, at $0.30 per hour plus $0.12 per hour for speaker labels.
How accurate is speaker detection in conference recordings?
Diarization error rate (DER) is the share of audio time that's attributed to the wrong speaker, missed, or marked as speech when nobody spoke. NOTSOFAR is real meetings recorded on one distant microphone, the same setup as a conference room with one device on the table. On it, AssemblyAI-STT-3.7-Realtime gets 6.30%: roughly 6 of every 100 seconds of meeting speech are misattributed, missed or wrongly detected, and the labels never change after the turn closes.
The remaining errors cluster in predictable places, and your notetaker can plan for each one.
- Short turns. A turn with less than about one second of audio comes back with
speaker_label: "PENDING", because the model needs that much audio to build a reliable voice embedding. These are mostly backchannels like "yeah" and "right". Show them as unattributed and never let them own an action item. - The first turn or two. The model builds each speaker's profile as the session runs, so the opening turns are the least stable. Give the first few sentences less weight in anything automated.
- Overlapping speech. When two people talk at once, the model assigns the turn to one speaker. Heavy crosstalk raises the error rate.
- Far-field noise and mic bleed. These lower embedding quality. NOTSOFAR is single distant-microphone audio, so the published number already includes this condition.
Published benchmarks are a starting point. Before you commit, score 10 to 20 of your own meetings against hand-labeled references. Our guide to measuring diarization accuracy with cpWER walks through the metric and the code.
Live vs batch: the pipeline decision for a notetaker
There are three ways to build the transcription layer of a notetaker. The question is which one your product needs, and what each costs per meeting hour at published pay-as-you-go rates on AssemblyAI pricing.
| Pipeline | What users see during the call | When notes are ready | Integrations | Transcription cost per meeting hour |
|---|---|---|---|---|
| Batch only (AssemblyAI-STT-3.7 + diarization) | Nothing | After upload and transcription | 1 | $0.21 + $0.02 = $0.23 |
| Stream for the live view, batch for the notes | Live text; speakers come later | After the batch job finishes | 2 | $0.30 + $0.23 = $0.53 |
| Live only (AssemblyAI-STT-3.7-Realtime + speaker labels) | Live text with final speaker labels | One LLM request after the call ends | 1 | $0.30 + $0.12 = $0.42 |
Streaming bills on session time, and pre-recorded bills on audio duration. Speaker diarization is a separate add-on on both. LLM costs for the notes are extra on every row.
Read the table this way:
- If your product shows nothing live, batch only is the lowest bill. A post-call summary emailed an hour later doesn't need a WebSocket. The real-time vs batch transcription guide covers that decision in general terms.
- If you already stream for a live view, dropping the batch pass lowers the bill and speeds up the notes. Going from $0.53 to $0.42 per meeting hour is about 21%. At 10,000 meeting hours a month, that's $5,300 down to $4,200, and you retire one integration, one job queue and one webhook handler.
- Live only also unlocks features batch can't serve. "What did Priya just commit to?", in-call action item alerts and a running summary for people who join late all need speaker-labeled text while the meeting is still going.
Two billing details catch teams out. Because streaming bills on session time, a bot that joins five minutes early and sits in a silent lobby is billed for those five minutes, so open the session when audio starts and send a terminate message as soon as the meeting ends. And a session that's never closed auto-closes after 3 hours and is billed for the full duration.
The rest of this post assumes you've picked live only and shows the build.
Build it: a live transcript with speaker labels, then notes via LLM Gateway
The companion repo, real-time-meeting-notetaker, is a command-line notetaker. It streams a meeting from a WAV file (at live speed) or from your microphone to the Realtime Speech-to-Text API, prints each turn with its speaker as the turn ends, and sends the finished transcript to LLM Gateway for a summary, decisions, action items with owners, and open questions.
Set up
You need Python 3.9+, an AssemblyAI API key, and a mono 16-bit WAV of a meeting.
git clone https://github.com/kelsey-aai/real-time-meeting-notetaker.git
cd real-time-meeting-notetaker
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # add ASSEMBLYAI_API_KEY
# convert any recording to mono 16 kHz 16-bit PCM
ffmpeg -i meeting.mp4 -ac 1 -ar 16000 -sample_fmt s16 meeting.wavNew accounts get $50 in free credits for the speech-to-text APIs. LLM Gateway isn't covered by those credits, so the notes step is billed per token from your account balance.
Open a session with speaker labels
Speaker labels are one connection parameter. max_speakers is an optional hard cap (1–10): extra voices merge into the closest existing label, so set it a little above the number of people you expect. keyterms_prompt takes names and terms from the calendar invite. The docs recommend starting without it and adding terms the model misses.
import os
from assemblyai.streaming.v3 import (
RealTimeEvents,
RealTimeParameters,
RealTimeTranscriber,
RealTimeTranscriberOptions,
)
client = RealTimeTranscriber(
RealTimeTranscriberOptions(terminate_timeout=30.0),
api_key=os.environ["ASSEMBLYAI_API_KEY"],
)
# on_begin, on_turn, on_terminated and on_error are defined in notetaker.py
client.on(RealTimeEvents.Begin, on_begin)
client.on(RealTimeEvents.Turn, on_turn)
client.on(RealTimeEvents.Termination, on_terminated)
client.on(RealTimeEvents.Error, on_error)
client.connect(
RealTimeParameters(
sample_rate=16000,
speech_model="assemblyai-stt-3-7-realtime",
speaker_labels=True,
max_speakers=6, # optional hard cap, 1-10
keyterms_prompt=["Priya", "Marcus", "Q3 roadmap"], # optional
)
)
try:
client.stream(audio_chunks) # 100 ms chunks of 16-bit mono PCM
finally:
client.disconnect(terminate=True) # ends billing; waits for TerminationRegister handlers before connect(), because a rejected handshake (a bad key, for example) is delivered to the Error handler. The finally block matters for cost: streaming bills until the session closes, so the script terminates even on Ctrl+C.
Store each turn once
Because the label is final when the turn ends, the turn handler ignores partials, appends the finished turn, and prints it. There's no revision handler and no code that rewrites earlier lines.
from assemblyai.streaming.v3 import RealTimeTranscriber, TurnEvent
from transcript import MeetingTranscript, Turn
meeting = MeetingTranscript(speaker_names={"A": "Priya"}) # optional label-to-name map
def on_turn(client: RealTimeTranscriber, event: TurnEvent) -> None:
if not event.end_of_turn:
return # partials: render in place in a UI
turn = Turn(
turn_order=event.turn_order,
speaker=event.speaker_label or "PENDING",
text=event.transcript,
start_ms=event.words[0].start if event.words else None,
)
meeting.add(turn)
print(meeting.line(turn), flush=True)MeetingTranscript (in transcript.py) formats each line as [mm:ss] Speaker: text. It shows PENDING turns as "Unattributed" and swaps letters for names when you pass a map such as --speakers "A=Priya,B=Marcus". Labels are letters per session, so your app has to supply names, from the meeting platform's active-speaker events or from a quick "who's who" prompt in your UI. A reconnect starts a new session with new speaker profiles, so don't assume "A" means the same person across sessions.
Write the notes when the meeting ends
When the session terminates, the full labeled transcript goes to LLM Gateway's chat completions endpoint. A JSON schema in response_format keeps the output parseable, and the json-repair post-processing step fixes the rare malformed response. See the structured outputs docs for the supported model families.
import json
import assemblyai as aai
SYSTEM_PROMPT = """You write meeting notes from a speaker-labeled transcript.
Each line is: [mm:ss] Speaker: text.
- action_items: a task someone committed to. owner is the speaker who took it on,
exactly as labeled. Never use "Unattributed" as an owner.
- due: the deadline as stated, or "" if none was given.
- timestamp: the [mm:ss] of the line where the commitment was made.
Do not invent owners, dates or decisions that are not in the transcript."""
def write_notes(transcript_text: str, api_key: str, model: str) -> dict:
gateway = aai.LLMGateway(api_key=api_key)
completion = gateway.chat.completions.create(
model=model, # e.g. "claude-sonnet-5-5"
messages=[
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "user", "content": transcript_text},
],
max_tokens=2000,
response_format={
"type": "json_schema",
"json_schema": {"name": "meeting_notes", "schema": NOTES_SCHEMA, "strict": True},
},
post_processing_steps=[{"type": "json-repair"}],
)
return json.loads(completion.choices[0].message.content)NOTES_SCHEMA in meeting_notes.py defines summary, decisions, action_items (each with owner, task, due and timestamp) and open_questions. The prompt in the repo is longer than this excerpt; the rules that matter most are the owner rule and "don't invent". An action item with a wrong owner is worse than a missing one, and with labels you can trust, the owner comes straight from the transcript.
Because the transcript is already in memory, there's no upload and no polling. On a typical hour-long meeting the notes arrive in the time one LLM call takes. For long meetings, model choice and chunking, see our guide on how to summarize meetings with AI in Python.
Run it
python notetaker.py --file meeting.wav --max-speakers 6 --speakers "A=Priya"Session 4f1c... started. Listening...
[00:02] Priya: Okay, let's get started. The main thing today is the March launch.
[00:09] Speaker B: Engineering is on track, but the billing migration is still open.
[00:15] Unattributed: Right.
[00:16] Priya: Marcus, can you own the migration plan and send it by Friday?
...
41 turns, 1288 words, speakers: Priya, Speaker B, Speaker C
Session time 11.4 min, streaming cost about $0.080
## Action items
- [ ] **Speaker B**: Send the billing migration plan (due Friday) [00:16]The script also writes output/transcript.md, output/notes.md and output/notes.json, so you can drop the JSON straight into a task tracker or CRM. Use --mic to run it on a live conversation.
Upload a meeting recording or stream your microphone in the playground to test AssemblyAI-STT-3.7 on your own audio. No code needed, and it's free with your API key.
When to keep a batch pass
Live only is the right default for a notetaker that shows anything during the call. Keep a pre-recorded pass for these cases:
- Your hardest recordings. With heavy crosstalk, strong accents or dense terminology, full-file context still helps. On recorded meetings and calls, 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%. A common pattern is live only by default, with an optional batch re-run on meetings a user flags.
- Speaker Identification by name. Replacing "Speaker A" with names or roles inferred from the conversation runs on a finished pre-recorded transcript through the Speech Understanding API.
- Languages beyond 32. AssemblyAI-STT-3.7-Realtime covers 32 languages in one stream with automatic detection. For recorded audio, adding Universal-2 as a fallback reaches 99.
- Archives and backfills. If nobody is waiting, there's no reason to hold a socket open.
Production checklist
- Terminate every session. Billing runs until the WebSocket closes, and an unclosed session runs to the 3-hour cap. Meetings longer than three hours need a new session.
- Send 50–100 ms chunks of 16-bit mono PCM, with
sample_ratematching your source. - Give
max_speakersheadroom. Too low merges people; far too high can split one person into two labels. - Treat the first two turns and every
PENDINGturn as low confidence in automation such as owner assignment and alerts. - Map labels to names in your app, and re-map after any reconnect.
- Get consent to record. Recording and transcription consent rules vary by jurisdiction, so show participants that the notetaker is listening.
- Check data handling. If any of your customers process protected health information, AssemblyAI offers a Business Associate Addendum (BAA).
For the product side of meeting notes, including summaries, CRM sync and search, see the AI notetakers use case.
Final words
The two-pipeline notetaker made sense when live labels settled after the call and streaming was a premium. With labels final at turn end and the live-only pipeline at $0.42 per meeting hour against $0.53 for stream-plus-batch, the second pass is now the exception you add for specific meetings. The bigger change is what you can build on top. Once every line carries a speaker you can trust while the meeting is running, action items, alerts and catch-up summaries can happen during the call, and the post-call notes are just the last LLM request on a transcript you already have.
Get final speaker labels in the stream with AssemblyAI-STT-3.7-Realtime, then turn the transcript into notes with LLM Gateway on the same API key. New accounts get $50 in free speech-to-text credits.
Frequently Asked Questions (FAQs)
What is real-time meeting transcription?
Real-time meeting transcription converts meeting audio to text while people are still talking, usually by streaming audio over a WebSocket to a speech-to-text API. For a notetaker, the useful version also labels who said each line as it happens. On AssemblyAI-STT-3.7-Realtime, each turn's speaker label is final when the turn ends, so a live transcript can feed notes and action items without a second transcription pass.
How accurate is speaker detection in conference recordings?
On NOTSOFAR, a set of 129 real meetings recorded on a single distant microphone with up to seven speakers, AssemblyAI-STT-3.7-Realtime has a live diarization error rate of 6.30%. That's the lowest of every realtime provider AssemblyAI measured, ahead of Meta Muse Voice Transcribe at 7.34% and ElevenLabs Scribe v3 Live at 9.63%. Errors concentrate in turns under about one second, the first turns of a session and overlapping speech.
How do I build a live AI meeting scribe that writes summaries and action items?
Stream the meeting to AssemblyAI-STT-3.7-Realtime with speaker_labels=True, store each turn with its speaker when the turn ends, and send the finished transcript to LLM Gateway with a JSON schema for the summary, decisions and action items. Tell the model to take each action item's owner from the speaker label and to skip unattributed short turns. The companion repo real-time-meeting-notetaker implements this in Python.
Should an AI notetaker use real-time or batch transcription?
Use real-time transcription if your product shows anything during the call, such as a live transcript, in-call alerts or a running summary. With final speaker labels on AssemblyAI-STT-3.7-Realtime, the same live transcript can produce the post-call notes, so you don't need a second batch pass. Batch alone is the lower bill if nothing is shown live, and it's still worth adding for very hard audio or Speaker Identification by name.
How much does real-time meeting transcription with speaker labels cost?
AssemblyAI-STT-3.7-Realtime is $0.30 per hour and streaming speaker diarization is $0.12 per hour, so a live transcript with speaker labels is $0.42 per meeting hour, billed on session time. Running a stream plus a batch re-run with diarization comes to $0.53 per hour. LLM costs for summaries are billed per token on top.
How do I transcribe meeting audio in real time with an API?
Open a WebSocket session to AssemblyAI's Realtime Speech-to-Text API with speech_model set to assemblyai-stt-3-7-realtime, send 16-bit mono PCM audio in 50–100 ms chunks, and handle Turn events as they arrive. Each final turn includes the transcript and a speaker_label when speaker labels are on. Send a terminate message when the meeting ends, because streaming is billed until the session closes.