A long recording is mostly pauses, and transcribing the silence wastes time. whisper.cpp has a built-in Voice Activity Detection (VAD) filter: enable it with the --vad argument to whisper-cli, together with a VAD model, and the audio is first passed through the VAD model, which detects the speech segments. Only those segments are passed to Whisper, which reduces the amount of audio Whisper has to process and can significantly speed up the transcription. This guide is about whisper.cpp’s own VAD; it is different from the faster-whisper VAD guide, which is a different tool with different options.
Download a Silero VAD model
Support for VAD needs a VAD model as well as the flag. The README’s supported model is Silero-VAD, a lightweight VAD model, and it is downloaded on Linux or macOS like this:
./models/download-vad-model.sh silero-v6.2.0
That saves the model as ggml-silero-v6.2.0.bin in the models folder. Build the project first if you have not already, with the README’s own commands:
git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
cmake -B build
cmake --build build -j --config Release
You also need a Whisper model in ggml format — the README’s example uses base.en, downloaded with sh ./models/download-ggml-model.sh base.en.
Run whisper-cli with –vad
Point whisper-cli at the VAD model with -vm and add --vad. The README’s own command uses the project’s jfk.wav sample:
./build/bin/whisper-cli -vm /path/models/ggml-silero-v6.2.0.bin --vad -f samples/jfk.wav -m models/ggml-base.en.bin
The same run can be written with the long flags instead:
./build/bin/whisper-cli --file ./samples/jfk.wav --model ./models/ggml-base.en.bin --vad --vad-model ./models/silero-v6.2.0-ggml.bin
Note that whisper-cli currently runs only with 16-bit WAV files, so convert your input first if it is not already one. For a practice check, use a recording with a long pause in the middle and compare the time it takes with and without --vad.
Tune the VAD options if speech is cut off
If the transcript drops the start of a sentence or merges two speakers’ turns, the VAD options are the place to look. The README lists six: --vad-threshold, the threshold probability for speech detection; --vad-min-speech-duration-ms, the minimum speech duration, below which short segments are discarded as brief noise or false positives; --vad-min-silence-duration-ms, the minimum silence duration that must pass to end a speech segment; --vad-max-speech-duration-s, the maximum speech duration, after which a segment is split at silence points exceeding 98ms; --vad-speech-pad-ms, padding added before and after each detected speech segment to avoid cutting off speech edges; and --vad-samples-overlap, audio extended from each speech segment into the next one, in seconds — 0.10 means 100ms of overlap — so speech is not cut off abruptly between segments. If words at the edges are missing, raise the speech padding first.
Try it: four checks
| Check | What you should see | If you do not see it |
|---|---|---|
| Model | A file called ggml-silero-v6.2.0.bin in the models folder |
Run ./models/download-vad-model.sh silero-v6.2.0 — the flag alone is not enough |
| Flag | The command includes both --vad and -vm with the VAD model path |
VAD needs a VAD model as well as the flag — check both are present |
| Transcript | The transcript covers the spoken parts of the recording | Check the -m flag points at a Whisper model such as ggml-base.en.bin |
| Edges | Words at the start and end of sentences are present | Raise --vad-speech-pad-ms so the edges of each segment are not cut off |
Expected result. We checked the whisper.cpp README for the Voice Activity Detection section, the –vad argument and the VAD model requirement, the Silero-VAD download command for silero-v6.2.0, the whisper-cli command with -vm and –vad on samples/jfk.wav, the long-flag form with –file, –model, –vad, and –vad-model, and the six VAD options including the 98ms split point and the 0.10 second overlap example. We did not run whisper.cpp or transcribe any audio.
Limits
VAD is a filter, not a transcript fixer: it decides what counts as speech, and a wrong threshold can drop quiet words or keep noise as speech, so check the transcript against the audio on material you care about. The Silero model is the one the README documents; running the download command without arguments lists the available models instead of downloading one. This is whisper.cpp’s own VAD with its own flags, which is different from the faster-whisper VAD guide and from plain command-line transcription without the flag. We did not run whisper.cpp, so no transcript here is a recorded result.
