whisper.cpp defaults to 4 threads. On a machine with more cores, that leaves performance unused; on a small machine, 4 threads can also be more than you want running at once. The README’s option list gives the flag: -t N or --threads N, the number of threads to use during computation, defaulting to 4.
Set the thread count
./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav -t 8
Start with the number of physical cores your machine has. The run prints a system_info line showing n_threads, so you can confirm the value took effect. Time the same file at 4 threads and at your new value and compare — more threads help up to the core count, then stop helping, and on some machines they slow things down through contention.
When not to raise it
Do not set threads above the core count for a speed gain — it does not exist. And do not max out the machine while you need it for other work: transcription at full thread count will crowd out everything else. The companion option is -p N / --processors N, defaulting to 1, which sets the number of processors to use during computation — leave it at 1 unless you know your machine’s processor layout.
| Check | What you should see | If you do not see it |
|---|---|---|
| Flag accepted | The run starts without an unknown-option error | The flag was typed before the file arguments in a way the parser rejected — check the help output |
| Threads applied | system_info shows your n_threads value | The default 4 is still shown — the flag did not apply |
| Faster, not slower | The same file finishes sooner than at 4 threads | Threads above the core count add contention — lower the value |
Expected result. We checked the whisper.cpp README option list for -t N / --threads N defaulting to 4 and -p N / --processors N defaulting to 1. We did not run whisper.cpp, so the timing effect above is UNTESTED on this machine — measure it on your own file.
Limits
Threads only help CPU-bound work: on a Mac using Metal, or with a GPU build, the thread count matters less. The fastest setting is the one you measure, not the biggest number you can type.
Sources
Sources checked 2026-11-28.
