New Universal-3.5 Pro is here. Learn more: Async Realtime
JavaScript speech-to-text API

The speech-to-text API for JavaScript developers

Transcribe audio files or live microphone streams from Node, TypeScript, or the browser. One typed SDK returns accurate text with timestamps and speaker labels—no Web Speech API quirks. Start free, no credit card.

Typed end to end

npm install assemblyai gives you a TypeScript-first SDK—autocomplete on every field of the transcript, from utterances to entities.

Real-time from the mic

Stream audio over a WebSocket and partial and final transcripts come back within a few hundred milliseconds—in every browser, not just Chrome.

Audio files to text

Await one transcribe call with a file or URL and the SDK handles upload and polling, returning formatted text with timestamps.

Metaview
Ashby
Cluely
Genio
Siro

36%

improvement in close rate

See case study
LiveKit
Earmark
Commure
Dovetail
Fireflies

“The new Universal-3.5 Pro speech model from AssemblyAI is best so far in terms of accuracy, latency, and language switching.”

Retell
CallRail
Apollo.io
ClickUp
Calabrio

80%

increase in customer satisfaction

HeyGen
Granola
Siro
JotPsych
Granola

“Assembly has saved us countless hours managing models, and provided exceptional accuracy.”

Metaview
Ashby
Cluely
Genio
Siro

36%

improvement in close rate

See case study
LiveKit
Earmark
Commure
Dovetail
Fireflies

“The new Universal-3.5 Pro speech model from AssemblyAI is best so far in terms of accuracy, latency, and language switching.”

Retell
CallRail
Apollo.io
ClickUp
Calabrio

80%

increase in customer satisfaction

HeyGen
Granola
Siro
JotPsych
Granola

“Assembly has saved us countless hours managing models, and provided exceptional accuracy.”

Browser vs server

More reliable than the Web Speech API

The browser's built-in SpeechRecognition is free, but it's Chromium-biased, inconsistent across browsers, and gives you no control over the model or your users' audio. A speech-to-text API runs server-side: the same accuracy in Chrome, Safari, and Firefox, plus speaker labels, timestamps, and audio that stays under your data agreement.

Start building free

No credit card required

Streaming word error rate

Word error rate is the share of words the model gets wrong against a human reference—the standard measure of accuracy for live, streaming transcription.

Streaming word error rate on English audio.

*Lower is better*
Streaming word error rate (English)
AssemblyAI Universal-3.5 Pro Realtime
5.53%
Deepgram Flux
8.87%
Deepgram Nova-3
9.39%
Cartesia
10.10%

Source: AssemblyAI published benchmarks — assemblyai.com/benchmarks.

Common questions