whisper.cpp for Mac
High-performance inference of OpenAI's Whisper automatic speech recognition (ASR) model: Plain C/C++ implementation without dependencies Apple Silicon first-class citizen - optimized via ARM NEON, Accelerate framework, M…
whisper.cpp — overview
High-performance inference of OpenAI's Whisper automatic speech recognition (ASR) model: Plain C/C++ implementation without dependencies Apple Silicon first-class citizen - optimized via ARM NEON, Accelerate framework, Metal and Core ML AVX intrinsics support for x86 architectures VSX intrinsics support for POWER architectures Mixed F16 / F32 precision Integer quantization support Zero memory allocations at runtime Vulkan support Support for CPU-only inference Efficient GPU support for NVIDIA AMD ROCm GPU support AMD Ryzen AI NPU Support OpenVINO Support Huawei Ascend NPU Support Moore Threads GPU Support C-style API Voice Activity Detection (VAD)
Supported platforms: [x] Mac OS (Intel and Arm) [x] iOS [x] Android [x] Java [x] Linux / FreeBSD [x] WebAssembly [x] Windows (MSVC and MinGW) [x] Raspberry Pi [x] Docker
The entire high-level implementation of the model is contained in whisper.h and whisper.cpp. The rest of the code is part of the ggml machine learning library.
Having such a lightweight implementation of the model allows to easily integrate it in different platforms and applications. As an example, here is a video of running the model on an iPhone 13 device - fully offline, on-device: whisper.objc
https://user-images.githubusercontent.com/1991296/197385372-962a6dea-bca1-4d50-bf96-1d8c27b98c81.mp4
You can also easily make your own offline voice assistant application: command
https://user-images.githubusercontent.com/1991296/204038393-2f846eae-c255-4099-a76d-5735c25c49da.mp4
On Apple Silicon, the inference runs fully on the GPU via Metal:
https://github.com/ggml-org/whisper.cpp/assets/1991296/c82e8f86-60dc-49f2-b048-d2fdbd6b5225
Quick start
First clone the repository:
Navigate into the directory:
Then, download one of the Whisper models converted in ggml format. For example:
Now build the whisper-cli example and transcribe an audio file like this:
For a quick demo, simply run make base.en.
The command downloads the base.en model converted to custom ggml format and runs the inference on all .wav samples in the folder samples.
For detailed usage instructions, run: ./build/bin/whisper-cli -h
Note that the whisper-cli example currently runs only with 16-bit WAV files, so make sure to convert your input before running the tool. For example, you can use ffmpeg like this:
More audio samples
If you want some extra audio samples to play with, simply run:
This will download a few more audio files from Wikipedia and convert them to 16-bit WAV format via ffmpeg.
You can download and run the other models as follows:
Memory usage
POWER VSX Intrinsics
whisper.cpp supports POWER architectures and includes code which significantly speeds operation on Linux running on POWER9/10, making it capable of faster-than-realtime transcription on underclocked Raptor Talos II. Ensure you have a BLAS package installed, and replace the standard cmake setup with:
Quantization
Details
OpenAI Whisper 模型的 C/C++ 版本
How to install whisper.cpp
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-10-06; current version v1.9.5, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v1.9.5 | 2026-10-06 | Stable | — | — | — | — |
| v1.9.4 | 2026-09-11 | Stable | — | — | — | — |
| b4938 | 2026-08-20 | Stable | 51.1 MB | — | Download | Download |
| v1.9.2 | 2026-08-04 | Stable | 7.8 MB | — | Download | Download |
| v1.9.1 | 2026-06-19 | Stable | 7.6 MB | — | Download | Download |
| v1.9.0 | 2026-06-17 | Stable | 5.2 MB | — | Download | Download |
| b5454 | 2026-10-06 | Pre-release | 62.8 MB | — | Download | Download |
| b5130 | 2026-09-11 | Pre-release | 54.5 MB | — | Download | Download |
| b5127 | 2026-09-10 | Pre-release | 54.5 MB | — | Download | Download |
| v1.9.3 | 2026-08-20 | Pre-release | — | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Depended on by 2 apps
The following apps install it automatically, ranked by 30-day installs:
- ffmpeg-full6,183 installs/mo
- auto-editor299 installs/mo
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Installation notes
whisper.cpp requires GGML model files to work. These are not downloaded by default.nTo obtain model files (.bin), visit one of these locations:nn https://huggingface.co/ggerganov/whisper.cpp/tree/mainn https://github.com/ggml-org/whisper.cpp/tree/master/modelsn
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| whisper.cpp | v1.9.5 | MIT | CLI | 22,086 |
| ChatGPT | 26.1021.31345 | — | Universal binary | 12,860 |
| openai-whisper | v20250625 | MIT | CLI | 4,045 |
| Codex | rust-v0.169.0 | — | Universal binary | 417,825 |
Similar apps: AI & Machine Learning
ChatGPT
The ChatGPT desktop app brings OpenAI's conversational AI directly to your computer desktop, so…openai-whisper
[[Blog]]( [[Paper]]( [[Model card]]( [[Colab example]](Codex
Codex CLI is a coding agent from OpenAI that runs locally on your computer.apfel
Apple Intelligence from the command-line, with OpenAi-compatible API servergithub-mcp-server
The GitHub MCP Server connects AI tools directly to GitHub's platform.codeburn
CodeBurn is a command-line tool that helps you figure out how many tokens and how much money AI…Categories: AI & Machine Learning, Command-line Tools