Whisper
Whisper is an automatic speech recognition (ASR) system developed by OpenAI and released in September 2022.
Publisher review
Whisper is an automatic speech recognition (ASR) system developed by OpenAI and released in September 2022. It is designed for developers, researchers, and enterprises needing high-accuracy transcription across diverse languages and acoustic conditions. Unlike many commercial ASR services, Whisper is open-source, with models and inference code publicly available on GitHub, where the repository has over 102,000 stars. It is particularly suited for offline batch processing of audio, such as transcribing meetings, podcasts, or archival recordings, where real-time latency is not critical. The system targets users who value robustness to accents, background noise, and technical jargon, as well as those who need multilingual transcription or translation from various languages into English. Whisper's open-source nature allows self-hosting, giving users full control over data privacy and operational costs, though it requires technical expertise to deploy and maintain.
Whisper was trained on 680,000 hours of multilingual and multitask supervised data collected from the web, with one-third of the dataset being non-English. This large and diverse training set enables the model to handle accents, background noise, and technical language more effectively than many alternatives. The architecture is an end-to-end encoder-decoder Transformer: input audio is split into 30-second chunks, converted into a log-Mel spectrogram, and passed through an encoder. A decoder then predicts text captions intermixed with special tokens for tasks like language identification, phrase-level timestamps, multilingual transcription, and to-English speech translation. Whisper outperforms supervised state-of-the-art models on CoVoST2 to-English translation in a zero-shot setting, demonstrating its generalization capability. The model supports multiple languages and can translate from those languages into English, making it a versatile tool for global applications.
In the ASR market, Whisper competes with managed platforms such as Deepgram, AssemblyAI, Speechmatics, Azure AI Speech, and Google Cloud Speech-to-Text. Whisper's key differentiator is its open-source availability, which allows self-hosting and avoids per-minute API costs for high-volume users. However, managed services like Deepgram and AssemblyAI offer lower latency for real-time transcription and simpler integration, often with specialized models for specific domains. Speechmatics provides strong multilingual support, while Azure AI Speech and Google offer tight integration with their respective cloud ecosystems. Whisper's accuracy is often cited as superior for noisy audio and diverse languages, as noted in Reddit discussions where users report it outperforms alternatives for non-English transcription. Yet, its batch-processing design makes it less ideal for live captioning or interactive voice applications.
The honest trade-offs with Whisper include its higher operational complexity compared to managed platforms, as self-hosting requires infrastructure setup, model management, and ongoing maintenance. For real-time transcription, Whisper is less suitable due to its 30-second chunk processing, which introduces latency. The model may also infer plausible sentences instead of leaving blanks in unclear audio, a behavior known as hallucination, which can be problematic for critical accuracy. Pricing for OpenAI's hosted Whisper API is $0.006 per minute for gpt-4o-transcribe and $0.003 per minute for gpt-4o-mini-transcribe, which is higher than self-hosted options where users only pay for compute. Community discussions on the OpenAI forum highlight that the API can be up to 10 times more expensive than running the model locally, making cost a significant factor for high-volume users. Despite these drawbacks, Whisper's accuracy, language support, and open-source flexibility make it a strong choice for batch transcription tasks.
How it works
-
Multilingual transcription
Supports transcription in multiple languages, trained on 680,000 hours of data with one-third non-English.
-
Translation to English
Enables translation from various languages into English, outperforming SOTA on CoVoST2 zero-shot.
-
Open-source availability
Models and inference code are open-sourced on GitHub, with over 102,000 stars and 12,500 forks.
-
Robustness to noise
Handles accents, background noise, and technical language due to diverse training data.
-
End-to-end Transformer
Encoder-decoder Transformer processes 30-second audio chunks into log-Mel spectrograms for transcription.
-
Phrase-level timestamps
Outputs phrase-level timestamps and language identification via special tokens in the decoder.
-
Self-hosting capability
Allows local deployment to avoid per-minute API costs, though requires technical setup.
Strengths and trade-offs
Strengths
- High accuracy on diverse audio, outperforming supervised SOTA on CoVoST2 to-English translation in zero-shot settings.
- Robust to accents, background noise, and technical language due to training on 680,000 hours of web data.
- Handles multiple languages effectively, with one-third of training data being non-English for broad language support.
- Open-source models and inference code enable self-hosting, giving users full data privacy and cost control.
Trade-offs
- Less ideal for real-time transcription due to processing audio in 30-second chunks, introducing latency.
- May infer plausible sentences instead of leaving blanks in unclear audio, leading to hallucination errors.
- Higher operational complexity compared to managed platforms like Deepgram or AssemblyAI for deployment and maintenance.
- API pricing at $0.006 per minute for gpt-4o-transcribe is higher than self-hosted options, which only incur compute costs.
Pricing context
OpenAI hosted API: $0.006 per minute for gpt-4o-transcribe, $0.003 per minute for gpt-4o-mini-transcribe. Self-hosted version incurs only compute costs (e.g., GPU time).
Getting started with Whisper
-
Install Whisper locally
Open a terminal and run `pip install openai-whisper` to install the Python package. Ensure you have a compatible GPU and CUDA installed for faster inference, though CPU-only operation is possible.
-
Download a model checkpoint
Choose a model size (tiny, base, small, medium, large) based on your accuracy and speed needs. Run `whisper --model medium` to download the medium model automatically on first use.
-
Transcribe an audio file
Run `whisper audio.mp3 --model medium --language English` to transcribe a local audio file. The command outputs text with timestamps by default. For multilingual transcription, specify the target language.
-
Translate speech to English
Add the `--task translate` flag to your command, e.g., `whisper audio.mp3 --model medium --task translate`. This converts non-English speech into English text, useful for multilingual content.
-
Schedule batch transcription
Write a Python script using the `whisper` library to process multiple audio files in a loop. Use `whisper.load_model("medium")` and call `model.transcribe()` for each file. Run the script as a cron job or scheduled task for regular processing.
Frequently Asked Questions
What is OpenAI Whisper and how does it work?
Whisper is an open-source automatic speech recognition system from OpenAI, released in September 2022. It uses an end-to-end encoder-decoder Transformer trained on 680,000 hours of multilingual data. Audio is split into 30-second chunks, converted to log-Mel spectrograms, and processed for transcription or translation.
Is Whisper good for multilingual transcription and translation?
Yes, Whisper supports transcription in multiple languages and translation into English, with one-third of its training data being non-English. It outperforms supervised state-of-the-art models on CoVoST2 to-English translation in zero-shot settings, making it robust for diverse languages and accents.
Can I self-host Whisper to avoid API costs?
Yes, Whisper is open-source on GitHub with over 102,000 stars, allowing self-hosting. You only pay for compute costs like GPU time, avoiding per-minute API fees. However, self-hosting requires technical expertise for infrastructure setup, model management, and ongoing maintenance.
How does Whisper compare to Deepgram or AssemblyAI?
Whisper offers open-source self-hosting and superior accuracy on noisy audio and diverse languages, but managed services like Deepgram and AssemblyAI provide lower latency for real-time transcription and simpler integration. Whisper's batch-processing design makes it less ideal for live captioning.
What are the main drawbacks of using Whisper?
Whisper processes audio in 30-second chunks, introducing latency unsuitable for real-time use. It may hallucinate plausible sentences in unclear audio, and self-hosting adds operational complexity. The hosted API costs $0.006 per minute for gpt-4o-transcribe, which is higher than running the model locally.
What is Whisper's pricing for the hosted API?
OpenAI's hosted Whisper API charges $0.006 per minute for gpt-4o-transcribe and $0.003 per minute for gpt-4o-mini-transcribe. Self-hosting incurs only compute costs, such as GPU time, which can be significantly cheaper for high-volume users, though it requires technical setup.
Alternatives
How Whisper compares
Direct head-to-head against 2 competitors. Picked by 7wData.
Whisper
- Pricing
- OpenAI hosted API: $0.006 per minute for gpt-4o-transcribe, $0.003 per minute for gpt-4o-mini-transcribe. Self-hosted version incurs only compute costs (e.g., GPU time).
- Target
- Whisper is an automatic speech recognition (ASR) system developed by OpenAI and released in September 2022.
- Strength
- High accuracy on diverse audio, outperforming supervised SOTA on CoVoST2 to-English translation in zero-shot settings.
- Watch for
- Less ideal for real-time transcription due to processing audio in 30-second chunks, introducing latency.
Deepgram
- Pricing
- $0.005/sec
- Target
- Enterprise, healthcare, contact centers
- Deployment
- Cloud, on-prem
- Strength
- 90%+ accuracy, <300ms latency
- Watch for
- Complex pricing tiers
Gladia
- Pricing
- Custom/Contact sales
- Target
- Multilingual real-time transcription
- Deployment
- Cloud
- Strength
- Universal STT, fluent in any language
- Watch for
- Limited public pricing details
User reviews
No user reviews yet. Be the first to write one.
Sources
Reporting on this tool draws on these publicly available sources.