> For the complete documentation index, see [llms.txt](https://docs.mozilla.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mozilla.ai/llamafile/whisperfile/index.md).

# Overview

Whisperfile is a high-performance speech-to-text tool built on [whisper.cpp](https://github.com/ggerganov/whisper.cpp) by Georgi Gerganov, et al., and [OpenAI's Whisper](https://github.com/openai/whisper) model weights.

Whisperfile bundles the binary and model weights into a **single self-contained executable** that runs on Linux, macOS, and Windows without installation.

## Quick Start

```sh
# transcribe a local audio file
whisperfile -m whisper-tiny.en-q5_1.bin audio.wav

# translate non-English speech to English
whisperfile -m ggml-medium-q5_0.bin -f audio.ogg --translate

# start the HTTP server
whisper-server -m whisper-tiny.en-q5_1.bin --port 8080
```

## Features

* Transcribes WAV, MP3, FLAC, and Ogg Vorbis audio
* GPU acceleration via Apple Metal, NVIDIA CUDA, and AMD ROCm
* Translates speech from any language into English
* HTTP server with a REST API for remote transcription
* Pack the binary and model weights into a single portable executable

## Documentation

* [Getting Started](/llamafile/whisperfile/getting-started.md)
* [Packaging](/llamafile/whisperfile/packaging.md)
* [Using GPUs](/llamafile/whisperfile/gpu.md)
* [Speech Translation](/llamafile/whisperfile/translate.md)
* [Server](/llamafile/whisperfile/server.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mozilla.ai/llamafile/whisperfile/index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
