Last updated November 18, 2026
Real-time transcription streams text back over a WebSocket while someone is still talking, a partial about once a second and a final transcript at the end of each turn. Batch transcription waits for a finished file, reads all of it, and returns one complete transcript, usually with the highest accuracy and the most analysis options. The Sync API sits between them: post a finished clip of up to 20 minutes over HTTP and get the transcript back in the same response. With AssemblyAI-STT-3.7-Realtime, live speaker labels are now nearly as accurate as labels from pre-recorded audio, which moves several workloads that used to need batch onto real time.
This guide compares the three modes on latency, limits, speaker labels and price, answers the practical spec questions developers ask before building, and ends with a checklist for picking one, or combining them.
Real-time vs batch vs Sync at a glance
Each column is the model AssemblyAI recommends for that mode today.
| Real-time: AssemblyAI-STT-3.7-Realtime | Real-time for agents: AssemblyAI-STT-3.7-Realtime-Agent | Sync: Universal-3.6 Pro | Batch: AssemblyAI-STT-3.7 | |
|---|---|---|---|---|
| When text arrives | Partials about once a second, final at each turn end | Final transcript 86 ms after speech ends | In the HTTP response, about 134 ms at p50 | When the job completes, by webhook or polling |
| Interface | WebSocket | WebSocket | One HTTP POST | REST job + webhook |
| Max audio | Session auto-closes after 3 hours | Session auto-closes after 3 hours | 20 minutes, 256 MB (120 s through the SDKs) | 10 hours, 5 GB per request |
| Languages | 32 in one stream | 32 in one stream | 32 | 32, plus Universal-2 fallback for 99 |
| Speaker labels | Yes, final at turn end | Supported; focuses on the person talking to the agent | No | Yes |
| Price | $0.30/hr of session time | $0.45/hr of session time | $0.30/hr | $0.21/hr |
| Best for | Meetings, notetakers, live captions | Voice agents | Dictation, voicemail, voice commands, agent turns | Recordings, archives, analytics |
Add-ons are priced separately. On both 3.7 real-time models, streaming speaker diarization is $0.12/hr; on batch AssemblyAI-STT-3.7, speaker diarization is $0.02/hr. The pricing page lists every add-on.
One API key covers real-time, Sync and batch transcription. Sign up free and run the same recording through each to see the difference for yourself.
What is real-time transcription?
Real-time transcription, also called streaming speech-to-text, converts live audio into text as it's spoken. Your app opens a WebSocket, sends audio in small chunks, and receives two kinds of results: partial transcripts that update while the speaker talks, and a final transcript once the model decides the turn is over.
The model works with past audio only. It can't wait to hear how a sentence ends before committing to the start of it, which is why partials sometimes change before they're final. Our guide to real-time speech-to-text covers the event model and a full build.
You'll find real-time transcription anywhere a person or a program needs words during the conversation: voice agents, live captions, meeting notes that fill in as people talk, and in-call coaching. AssemblyAI ships two real-time models for those jobs:
- AssemblyAI-STT-3.7-Realtime (
assemblyai-stt-3-7-realtime) for live conversation: meetings, calls and captions. - AssemblyAI-STT-3.7-Realtime-Agent (
assemblyai-stt-3-7-realtime-agent) for voice agents, where the transcript feeds an LLM that has to reply.
For the agent case specifically, see why real-time STT matters for voice agents.
What is batch transcription?
Batch transcription, also called asynchronous or pre-recorded transcription, processes a complete file after recording ends. You submit a URL or upload a file, the job runs, and you get one finished transcript back through a webhook or by polling.
Because the model reads the whole file, it can use what comes after a word to decide what the word was. That full context is where batch keeps its edge on hard audio: heavy accents, crosstalk, domain terms and long recordings. Batch is also where the broadest set of features runs, from speaker diarization to Speech Understanding tasks that run over the full transcript.
AssemblyAI's batch flagship is AssemblyAI-STT-3.7 (assemblyai-stt-3-7), at $0.21/hr across 32 languages with native code switching. On audio that switches between English and another language, it averages 6.2% word error rate across 16 code-switching datasets, the lowest average and the lowest on 12 of the 16 datasets in the AssemblyAI-STT-3.7 research post, ahead of ElevenLabs Scribe v3, Soniox, Azure, AWS Transcribe, OpenAI, Deepgram and Gladia. Add "universal-2" to speech_models and the request covers 99 languages; AssemblyAI-STT-3.7 takes priority wherever it supports the language.
import os
from assemblyai.prerecorded.v2 import Transcriber, TranscriptionConfig
transcriber = Transcriber(api_key=os.environ["ASSEMBLYAI_API_KEY"])
config = TranscriptionConfig(speech_models=["assemblyai-stt-3-7"], speaker_labels=True)
transcript = transcriber.transcribe("https://assembly.ai/wildfires.mp3", config=config)
for utterance in transcript.utterances:
print(f"Speaker {utterance.speaker}: {utterance.text}")If you're on the previous model, Universal-3.5 Pro, it was deprecated on November 17, 2026. Starting December 8, 2026, existing accounts that don't set speech_models move to AssemblyAI-STT-3.7 by default. The model versions page has the full schedule.
Sync API: the middle option
The Sync API returns a finished transcript in the response to a single HTTP request. There's no WebSocket to manage and no job to poll. It runs on Universal-3.6 Pro (universal-3-6-pro), the only Sync model, at $0.30/hr across 32 languages, and the pricing page lists results back in about 134 ms at p50.
Limits from the Sync audio requirements:
POST https://sync.assemblyai.com/v1/transcribetakes a finished file from 80 ms to 20 minutes and up to 256 MB, in WAV, raw PCM, AAC, MP3, M4A, Ogg/Opus, FLAC or WebM.POST /v1/transcribe/livetakes audio while it's still being recorded, up to 120 seconds, in WAV or raw PCM. The SDKs send every request through this endpoint, so the SDKs' limit is 120 seconds.- Over-limit audio is rejected with a
413. Rate limits apply: a429means you passed 200 requests per minute, and a503means the server is at capacity. Retry both after theRetry-Afterheader.
The request, with the optional warm-up call that opens the connection before the audio is ready:
import os
import requests
session = requests.Session()
# Call as soon as you know audio is coming, so the handshake is already done.
session.get(
"https://sync.assemblyai.com/v1/warm",
headers={"X-AAI-Model": "universal-3-6-pro"},
timeout=10,
)
with open("sample.wav", "rb") as f:
audio = f.read()
response = session.post(
"https://sync.assemblyai.com/v1/transcribe",
headers={
"Authorization": os.environ["ASSEMBLYAI_API_KEY"],
"X-AAI-Model": "universal-3-6-pro",
},
files={"audio": ("sample.wav", audio, "audio/wav")},
timeout=60,
)
response.raise_for_status()
print(response.json()["text"])Sync fits short, finished audio where someone is waiting on the result: dictation, voice notes, voicemail, push-to-talk, IVR prompts, and voice-agent pipelines that detect the end of a turn themselves and send each completed utterance. It isn't built for chopping a long recording into pieces; send anything over 20 minutes to batch. For a deeper comparison of the two request-response modes, read sync vs async transcription, or see the Sync Speech-to-Text API page.
Where AssemblyAI-STT-3.7-Realtime changes the decision
For years, teams building notetakers streamed audio for the live view and then sent the recording to batch anyway, because live speaker labels used to settle only after the call. AssemblyAI-STT-3.7-Realtime was built to close that gap.
- Speaker labels at turn end. Speaker labels are final the moment a turn ends and are nearly as accurate as labels from pre-recorded audio. There's no revision pass to wait for.
- Accuracy on live audio. On short-form English it posts a 3.23% mean normalized word error rate, ahead of every other realtime provider AssemblyAI measured across 30 models from August to November 2026, including AWS Transcribe, ElevenLabs, Speechmatics, Google, Soniox and Deepgram, per the AssemblyAI-STT-3.7 launch post.
- One stream, 32 languages. Code switching is handled in a single session with automatic language detection.
Turning on live speaker labels is one parameter. This sample streams a 16 kHz, 16-bit mono PCM file at live speed:
import os
import time
from assemblyai.streaming.v3 import (
RealTimeEvents,
RealTimeParameters,
RealTimeTranscriber,
RealTimeTranscriberOptions,
TurnEvent,
)
def on_turn(client: RealTimeTranscriber, event: TurnEvent):
if event.end_of_turn:
print(f"Speaker {event.speaker_label}: {event.transcript}")
client = RealTimeTranscriber(
RealTimeTranscriberOptions(terminate_timeout=30.0),
api_key=os.environ["ASSEMBLYAI_API_KEY"],
)
client.on(RealTimeEvents.Turn, on_turn)
client.connect(
RealTimeParameters(
sample_rate=16000,
speech_model="assemblyai-stt-3-7-realtime",
speaker_labels=True,
)
)
with open("meeting.pcm", "rb") as f: # 16 kHz, 16-bit mono PCM
while chunk := f.read(3200): # 100 ms chunks, sent at live speed
client.stream(chunk)
time.sleep(0.1)
client.disconnect(terminate=True)The streaming diarization docs cover the full event shape. For voice agents, AssemblyAI-STT-3.7-Realtime-Agent returns the final transcript 86 ms after speech ends, so the LLM gets text it can act on as soon as the caller stops.
Batch still wins in four cases:
- Hardest audio. When a recording has heavy crosstalk, strong accents or dense terminology, full-file context still helps.
- Full-transcript Speech Understanding. Translation, summaries and other tasks that need the whole conversation run on the finished transcript.
- Archives and backfills. If nobody is waiting, there's no reason to hold a socket open; the batch rate is $0.21/hr.
- More than 32 languages. The Universal-2 fallback covers 99.
Get a free API key and run the sample above with AssemblyAI-STT-3.7-Realtime. Speaker labels land the moment each turn ends.
Real-time transcription requirements: network, session length, reconnects
What network bandwidth does real-time transcription need?
Raw 16 kHz, 16-bit mono PCM, the default streaming format, is 256 kbps of upstream audio (16,000 samples × 16 bits). Send it over a persistent WebSocket in chunks between 20 ms and 1,000 ms; the docs recommend 50 to 100 ms. Chunks outside that window close the session with error 3007.
- Default audio: mono 16-bit PCM,
sample_rateset to match your source - Compressed options: AAC (
encoding=aac), Ogg/Opus (ogg_opus) or raw Opus (opus) - Recommended chunk size: 50–100 ms
Can real-time transcription handle poor-quality network connections?
Yes, within limits. On a weak uplink, send a compressed encoding such as Opus or AAC instead of raw PCM to cut the bitrate, and keep chunks in the 50–100 ms range so a stall doesn't build a large backlog. If the socket drops, open a new session and resume streaming; a session that never receives Terminate stays open until it auto-closes.
- Handle WebSocket close codes in your client;
1008covers both rate-limit and credential problems - Retry a
1008only when the error text isToo many concurrent sessions, and back off to the next minute - Paid accounts start at 200 new sessions per minute; the limit rises 10% each minute you open 80% or more of it. Free accounts get 5. Details are on the streaming rate limits page.
How long can a streaming session run, and how is it billed?
A streaming session auto-closes after 3 hours. Streaming is billed on the time the WebSocket stays open, not the amount of audio you send, so send a Terminate message as soon as you're done.
- Session cap: 3 hours
- Billing basis: session duration
- AssemblyAI-STT-3.7-Realtime: $0.30/hr; AssemblyAI-STT-3.7-Realtime-Agent: $0.45/hr
Do I need a different API key or endpoint for real-time?
You use the same AssemblyAI API key for all three modes. What changes is the endpoint:
- Real-time:
wss://streaming.assemblyai.com/v3/ws, model set with thespeech_modelconnection parameter - Sync:
https://sync.assemblyai.com/v1/transcribe, model set with theX-AAI-Modelheader - Batch:
https://api.assemblyai.com/v2/transcript, model set withspeech_models
For a tour of products built on these endpoints, see the Streaming Speech-to-Text page and our roundup of live transcription tools.
Batch transcription limits and large files
What is the maximum file length for batch transcription?
AssemblyAI batch transcription accepts files from 160 ms to 10 hours long and up to 5 GB per request. Local files uploaded through /v2/upload can be up to 2.2 GB. Most audio and video formats are accepted as-is, with no transcoding.
- Duration: 160 ms to 10 hours
- Size: 5 GB by URL, 2.2 GB via
/v2/upload - Parallel jobs: 200 on paid accounts, 5 on free accounts by default
How do I batch process large audio files with an API?
Submit each file as its own job with a webhook_url, store the transcript ID, and let the webhook tell you when each one finishes. Your throughput is set by your parallel-job limit, so queue submissions to stay under it and retry failed uploads.
- Submit with
webhook_urlinstead of polling thousands of jobs - Send each recording whole: one file up to 10 hours is one job
- Pin
speech_models: ["assemblyai-stt-3-7"]so a default change never alters a backfill halfway through
Our guide to large-scale audio transcription covers queueing, retries and storage patterns in depth.
Hybrid patterns
Plenty of products use more than one mode, each where it fits:
- Live captions plus a batch record. Stream with AssemblyAI-STT-3.7-Realtime for on-screen captions, then send the recording to AssemblyAI-STT-3.7 for the archived transcript and analytics. If you also need Speech Understanding translation, run that request on Universal-2; it isn't supported on AssemblyAI-STT-3.7.
- Notetaker with live labels, no second pass. With speaker labels final at turn end, a notetaker can build speaker-attributed notes from the live stream alone and keep batch for long-tail languages or the hardest recordings.
- Voice agent plus Sync. Run AssemblyAI-STT-3.7-Realtime-Agent for the conversation, and use Sync for short one-off clips around it, such as a voicemail left after hours.
- Dictation with Sync. Record a voice note, post it to
/v1/transcribe/livewhile the person speaks, and show finished text as soon as they stop.
See current prices for real-time, Sync and batch transcription, plus every add-on, on one page.
How to choose: a decision checklist
Answer these in order:
- Does anyone need the words while the audio is still playing? Yes: real-time. Use AssemblyAI-STT-3.7-Realtime for meetings and captions, AssemblyAI-STT-3.7-Realtime-Agent if an agent will reply.
- Is the audio short and finished, with someone waiting? Yes: Sync, up to 20 minutes per request over HTTP.
- Is it a recording nobody is waiting on, or longer than 20 minutes? Batch with AssemblyAI-STT-3.7.
- Do you need speaker-attributed notes from a live meeting? Real-time with
speaker_labels: truenow covers this without a second batch pass for most audio. - Do you need more than 32 languages or full-transcript tasks like translation? Batch, with Universal-2 in
speech_modelsfor 99 languages.
| Use case | Mode | Model ID |
|---|---|---|
| Voice agent, phone bot | Real-time | assemblyai-stt-3-7-realtime-agent |
| Meeting notetaker, live captions | Real-time | assemblyai-stt-3-7-realtime |
| Dictation, voicemail, voice command | Sync | universal-3-6-pro |
| Post-call analytics, media archives, research interviews | Batch | assemblyai-stt-3-7 |
| Legal and medical documentation from recordings | Batch | assemblyai-stt-3-7 |
With live speaker labels nearly as accurate as labels from pre-recorded audio, the deciding question for many notetaker and captioning teams is when the text is needed. Batch remains the home for audio nobody is waiting on, the hardest recordings and full-transcript analysis.
Frequently Asked Questions (FAQs)
What is the difference between real-time and batch transcription?
Real-time transcription converts speech to text while it's spoken, streaming partial and final transcripts over a WebSocket. Batch transcription processes a finished recording and returns one complete transcript, using the whole file as context. Real-time suits live conversations and voice agents; batch suits recordings, archives and analytics.
How much accuracy do you give up with real-time transcription in 2026?
It depends on the audio. AssemblyAI-STT-3.7-Realtime produces speaker labels that are final at the end of each turn and nearly as accurate as labels from pre-recorded audio, and it posts a 3.23% word error rate on short-form English. Batch transcription with AssemblyAI-STT-3.7 still reads the full file, which helps most on the hardest recordings.
What network bandwidth does real-time transcription need?
Raw 16 kHz, 16-bit mono PCM needs about 256 kbps of upstream bandwidth over a persistent WebSocket. AssemblyAI's streaming API also accepts AAC and Opus, which need less. Send audio in 50 to 100 ms chunks.
What is the maximum file length for batch transcription?
AssemblyAI batch transcription accepts files up to 10 hours long and up to 5 GB per request, or 2.2 GB for local files sent through the upload endpoint. The minimum is 160 ms.
Does real-time transcription need a different API key or endpoint?
No new key is needed: the same AssemblyAI API key works for real-time, Sync and batch. The endpoints differ: real-time uses wss://streaming.assemblyai.com/v3/ws, Sync uses https://sync.assemblyai.com/v1/transcribe, and batch uses https://api.assemblyai.com/v2/transcript.
Is real-time transcription more expensive than batch?
AssemblyAI lists AssemblyAI-STT-3.7-Realtime at $0.30 per hour and AssemblyAI-STT-3.7-Realtime-Agent at $0.45 per hour, billed on session time. Batch AssemblyAI-STT-3.7 is $0.21 per hour of audio, and Sync is $0.30 per hour. Add-ons such as speaker diarization are priced separately on each.