Skip to content

Distribute and run LLMs with a single file.

3.0 KB
Raw Blame
.Dd February 15, 2026
.Dt WHISPERFILE 1
.Os Mozilla.ai
.Sh NAME
.Nm whisperfile
.Nd speech to text engine
.Sh SYNOPSIS
.Nm
.Op flags...
.Fl m Ar model.gguf
.Fl f Ar audio.wav
.Sh DESCRIPTION
.Nm
is a high-performance implementation of OpenAI's Whisper model that's
based off the whisper.cpp software written by Georgi Gerganov, et al.
It's able to convert speech to text. It can also translate different
languages into English while transcribing.
.Sh OPTIONS
The following options are available:
.Bl -tag -width indent
.It Fl Fl version
Print version and exit.
.It Fl h , Fl Fl help
Show help message and exit.
.It Fl m Ar FNAME , Fl Fl model Ar FNAME
Path of Whisper model weights. See
https://huggingface.co/ggerganov/whisper.cpp
.It Fl f Ar FNAME , Fl Fl file Ar FNAME
Path of audio file to transcribe. The preferred audio format is a 16khz
16-bit signed linear WAV file, which can be stereo or mono. It's also
permissible to pass an MP3, FLAC, or OGG file.
.It Fl l Ar LANG , Fl Fl language Ar LANG
Spoken language. Use 'auto' for auto-detect. Default is English.
.It Fl tr , Fl Fl translate
Translate audio into English text.
.It Fl ot Ar N , Fl Fl offset-t Ar N
Time offset in milliseconds.
.It Fl d Ar N , Fl Fl duration Ar N
Duration of audio to process in milliseconds.
.It Fl np , Fl Fl no-prints
Do not print anything other than the results.
.It Fl pc , Fl Fl print-colors
Enables CLI printing of ANSI color codes.
.Pp
Transcribed text will appear in the terminal on a spectrum of color
ranging from green to red. Green represents confidence whereas red
represents uncertainty.
.It Fl t Ar N , Fl Fl threads Ar N
Overrides number of threads to use.
.Pp
The default is the number of cores available on the current system. On
systems with hyperthreading, that's half the number of CPUs reported by
the system. On systems that have efficiency cores, e.g. Intel Alderlake,
the default behavior is to use only the performance cores.
.It Fl di , Fl Fl diarize
Enable stereo audio diarization for speaker identification.
.It Fl otxt , Fl Fl output-txt
Output result in a text file.
.It Fl osrt , Fl Fl output-srt
Output result in an SRT subtitle file.
.It Fl ovtt , Fl Fl output-vtt
Output result in a VTT subtitle file.
.It Fl oj , Fl Fl output-json
Output result in a JSON file.
.It Fl of Ar FNAME , Fl Fl output-file Ar FNAME
Output file path (without file extension).
.It Fl ng , Fl Fl no-gpu
Disable GPU acceleration.
.It Fl Fl gpu Ar VALUE
Select GPU backend. Values: auto, apple, amd, nvidia, disable.
.It Fl Fl log-disable
Suppress logging output.
.El
.Pp
Additional options are available for advanced use cases including
beam search parameters, temperature settings, Voice Activity Detection
(VAD), and grammar-guided decoding. Run
.Nm Fl Fl help
for the complete list.
.Sh DOCUMENTATION
Read our Markdown documentation for additional help and tutorials. See
the docs/whisperfile/ directory in the llamafile source repository on GitHub.
.Sh SEE ALSO
.Xr whisper-server 1 ,
.Xr llamafile 1 ,
.Xr zipalign 1 ,
.Xr unzip 1