mlx-whisper
OpenAI Whisper on Apple silicon with MLX and the Hugging Face Hub
What it is and what it does
mlx-whisper brings OpenAI's Whisper speech recognition to Apple silicon Macs by wrapping the models in MLX, a machine learning framework optimized for Apple hardware. It offers both a command-line interface for simple transcription and a Python API for programmatic use. The package can load models from the Hugging Face Hub or local paths, supporting models at various parameter scales and offering features like word-level timestamps.
The package depends on torch, mlx, numpy, scipy, and several utility libraries for audio processing and model management. It requires ffmpeg as a system dependency for audio handling. Transcription is performed locally on-device, which means no network calls to external APIs and full control over model selection and quantization.
Use it for:
- Transcribe audio files to text on macOS without sending data to external APIs.
- Build command-line tools that convert speech recordings (MP3, WAV, etc.) to text files.
- Integrate speech-to-text into Python applications with control over model size and precision.
- Process audio streams piped from other programs directly into transcription.
- Generate word-level timestamps for audio segments to enable precise subtitle generation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Runs OpenAI's Whisper speech recognition models on Apple silicon using MLX, with support for models ranging from 39 million to 1.5 billion parameters.
Yes, if you are on Apple silicon and need local speech recognition. The package is actively maintained, has low install friction, and MIT licensing poses no restrictions. Verify that torch and mlx dependencies resolve cleanly on your target hardware, and ensure ffmpeg is available before installation.
Install
mlx-whisper on PyPI
pip
pip install mlx-whisperuv
uv add mlx-whisperpoetry
poetry add mlx-whisperInstalling mlx-whisper
Before you install
Low install friction with a pure Python wheel. Active maintenance with recent commits and 8879 repository stars. Requires ffmpeg as a system dependency and nine runtime packages including torch, mlx, and numpy.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install mlx-whisper
import mlx_whisper
text = mlx_whisper.transcribe("audio_file.mp3")["text"]
Requires ffmpeg to be installed on the system (e.g., `brew install ffmpeg` on macOS) and torch/mlx dependencies which are platform-specific.
Verify before relying
- Whether MLX and torch dependencies install smoothly on non-Apple-silicon systems or if they are strictly required for Apple hardware.
- Performance characteristics and latency for different model sizes on typical Apple silicon devices.
- Whether pre-converted models from Hugging Face Hub cover all use cases or if manual conversion is often needed.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — mlx, numba, numpy, torch, tqdm, more-itertools, tiktoken, huggingface_hub, scipy |
| Maintenance | actively maintained — 350 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 336,970/month — #7,453 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mlx_whisper-0.4.3-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
mlx-lmMLX LM loads, generates text with, fine-tunes,…
permissive · top 5,000 on PyPI
openai-whisperWhisper performs multilingual speech…
permissive · top 5,000 on PyPI
mlx-audioMLX-Audio provides text-to-speech,…
permissive · top 15,000 on PyPI
mlxMLX is an array framework for machine learning…
permissive · top 5,000 on PyPI
mlx-vlmMLX-VLM runs vision language models and omni…
permissive · top 5,000 on PyPI
whisperxWhisperX performs fast automatic speech…
permissive · top 5,000 on PyPI
faster-whisperTranscribes audio to text using OpenAI's…
permissive · top 5,000 on PyPI
SpeechRecognitionPerforms speech recognition and transcription…
permissive · top 5,000 on PyPI
whisper-normalizerStandardizes and normalizes text using the…
permissive · top 15,000 on PyPI
whisper-timestampedAdds word-level timestamps and confidence…
copyleft · top 15,000 on PyPI