whisper.cpp is a plain C/C++ implementation of OpenAI’s Whisper speech recognition, with no heavy Python dependencies. Its models are single files in a custom ggml format, and the repository ships a script that downloads one for you.
Get the code and a model
git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
sh ./models/download-ggml-model.sh base.en
The script saves the model as models/ggml-base.en.bin. The README lists the other downloads the same way — tiny.en, tiny, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3 and large-v3-turbo — and a quick demo, make base.en, downloads the model and runs inference on the samples folder. Pick base.en for English-only audio; the .en models only handle English, while the plain ones handle many languages.
Build and transcribe
cmake -B build
cmake --build build -j --config Release
./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav
whisper.cpp reads WAV files: convert other formats to 16 kHz mono WAV with ffmpeg first (see the separate conversion guide). The memory table in the README gives a sense of scale: tiny needs about 75 MiB on disk and ~273 MB of memory, base about 142 MiB and ~388 MB, small about 466 MiB and ~852 MB, and medium 1.5 GiB and ~2.1 GB.
| Check | What you should see | If you do not see it |
|---|---|---|
| Model downloaded | models/ggml-base.en.bin exists | The download script failed — check internet access and retry |
| Build succeeds | The build produces whisper-cli | CMake or a compiler is missing — install build tools first |
| Transcript prints | The WAV file transcribes to text | The audio is not a WAV file — convert it to 16 kHz mono WAV first |
Expected result. We checked the whisper.cpp README for the clone command, the download-ggml-model.sh script, the cmake build, the make demo, the model list, and the memory table. We did not build or run whisper.cpp, so the commands above are UNTESTED on this machine.
Limits
whisper.cpp only runs models — training and fine-tuning happen elsewhere. The .en models are English-only, and a bigger model needs more memory and more time. Check the model file name matches the one the script saved before you run the transcribe command.
Sources
Sources checked 2026-11-28.
