Skip to content

Speech recognition

Speech Recognition: What It Is and How Well It Works

Speech recognition turns the sound of speech into text by converting audio into acoustic features and searching for the most probable words, and since about 2012 single neural networks trained on hundreds of thousands of hours of audio have replaced hand-built chains of models. On clean, read English the best systems now miss only a word or two in a hundred, but accuracy still depends on the audio, the speaker, the vocabulary and whether the model streams or runs on your own device, so word error rate measured on audio like yours is the number that matters.

Updated October 28, 202619 min read62 cited facts, each traced to its source

680,000hours of training audio

OpenAI's Whisper speech recognition models were trained on 680,000 hours of multilingual and multitask audio with transcripts.

Alec Radford et al., arXiv (eess.AS), 2022

2.1percent word error rate

The Conformer model reached word error rates of 2.1 percent on LibriSpeech test-clean and 4.3 percent on test-other without a language model, and 1.9 and 3.9 percent with one.

Anmol Gulati et al., arXiv (Interspeech 2020), 2020

5.9percent word error rate

On the NIST 2000 Switchboard test of telephone conversations, professional human transcribers had a word error rate of 5.9 percent, and 11.3 percent on the harder CallHome conversations.

W. Xiong et al., arXiv (Microsoft Research), 2017

9.4times

Whisper Large V2 has about 9.4 times the word error rate on CHiME6 that it has on LibriSpeech Clean.

How it is calculated

Guides in this topic

Each guide takes one part of the subject in depth.

Data on this topic

Open datasets: every figure comparable, traced to its source and downloadable.

Speech recognition (also called automatic speech recognition, ASR, or speech to text) is software that turns spoken audio into written words. Modern systems do it with one neural network that listens to a recording and writes the transcript directly. On clean, read English a Conformer model reached a word error rate of 2.1 percent on the LibriSpeech clean test set 1, but Whisper Large V2 makes about nine times as many errors on dinner-party recordings with distant microphones as on clean read speech 2. That gap, not the headline score, is what decides whether a recognizer works for you.

This page is the overview of the whole subject. Each section gives the short answer and the evidence, then points to a guide that goes deeper. If you want to use recognition rather than understand it, start with our overview of dictation, which covers talking to your computer in practice.

Speech recognition finds the most probable words for a sound

A recognizer solves a search problem. It takes a sound wave, turns it into numbers, and looks for the word sequence that most probably produced those numbers. The classic recipe splits the work into three models: an acoustic model that maps short slices of sound to speech sounds, a pronunciation dictionary that maps sounds to words, and a language model that scores which word sequences are plausible ("recognize speech" beats "wreck a nice beach"). A decoder then searches for the best path through all three.

Before any model runs, the audio is prepared. It is sampled, cut into short overlapping frames, and converted into a mel spectrogram, a picture of how much energy the sound has at each pitch over time. The model never sees the raw waveform in most systems, only this picture. Our guide to how speech recognition works walks through each stage with an example.

The last step matters more than people expect. A raw recognizer outputs lowercase words with no punctuation, and a separate step restores capital letters, commas and numbers (for example turning "twenty twenty six" into "2026"). This is called inverse text normalization, and it is one reason the same engine can look better or worse in different products.

Common questions about the basics have short answers of their own: is speech recognition AI, is it NLP, how it differs from voice recognition (which identifies who is speaking, not what they say), and what it is used for.

The field moved from three hand-built models to one network

For decades, speech recognition was an engineering project in assembling parts. In 1952, Bell Laboratories built a system that recognized isolated spoken digits from a single speaker 3. A machine called AUDREY recognized the digits zero to nine with 90 percent accuracy, but only when its inventor spoke 4. Most systems then used hidden Markov models to handle the timing of speech and Gaussian mixture models to score the sound 5, and in April 1997 Dragon Systems unveiled NaturallySpeaking, the first general-purpose, large-vocabulary continuous speech recognition product 6.

The next break came from deep learning. A 2012 paper wrote that deep neural networks with many hidden layers, trained with new methods, have been shown to outperform Gaussian mixture models on a variety of speech recognition benchmarks 7, and they took over the acoustic model inside the old pipeline. The bigger change followed: networks that learn the whole job end to end. A key obstacle was alignment. Alex Graves wrote in 2012 that recurrent networks traditionally required a pre-defined alignment between input and output sequences, and proposed a transduction system that learns the alignment itself 8. That idea, along with connectionist temporal classification (CTC) and attention-based encoder-decoders, is the basis of everything in the next section.

A milestone showed how far this had gone. In 2017, Microsoft reported that its system reached a word error rate of 5.8 percent on the Switchboard telephone conversations 9, slightly below the 5.9 percent of professional human transcribers on the same test 10. The claim of "human parity" was measured on one benchmark of two-person phone calls, and the Whisper results below show that such scores do not carry over to every kind of audio. The full story, from Audrey to Whisper, is in our history of speech recognition, and the questions who invented speech recognition and which papers are the important ones have short answers.

Three kinds of neural network now do the work

Today's recognizers are neural networks with an encoder that turns the spectrogram into a sequence of internal representations and a decoder that turns those into text. The encoder is often a Conformer, a design from Google that combines convolution, which captures local sound detail, with transformer self-attention, which captures long-range context. On the LibriSpeech benchmark, the Conformer reached word error rates of 2.1 percent on the clean test set and 4.3 percent on the harder one without a language model 1.

The three families differ in how the decoder works:

FamilyHow it writes textStrengthWeaknessTypical use
CTC ( connectionist temporal classification)Predicts a letter or word piece for every audio frame, then collapses repeats and blanksVery fast, simple, easy to run in batchesEach output is chosen without looking at the previous ones, so it leans on an external language modelFast offline transcription, keyword spotting
Transducer ( RNN-T and TDT)Adds a small prediction network that remembers what was already written, and decides frame by frame whether to emit a tokenStreams naturally, accurateMore complex to trainLive captions, phone dictation
Attention encoder-decoder (Whisper style)Reads the whole encoded audio and writes text one token at a time, like a language modelAccurate, handles many languages and tasksSlower, needs a chunk of audio before it starts, can invent textBatch transcription, translation

The Open ASR Leaderboard, which compared 86 open-source and proprietary systems across 12 datasets 11, states the tradeoff directly. Conformer-based encoders paired with transformer-based decoders achieve the best average word error rate 12, while token-and-duration transducer (TDT) decoders offer superior speed, which makes them better suited for long-form and batched processing 13.

Training is mostly data. Supervised models learn from audio paired with human transcripts. Self-supervised models such as wav2vec 2.0 first learn the structure of speech from audio alone. With all of LibriSpeech's labeled data, wav2vec 2.0 reached 1.8 percent word error rate on the clean test set and 3.3 percent on the other set 14, and with only ten minutes of labeled data, after pre-training on 53,000 hours of unlabeled audio, it still reached 4.8 and 8.2 percent 15. That result points toward recognizers for languages with few transcribed recordings.

Our guide to speech recognition models covers architectures and training in detail. Related questions: how models are trained, the best neural network for speech recognition, and whether large language models can do speech recognition. Some systems, such as NVIDIA Canary Qwen 2.5B, pair a speech encoder with a language-model decoder 16, a design the models guide explains.

Whisper made accurate recognition free and open

Whisper is the model most people have heard of, and the reason is scale and licensing. OpenAI trained it on 680,000 hours of multilingual and multitask audio with transcripts 17, far more than the 1,000 hours of read English in LibriSpeech 18. The authors report that compared with humans, the models approach human accuracy and robustness 19. The code and model weights use the MIT License 20, so anyone can run, modify and ship them.

Whisper comes in sizes. The smallest, tiny, has 39 million parameters and needs about 1 GB of memory 21. The largest has 1,550 million parameters and needs about 10 GB 22. That range is why Whisper runs on a phone at one end and a data-center GPU at the other, and why "Whisper" alone does not tell you how accurate a given app is.

Whisper has well-known limits. It processes audio in fixed-length windows, so it is not built for live streaming without extra engineering, and it can hallucinate (see the accuracy section). Our guides explain what Whisper is and how to run Whisper on your own computer. Quick answers: is Whisper free, who owns it, can it identify speakers (not by itself; that is speaker diarization), which model size is best, and Whisper versus Google speech to text.

Word error rate counts wrong words, and the denominator is easy to misread

The standard accuracy number is word error rate (WER): the number of substituted, deleted and inserted words divided by the number of words actually spoken. Researchers describe it as a standard measure of the discrepancy between machine and human transcriptions 23, and the formula puts the total number of words in the correct transcript in the denominator 24. A WER of 5 percent means about 5 wrong words in every 100 spoken. Because insertions count, WER can exceed 100 percent for a badly broken transcript 25.

Three habits make the number honest:

  1. Check what was normalized. The Open ASR Leaderboard, for example, removes punctuation and casing, and drops fillers such as "um," before scoring 26. A transcript that is perfect in words but has no punctuation has no word errors on such a test, yet is harder to read.
  2. Check the audio. Whisper Large V2 scored 2.7 percent on LibriSpeech Clean 27, 13.8 percent on the Switchboard phone conversations 28, and 25.5 percent on CHiME6, recordings of dinner-party conversations 29. That is about 9.4 times the error rate on CHiME6 as on clean audio 2.
  3. Check the sample size. A single recording tells you little. In a 2025 test of one 7-minute-31-second episode, Apple's speech API had a WER of 10.3 percent against 1.5 percent for Whisper Large V3 Turbo 30, a useful illustration but not a ranking of the products.

Our guide to word error rate explains the calculation step by step, including a Python version. Short answers: what a good word error rate is, how to calculate it, how to calculate it in Python, whether it can be over 100 percent, how it differs from character error rate, and WER versus accuracy.

Accuracy is excellent on clean speech and falls with noise, distance and difference

The honest summary of accuracy is a range, not a number. Best-case figures on benchmarks of read speech are very low: 1.8 to 4.3 percent on the LibriSpeech test sets 14 1. Real use is harder. Our guide to how accurate speech recognition is collects the numbers; the main factors are these.

Distance and noise

A microphone far from the speaker hurts more than most people expect. In a 2017 study, decoding close-talking sentences recorded in a studio gave a WER of 3.7 percent 31, while a single distant ceiling microphone in an apartment gave 12.0 percent 32. That is about 3.2 times the close-talk rate 33. The authors note that distant speech recognition still lacks robustness when noise and reverberation are present 34. Narrower telephone-style bandwidth costs accuracy too, though less on clean speech: in a preliminary Wall Street Journal test, the same recognizer gave 8.12 percent WER on wideband 16 kHz speech and 8.67 percent on narrowband 8 kHz speech 35 36. Practical advice on microphones is in our guides to dictation microphones and dictation in background noise.

Accents, age and speech differences

Accuracy is not equal across speakers. A study of five commercial systems found an average word error rate of 0.35 for Black speakers and 0.19 for white speakers 37, and traced the gap to the acoustic models 38. Children are a hard case too: fine-tuning Whisper-Small on children's speech cut its error rate on the MyST test set from 13.93 percent to 9.11 percent 39. Whispered speech is harder again: a 2024 baseline test gave Whisper 18.8 percent WER on whispered speech 40. And for people who stutter, technical changes to a consumer recognizer improved WER from 25.4 percent to 9.9 percent 41, which shows that much of the gap is fixable once someone tests for it. See the questions is speech recognition biased and is speech recognition more accurate than humans, and our overview of accessibility for how speech tools serve people with different speech.

Hallucination and names

Newer end-to-end models fail differently from older ones. They do not merely garble a word; sometimes they write fluent text that was never said. A 2024 study found that roughly 1 percent of Whisper's audio transcriptions contained entire hallucinated phrases or sentences 42, and 38 percent of those hallucinations included explicit harms such as violence or false authority 43. Silence handling is one defense (see the voice activity section). Rare names, drug names and brand names are the other recurring failure, because the model has seen them little. Read why Whisper hallucinates and why recognizers get names wrong.

Finally, independent measurements show the services are not interchangeable. A study of eleven common ASR services on university lecture recordings 44 concluded that, despite recent improvements, common ASR services lack reliability in accuracy 45.

Machines and human transcribers can be compared on the same phone calls

Switchboard is a test where machines and professional human transcribers were scored on identical recordings, so it shows how the claim of parity was made. Our dataset holds 864 word error rates 46 from 70 sources 47, and the chart above is the slice for this one benchmark. Read it as a comparison on conversational phone audio only, since the ranking changes on read speech or distant microphones. Every row links to its source in the full dataset.

Benchmarks are useful only if you know what they measure

A benchmark is a fixed set of recordings with human reference transcripts, scored by WER. The comparisons in this field rest on a handful of them, and each has a bias.

BenchmarkWhat it containsBest forWatch out for
LibriSpeech1,000 hours of read English from audiobooks, with clean and harder "other" test sets 18Comparing research modelsClean read speech, now nearly saturated
Common VoiceCrowdsourced read sentences; 2,500 hours from over 50,000 people by 2019 48Many languages and accentsMicrophone quality varies, read not spontaneous
SwitchboardTwo-person telephone conversationsConversational speechOld, telephone bandwidth, American English
CHiME6Dinner-party conversations recorded with distant microphonesHard, noisy far-field audioVery difficult, rarely reported by vendors
Open ASR Leaderboard86 systems on 12 datasets, scoring WER and speed 11Comparing open and commercial models side by sideEnglish short-form track dominates headlines

Two cautions. First, models are often trained on data close to the test sets, so a public benchmark can flatter them. Second, vendors choose which benchmark to quote. A vendor claim of "99 percent accuracy" is a word error rate of 1 percent on whatever test the vendor chose; it says nothing about your meeting room. Our guides to speech recognition benchmarks cover each dataset, and the questions what the Open ASR Leaderboard is, which speech to text model is the most accurate and why accuracy claims differ go further.

Open models are competitive on accuracy, and speed varies widely

The leaderboard reports two numbers per model: average WER and inverse real-time factor (RTFx), the seconds of audio transcribed per second of compute. The real-time factor is its inverse. On the English short-form track, NVIDIA Canary Qwen 2.5B averaged 5.63 percent WER at an RTFx of 418 16. NVIDIA Parakeet TDT 0.6B v2 averaged 6.05 percent at an RTFx of 3,390 49. OpenAI Whisper Large v3 averaged 7.44 percent at an RTFx of 146 50.

Read the two charts together. Parakeet is about 23 times faster than Whisper Large v3 51 and also more accurate on English, but it was built for English at first and later extended: Parakeet TDT 0.6B v3 has 600 million parameters 52 and covers 25 European languages 53, while Whisper covers many more. NVIDIA says its models are designed or optimized to run on NVIDIA GPU-accelerated systems 54, so measure speed on your own machine before assuming the figures above apply to a laptop. For a small project, choose by language coverage first, accuracy second and speed third.

Our guide to open-source speech recognition compares the leading models, licenses and hardware needs. Quick answers: Whisper alternatives, what Vosk is, and what NVIDIA Parakeet is. If you want to write code, the guide to speech recognition in Python compares libraries, with companion questions on JavaScript, React Native and Unity and Unreal, plus the common network error in browsers.

Real-time recognition trades some accuracy for speed

Batch recognition waits for the whole recording, so it can use the entire context. Streaming recognition returns words while you are still talking, so the model may see only a little future audio. The cost is accuracy: a study of eleven ASR services found significantly lower quality for streaming speech recognition, the kind used for live events 55. A streaming result is also provisional; words near the end of the latest audio can change as more context arrives.

BatchStreaming
InputA complete fileA live audio stream
OutputFinal transcript after processingPartial words that update, then final text
ContextWhole recordingPast plus a short look-ahead
Typical modelsWhisper, CTC and TDT modelsTransducers, streaming Conformers
Best forInterviews, podcasts, lecturesDictation, live captions, voice assistants
Main metricWER and RTFxWER and delay from speech to text

A real-time system also needs to know when you start and stop talking. That job belongs to a voice activity detector ( VAD). It labels each slice of audio as speech or not, so the recognizer skips silence and the app knows when to finalize a sentence. A good VAD is tiny: the open-source Silero VAD reports that one audio chunk of 30 ms or more takes less than 1 millisecond on a single CPU thread 56. VAD can also reduce hallucination, because a model that is never shown long silences has less opportunity to invent text over them.

Our guide to real-time speech recognition covers latency in detail. Related questions: can Whisper transcribe in real time, which speech to text API is fastest, and how recognition knows when you stop talking.

On-device recognition removes the network and keeps audio local

For years, accurate recognition meant sending audio to a server. Google's traditional server-side recognizer used a search graph of almost 2 GB, too large for a phone 57. In 2019, Google announced an end-to-end, all-neural, on-device recognizer for Gboard 58, with an 80 MB model that works offline 59, first for American English on Pixel phones, and said it offered the same accuracy as its server-based models in a much smaller model 60. Apple says that, on a Mac, voice inputs and transcripts for general text Dictation are processed on your device and not sent to Siri servers 61.

On-deviceCloud
Works offlineYesNo
LatencyNo network round tripDepends on connection
PrivacyAudio stays on your deviceAudio is sent to a provider
Model sizeLimited by phone or laptop memoryUnlimited
Languages and vocabularyFewer, smallerBroadest, updated centrally
CostPaid by your hardware and batteryBilled by the minute or hour

For many uses the choice comes down to privacy, connection and cost. Yap, which we make, runs its dictation on the device on Mac and Windows; see the download page if you want to try that approach. For built-in options, see our guides to offline dictation on Mac and to voice privacy, which covers what providers do with audio.

Our guide to on-device versus cloud speech recognition lays out the tradeoffs. Related questions: Google's speech recognition and synthesis service, speech recognition on a Raspberry Pi, and whether on-device recognition is as accurate as cloud.

Speech-to-text APIs differ more in price and features than in accuracy

If you build a product, you will probably rent recognition by the minute. A speech-to-text API is a web service that returns a transcript for audio you send. The main providers (Google, Microsoft, Amazon, OpenAI, AssemblyAI, Deepgram and others) differ in price, supported languages, whether they stream, and extras such as speaker labels, punctuation and custom vocabulary. Google, for example, documents model adaptation, which increases the recognition model's bias toward some phrases more than others 62.

Choose with a test, not a table. Take a sample of your own audio, with a human-corrected transcript, run it through each candidate, and compare WER on the terms that matter, such as names and product words. Our guide to speech-to-text APIs compared gives the framework and the main providers. Quick answers: a free speech to text API, whether Google speech to text is free, how to use the Google API, OpenAI speech to text API pricing, and whether Gemini has a speech to text API. For file transcription without code, try our free audio to text tool in the browser, and for the wider topic see our overview of transcription.

A short guide to choosing

The right choice depends on three questions: what the audio is like, whether it must be live, and where the audio may go.

  • Clean audio, a headset, English, a draft you will edit. Any current engine works. Use the free one built into your device.
  • Recordings: interviews, lectures, calls. Use a batch model such as Whisper or Parakeet. Expect to proofread names and numbers.
  • Live dictation or captions. Use a streaming transducer, on-device if audio must stay private.
  • Accents, children, noise or medical vocabulary. Test on your own audio before choosing, and plan to add custom vocabulary or fine-tune.
  • Quoted accuracy without a test set. Treat it as marketing.

For a detailed comparison of apps built on these engines, see our overview of dictation software. For the larger picture of voice interfaces and assistants, see voice and AI, and for non-English recognition see our overview of languages.

Where to go next

Everything above has a deeper page. Pick by what you need:

If you want to knowRead
How audio becomes text, step by stepHow speech recognition works
What the neural networks areSpeech recognition models
What Whisper isWhat is Whisper AI
How to run Whisper yourselfRun Whisper locally
How to read an accuracy numberWord error rate
How accurate recognition really isSpeech recognition accuracy
Which test sets existBenchmarks and leaderboards
Free models you can runOpen-source speech recognition
Live and low-latency useReal-time speech recognition
Phone and laptop versus serverOn-device versus cloud
Paid web servicesSpeech-to-text APIs
Writing codeSpeech recognition in Python
Where it all came fromHistory of speech recognition

The one habit worth keeping from this page is to ask what audio a number was measured on. A recognizer that makes 2.7 errors per 100 words on audiobooks 27, 13.8 on phone calls 28 and 25.5 on dinner-party recordings 29 is the same recognizer, and only a test on your own audio tells you which of those you will get.

Evidence

Every number on this page, with where it comes from. Open a fact to see the exact words in its source.

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
  10. 10.
  11. 11.
  12. 12.
  13. 13.
  14. 14.
  15. 15.
  16. 16.
  17. 17.
  18. 18.
  19. 19.
  20. 20.
  21. 21.
  22. 22.
  23. 23.
  24. 24.
  25. 25.
  26. 26.
  27. 27.
  28. 28.
  29. 29.
  30. 30.
  31. 31.
  32. 32.
  33. 33.
  34. 34.
  35. 35.
  36. 36.
  37. 37.
  38. 38.
  39. 39.
  40. 40.
  41. 41.
  42. 42.
  43. 43.
  44. 44.
  45. 45.
  46. 46.
  47. 47.
  48. 48.
  49. 49.
  50. 50.
  51. 51.
  52. 52.
  53. 53.
  54. 54.
  55. 55.
  56. 56.
  57. 57.
  58. 58.
  59. 59.
  60. 60.
  61. 61.
  62. 62.

The data behind these numbers

Questions people ask

Terms in this topic

Referenced by