New Tool Radar

Local AI

How to Install Faster-Whisper with pip for Local Transcription

Install faster-whisper from PyPI, load a model, and transcribe one audio file to check the whole path works.

Schematic diagram with three steps: run pip install faster-whisper, load a Whisper model in Python, and transcribe an audio file to text.

faster-whisper is a reimplementation of OpenAI’s Whisper model using CTranslate2, a fast inference engine for Transformer models. The README says it is up to 4 times faster than openai/whisper for the same accuracy while using less memory, and unlike openai-whisper it does not need FFmpeg installed on the system — audio is decoded with PyAV, which bundles the FFmpeg libraries.

Install and transcribe one file

pip install faster-whisper

Python 3.8 or greater is required. Then transcribe:

from faster_whisper import WhisperModel

model = WhisperModel("base", device="cpu", compute_type="int8")
segments, info = model.transcribe("audio.mp3", beam_size=5)
print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))

Two details from the README matter. First, segments is a generator: transcription only starts when you iterate over it, so gathering it into a list or a for loop is what actually runs the work. Second, GPU execution needs NVIDIA libraries (cuBLAS and cuDNN); on a machine without them, use device="cpu" as above. For plain transcription of a recording, see the separate guide on transcribing audio with faster-whisper.

Check What you should see If you do not see it
Install succeeds pip install faster-whisper completes Python is older than 3.8 — upgrade Python first
Language detected The detected language and probability print The audio file path is wrong, or the file has no speech
Segments print Each segment prints with start and end times You never iterated the generator — loop over segments to run the transcription

Expected result. We checked the faster-whisper README for the pip install, the Python version requirement, the CTranslate2 speed claim, the PyAV audio decoding, the generator warning, and the GPU library requirement. We did not install or run faster-whisper, so the code above is UNTESTED on this machine.

Limits

faster-whisper still downloads the model on first use, so the first run needs internet. CPU transcription is slower than GPU; a long recording on a CPU takes a while, and the model size you pick trades speed against accuracy.

Sources

Sources checked 2026-11-28.

See all