New Universal-3.5 Pro is here. Learn more: Async Realtime
JavaScript SDK

Add speech-to-text to Node and TypeScript

Install the SDK, create a client with your API key, and await a single transcribe call—fully typed, promise-based, and it polls for you. Start free, no credit card.

One npm install

npm install assemblyai adds typed speech-to-text to any Node or TypeScript project.

Async by default

Await a single transcribe call and get a typed result back—the SDK handles upload and polling for you.

Typed responses

Full TypeScript types on the transcript object mean autocomplete on text, utterances, and entities.

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.”

Quickstart

From npm install to transcript in minutes

Set your API key as an env var, run npm install assemblyai, and paste a few lines into a script. Run it and the transcript prints—no servers, no manual polling loop.

Start building free

No credit card required

Word error rate

Word error rate is the share of words the model gets wrong against a human reference—the standard measure of transcription accuracy on pre-recorded audio.

Pre-recorded word error rate on English audio.

*Lower is better*
AssemblyAI Universal-3 Pro
4.50%
OpenAI GPT-4o Transcribe
5.34%
Deepgram Nova-3
6.66%
Azure Batch
7.02%

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