
For AI engineers and developers building latency-sensitive applications, the challenge isn’t just accuracy—it’s speed. While local solutions like Vibe are excellent for privacy-focused offline tasks, high-scale production environments require a robust, scalable infrastructure for real-time AI streaming.
The Challenge of Real-Time Speech-to-Text
Standard implementations of OpenAI’s Whisper often suffer from high latency when processing continuous audio streams. To achieve ‘nearly-live’ transcription, a client-server architecture is required to offload compute-heavy inference to dedicated hardware.
WhisperLive solves this by providing a high-performance server that can handle multiple concurrent clients, supporting various hardware acceleration backends to minimize the gap between speech and text.
Choosing the Right Backend

Performance depends heavily on your hardware stack. Depending on whether you are running on an NVIDIA GPU, an Intel CPU, or an AMD GPU, you will need to select the appropriate backend to optimize throughput and latency.
| Backend | Best Use Case | Hardware Requirement |
|---|---|---|
| faster_whisper | General purpose/Ease of use | CPU or NVIDIA/AMD GPU |
| TensorRT | Maximum throughput | NVIDIA GPU (requires engines) |
| OpenVino | Intel-optimized performance | Intel CPU/GPU/NPU |
Implementing the Server
Setting up the server involves selecting your backend and configuring model paths. If you are utilizing the WhisperLive repository, you can start immediately with the Faster Whisper backend.
Faster Whisper Setup
The simplest way to get started is using the faster_whisper backend. This allows for quick deployment on most hardware configurations.
python3 run_server.py --port 9090 \
--backend faster_whisper \
--max_clients 4 \
--max_connection_time 600
TensorRT for Maximum Performance
For production-grade NVIDIA environments, the TensorRT backend offers the lowest latency. Note that you must build your TensorRT Engines before execution. In the command below, the -trt flag specifies the path to your engine, and the -m flag is used to enable multilingual support.
# Running a multilingual model with TensorRT backend
python3 run_server.py -p 9090 \
-b tensorrt \
-trt /home/TensorRT-LLM/examples/whisper/whisper_small \
-m \
--max_clients 4 \
--max_connection_time 600
Managing Server Resources
To maintain stability, you can control the number of threads used by OpenMP using the OMP_NUM_THREADS environment variable. Additionally, be aware of the Single Model Mode. By default, a new model is instantiated for every client to allow different model sizes per request. However, when using custom models via -fw or -trt, the server reuses a single instance for all connections to save VRAM. You can disable this behavior using the --no_single_model flag.
Deploying the Client
Once your server is live, the client can connect to stream audio for transcription. You can use a Python script or a specialized browser extension to facilitate this.
Python Client Implementation
The Python client provides granular control over language, translation, and Voice Activity Detection (VAD). For a seamless web experience, we recommend using the Audio Transcription browser extension.
from whisper_live.client import TranscriptionClient
client = TranscriptionClient(
"localhost",
9090,
lang="en",
translate=False,
model="small",
use_vad=False,
save_output_recording=True,
output_recording_filename="./output_recording.wav",
mute_audio_playback=False,
enable_translation=True,
target_language="hi",
initial_prompt=None
)
- lang: Target language for transcription.
- translate: Set to
Trueto translate any language into English. - use_vad: Enables Voice Activity Detection to improve efficiency.
- save_output_recording: Records the microphone input as a
.wavfile.
The Future of Conversational AI
The complexity of managing these backends and server-side optimizations is justified by the massive leap in user experience. As Marcus Edel, our Machine Learning Lead, puts it:
“The future of customer interaction lies in the harmonious fusion of sophisticated AI and powerful communication technologies. As we continue our mission and build fully in the open, WhisperLive… [is] poised to make an impact in the communication technology landscape.”
This vision of seamless, real-time interaction is being realized in various high-stakes environments, from ultra-low-latency AI chatbots to automated meeting transcription services. By leveraging WhisperLive, developers can build the next generation of interactive AI applications.
Ready to scale your transcription services? Check out the WhisperLive repository to get started today!

