Whisper

OpenAI's open speech-recognition model and Python package: transcribe, translate and detect language locally

openai/whisperImage, Video & AudioVerified Dec 5, 2026
Open on GitHub

Activity

114kStars
13.8kForks
193Open issues and PRs
Aug 31, 2026Last push

Figures from the GitHub API, read Dec 5, 2026.

What it is for

Whisper is OpenAI's speech-recognition model and the Python package that runs it. One model transcribes speech in many languages, translates it into English and identifies the spoken language, from a command line (whisper audio.mp3) or from Python. It comes in six sizes, from tiny (39M parameters, about 1 GB of VRAM) to large (1,550M, about 10 GB), plus turbo, a faster version of large-v3 that the CLI uses by default. Weights download on first use.

It suits developers who want speech-to-text on their own machine with no API key or per-minute fee, and researchers studying speech recognition. It runs on a CPU; the tiny model transcribed a 9-second clip in about 4 seconds in our test, while the larger models really want a GPU.

Limitations: the model card warns that it can produce text that was never spoken (hallucination) and repeated text, that accuracy varies widely by language, and that OpenAI recommends against high-risk decision-making uses and transcribing people without their consent. The repository changes slowly: the last release on PyPI is from June 2025. It needs ffmpeg installed separately.

Quickstart

Smoke-tested by AppForum on Dec 2, 2026: openai-whisper 20250625 with PyTorch 2.15.0 (CPU build) in a clean python:3.12-slim container (Python 3.12.16, arm64, 8 shared virtual CPUs) on Docker 29.5.2, macOS Apple silicon. We confirmed the README's pip install works, the CLI and the Python API transcribe a short English clip with the tiny model on CPU alone, and language detection picks English; we did not test a GPU, any model larger than tiny (including the default turbo), translation, other languages, long recordings, real human speech or the --word_timestamps and other output options.

We installed PyTorch from its CPU-only index first so pip would not fetch CUDA libraries; that step is ours, not the README's. We made the audio with the espeak-ng speech synthesiser, a robotic voice, which is harder to recognise than a person.

apt-get install ffmpeg            # README requirement (espeak-ng only to make test audio)
python -m venv .venv && source .venv/bin/activate
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -U openai-whisper
espeak-ng -v en-us -w speech.wav "Hello from AppForum. This is a short test of the Whisper speech recognition model. The quick brown fox jumps over the lazy dog."
ffmpeg -i speech.wav -ar 16000 -ac 1 speech.mp3
whisper speech.mp3 --model tiny --output_format txt
whisper speech.mp3 --model tiny --language en --output_format txt

What we saw:

  • PyTorch (CPU) installed in 26 seconds and openai-whisper in 11. The virtual environment came to 1.1 GB, nearly all of it PyTorch. ffmpeg came from Debian's packages.
  • The first run downloaded the tiny weights (72 MB, saved as a 73 MB tiny.pt in ~/.cache/whisper), detected English and finished in 7.5 seconds for a 9.2-second clip. With the weights cached and --language en it took 4.1 seconds; through the Python API, loading took 0.4 seconds and transcription 4.4. Peak memory was 610 to 670 MB.
  • It printed FP16 is not supported on CPU; using FP32 instead. The warning is harmless; pass --fp16 False (or fp16=False in Python) to silence it.
  • Accuracy from tiny on synthetic speech was mixed: the second and third sentences were close ("short test on the Whisper's Beach Recognition model. The quick brown fox jumps over a lazy dog") but "Hello from AppForum" became "the low-flamm app for a room". Expect better from larger models and real voices, at more time and memory.
  • Five seconds of a pure 440 Hz tone produced an empty transcript, not invented words.

Before you adopt it

6 of 6 key facts checked
Install commandOne copy-and-paste to get it
pip install -U openai-whisper (or pip install git+https://github.com/openai/whisper.git for the latest commit), plus the ffmpeg command-line tool from your package manager (apt install ffmpeg, brew install ffmpeg, choco or scoop on Windows). Rust may be needed if tiktoken has no prebuilt wheel for your platform. Then whisper audio.mp3 --model turbo, or in Python: whisper.load_model("turbo").transcribe("audio.mp3"). On a machine without an NVIDIA GPU, installing torch from the CPU index first (pip install torch --index-url https://download.pytorch.org/whl/cpu) avoids downloading CUDA libraries; that is our tip, not the README's.Checked Dec 2, 2026 · source
Runtime requirementsLanguage version, operating system, key dependencies
Python with PyTorch, numba, numpy, tiktoken, tqdm and more-itertools (plus triton on x86-64 Linux), and the ffmpeg binary on the PATH. pyproject.toml says Python >=3.8 and lists classifiers up to 3.13; the README says it was trained and tested on Python 3.9.9 and PyTorch 1.10.1 and is expected to work on 3.8 to 3.11 and recent PyTorch. We ran it on Python 3.12.16 with PyTorch 2.15.0 (CPU) without problems.Checked Dec 2, 2026 · source
Hardware needsGPU memory, RAM, disk; whether CPU-only is workable
The README lists approximate VRAM per model: tiny and base about 1 GB, small about 2 GB, medium about 5 GB, turbo about 6 GB and large about 10 GB, with tiny about 10 times and turbo about 8 times faster than large on an A100. CPU works: in our Docker test (8 shared virtual CPUs) the tiny model transcribed a 9.2-second clip in about 4 seconds with a peak of 610 to 670 MB of memory. The install took 1.1 GB of disk with CPU-only PyTorch, plus 73 MB for the tiny weights.Checked Dec 2, 2026 · source
Latest releaseA push is not a release
v20250625, published 26 June 2025, the same version that pip installs as openai-whisper 20250625. There has been no release since; commits continued into 2026 (the latest on 31 August 2026, and a JSONL output format added in July 2026 that is only available by installing from GitHub).Checked Dec 2, 2026 · source
MaintainersHow many people the project depends on
30+ contributors; the top three account for 70% of commits among the 30 most active (all time)Checked Dec 2, 2026 · source
Licence caveatsModel weights and commercial terms often differ from the code licence
The README says both the code and the model weights are released under the MIT licence, so commercial use is allowed. The conditions are in the model card rather than the licence: OpenAI cautions against transcribing recordings of people taken without their consent, recommends against use in high-risk decision-making, says the models are not evaluated or appropriate for classification such as inferring human attributes, and warns about hallucinated and repeated text. Audio you transcribe may carry its own rights or privacy obligations.Checked Dec 2, 2026 · source
DocumentationWhere the real docs live
The README (setup, models, CLI and Python usage), the model card (model-card.md), the paper (arXiv 2212.04356) and a Colab notebook. whisper --help lists all CLI options; there is no separate docs site.Checked Dec 2, 2026 · source
Security recordAdvisories and security policy
No published GitHub security advisories as of 2 December 2026. Model weights are downloaded from OpenAI's servers on first use and cached in ~/.cache/whisper.Checked Dec 2, 2026 · source
BackingCompany or solo maintainer
OpenAI. The repository is in OpenAI's GitHub organisation and the package lists OpenAI as its author.Checked Dec 2, 2026 · source