Our take
- Activity
- 78
- Community
- 86
- Issues
- 54
- Pull requests
- 58
+783 stars in the last 30 days
- Merges more pull requests than 81% of the projects we track
- More contributors than 78% of the projects we track
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
55,225Forks
6,307Change since Nov 15, 2026: +25 stars·+7 forks
Overview
whisper.cpp is a C/C++ implementation for running OpenAI Whisper speech recognition. It converts audio to text and can also translate speech, with inference available locally rather than requiring a hosted transcription service.
Its broad hardware and platform support makes it useful for developers who need to embed speech recognition in applications, from command-line tools to mobile apps and web deployments. It is an inference project, not a toolkit for training Whisper models.
Key Features
- Runs Whisper models on CPUs and supports acceleration paths for several GPU and NPU platforms.
- Supports quantized models to reduce model storage and memory needs.
- Offers a C-style API alongside command-line, server, and platform examples.
- Includes options for timestamps, voice activity detection, and experimental speaker segmentation.
- Supports offline transcription on platforms including desktop, iOS, Android, and WebAssembly.
- Provides an HTTP transcription server with an OpenAI-like API.
Use Cases
- Application developers can add on-device transcription where audio should be processed locally or network access is unavailable.
- Mobile developers can build speech-enabled iOS and Android apps using the provided examples or bindings.
- Teams can run a local transcription endpoint for internal tools instead of sending audio to a hosted service.
- Researchers and engineers can benchmark Whisper inference across models and hardware configurations.
Getting Started
Clone the repository, download a converted model, then build and run the CLI:
git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
sh ./models/download-ggml-model.sh base.en
cmake -B build && cmake --build build -j --config Release
./build/bin/whisper-cli -f samples/jfk.wav
The CLI example expects 16-bit WAV input by default. See the README for audio conversion, platform-specific builds, model choices, and further options.
Alternatives
- sherpa-onnx: Provides offline speech recognition plus text-to-speech and diarization, using ONNX Runtime rather than Whisper's C/C++ implementation.
- Whisper Web: Runs Whisper in the browser with Transformers.js, while whisper.cpp is a native C/C++ implementation for multiple platforms.
- Insanely Fast Whisper: Offers a Python command-line transcription workflow built on Transformers and GPU acceleration, rather than a lightweight C/C++ implementation.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| whisper.cpp | C++ | MIT | 54.1k | Not checked yet |
| sherpa-onnx | C++ | Apache-2.0 | 15.1k | Active |
| whisper-web | TypeScript | – | 3.3k | Inactive |
| insanely-fast-whisper | Jupyter Notebook | Apache-2.0 | 13.1k | Quiet |
Considerations
- The repository supports inference only, not model training.
- Model files can require substantial disk space and memory; the README lists estimates by model size.
- Hardware acceleration requires platform-specific dependencies and build options. CPU inference is also supported.
- Some capabilities, including word-level timestamps and speaker segmentation, are labeled experimental in the README.
- The CLI example uses 16-bit WAV files by default. Broader format support may require enabling FFmpeg for examples.
Found this useful?
Share it with someone who would like whisper.cpp.