Whisper + Ollama locally: 100% offline transcription ligne

To transcribe locally, install whisper.cpp, download a model (large-v3-turbo or medium for French), convert the audio to 16 kHz WAV, and run whisper-cli with -l fr. Ollama doesn't offer a Whisper model: you use it afterward to summarize the text. Its documentation also describes a transcription endpoint for audio models such as lfm3-audio.
#Why use a whisper + ollama pipeline for local transcription?
A meeting recording contains client names, figures, strategic decisions, and sometimes HR data. SaaS transcription services store these recordings on their servers and use them (according to their terms of service) to train their own models. For a team that takes confidentiality seriously, that is non-negotiable.
Online transcription services store your audio on their servers; reread their terms of service before uploading a meeting. For a team that takes privacy seriously, local transcription sidesteps the issue.
#Running Whisper locally: which option should you choose?
Benefit from our experience and a guided path to build your local assistant and use your AI every day.
- Lifetime online access
- PDF + files
- Refunded within 30 days
"Local Whisper" covers several tools. The table compares them based on what their official repositories say. This guide walks through the first row, whisper.cpp, and then summarization with Ollama.
| Option | What it is | Choose it if… |
|---|---|---|
| whisper.cpp | C/C++ port of Whisper (ggml-org), CPU and NVIDIA GPU, AMD, Vulkan, Apple Silicon. Latest release: 1.9.5 (October 6, 2026). | You want a standalone binary, without Python, on Mac, Linux, or Windows. |
| openai-whisper (Python) | OpenAI's reference implementation, MIT license, installed with pip install -U openai-whisper. The turbo model is the default there. | You're already working in a Python environment or want the reference implementation. |
| faster-whisper | A reimplementation of Whisper using CTranslate2, claimed to be up to 4 times faster than openai/whisper with the same accuracy. MIT license, pip install faster-whisper. | You have an NVIDIA GPU and want a fast Python pipeline. |
| Ollama audio models | Models that accept audio input, such as lfm3-audio (2 billion parameters, French among 18 languages), via /v1/audio/transcriptions. | You want to keep everything in Ollama and don't need SRT subtitles. |
| Parakeet TDT 0.6B v3 (NVIDIA) | 600 million parameters, 25 European languages including French, punctuation and timestamps, CC BY 4.0 license. | You're looking for a compact non-Whisper alternative. |
| Voxtral Mini 3B (Mistral) | Audio model under the Apache 2.0 license, with French among eight languages, transcription of up to 30 minutes, and about 9.5 GB of GPU memory. | You have a recent GPU and want a model from a French vendor. |
#Ollama and Whisper: what Ollama can do as of November 2026
The official Ollama library has no model named whisper, so “ollama whisper” or “whisper ollama” doesn't refer to an ollama pull whisper command. In this guide, Ollama is used to summarize the transcribed text, which is what it's built for.
However, Ollama has added support for models that accept audio. Its documentation describes an OpenAI-compatible endpoint, /v1/audio/transcriptions, with these stated limits:
- File
- WAV, up to 512 MB and 2 hours; audio longer than what the model accepts at once (30 seconds for current models) is split at pauses.
- Outputs
- json (default), text, and verbose_json. The srt and vtt formats and the timestamp_granularities option are not supported.
- Models
- lfm3-audio (Liquid AI, 2 billion parameters, LFM Open License v1.0) transcribes, translates, and synthesizes speech in 18 languages, including French. It became available on Mac in Ollama version 0.40.12, then on Linux and Windows in 0.40.13. Gemma 4 handles audio on Ollama's MLX engine, which means on Mac.
- Synthetic speech
- The phonon model generates speech from text: the opposite of transcription. See the local voice assistant guide.
- Local voice assistant: Whisper and text-to-speech
- Transcribing consultations with faster-whisper
- Meeting minutes with a local AI
#Prerequisites
- macOS, Linux, or Windows (WSL2)
- whisper.cpp compiles everywhere. On pure Windows, use WSL2—the native build works but requires more tinkering.
- Ollama installed and operational
- A ollama run gemma4:e4b should respond. If not, go back through the installation guide for your system.
- A lightweight LLM in Ollama
- gemma4:e4b (about 10 GB of VRAM at Q4, according to the catalog) works for summarization; for a more nuanced summary, qwen3.8:27b requires about 16 GB.
- C++ compiler and CMake
- build-essential cmake on Debian/Ubuntu, Xcode Command Line Tools on macOS.
- ffmpeg
- To convert your .m4a, .mp3, or .mp4 files to 16 kHz WAV. By default, whisper-cli reads 16-bit WAV; building it with FFmpeg expands the supported formats.
- 8 GB of memory minimum
- The large-v3 model file is about 2.9 GiB and the large-v3-turbo file about 1.5 GiB; leave headroom for the summarization LLM. 16 GB is more comfortable.
- Optional GPU
- A GPU speeds up transcription. For reference, OpenAI cites about 6 GB of VRAM for turbo and 10 GB for large with its Python implementation. On Apple Silicon, the whisper.cpp README states that inference runs entirely on the GPU via Metal.
#1. Install whisper.cpp
The README suggests cloning the repository and compiling. It takes a few minutes and gives you a binary you can move anywhere you want.
The main binary is located at build/bin/whisper-cli (formerly named main before the CMake overhaul). This is the one you will call to transcribe.
Install ffmpeg separately if it isn't already installed:
#2. Choose the right Whisper model (tiny → large-v3)
Whisper comes in six sizes: tiny, base, small, medium, large, and turbo, an optimized version of large-v3. Models with .en in their name are English-only, so use a multilingual model for French. The table lists the file sizes from the whisper.cpp repository and the ballpark figures published by OpenAI.
| Model | ggml file | Approximate VRAM | Relative speed |
|---|---|---|---|
| tiny | 75 MiB | about 1 GB | about 10 times |
| base | 142 MiB | about 1 GB | about 7 times |
| small | 466 MiB | about 2 GB | about 4 times |
| medium | 1.5 GiB | about 5 GB | about 2x |
| large-v3 | 2.9 GiB | about 10 GB | 1x |
| large-v3-turbo | 1.5 GiB (547 MiB in q5_0) | about 6 GB | about 8 times |
To transcribe a meeting in French, start with large-v3-turbo: OpenAI describes it as a faster version of large-v3 with minimal degradation. Fall back to medium or small if memory is tight. Note that turbo isn't trained for translation into English, so use medium or large for that.
Models are saved to models/ in ggml format. You can download several and switch between them as needed.
#3. Transcribe an audio file
whisper.cpp only reads mono 16 kHz WAV files. We use ffmpeg to prepare the audio, then whisper-cli to transcribe it.
- -ar 16000
- Resample at 16 kHz (the sampling rate used to train Whisper).
- -ac 1
- Forces mono. Whisper ignores stereo anyway.
- -c:a pcm_s16le
- 16-bit little-endian PCM, the expected uncompressed WAV format.
The output goes to reunion.txt. A few useful options to know:
- -l fr
- Forces French. Note: without this option, whisper-cli uses English (default value en). For automatic detection, use -l auto, but setting the language avoids errors on short sentences.
- -otxt / -osrt / -ovtt / -oj
- Output format: plain text, SRT or VTT subtitles, or JSON (-ojf for a more detailed version). You can combine them.
- -of <prefix>
- Output filename prefix (without the extension).
- -t 8
- Number of CPU threads. The default is 4; increase it on a recent processor.
- -pp (--print-progress)
- Shows progress. Handy for long files.
#4. Summarize the transcription with Ollama
Once you have the raw transcription, send it to Ollama through its local HTTP API. The /api/chat endpoint is the most direct option for one-shot use.
For a one-hour meeting, the transcript often runs 10,000 to 15,000 tokens. gemma4:e4b lists a 128,000-token context window in the Ollama library, which is more than enough. For a more polished summary, qwen3.8:27b (18 GB download, 256,000 tokens) needs about 16 GB of VRAM at Q4, according to the catalog.
#5. Complete pipeline: meeting-minutes example (1h)
We put everything together in a Python script that takes an audio file as input and outputs a Markdown report. This is the core of a reusable local whisper ollama transcription pipeline.
Processing time depends on the Whisper model, the GPU, and the length of the recording. Try a clip of a few minutes first to judge quality and speed on your machine; no network requests are made during processing.
#Tips and troubleshooting
- Transcription that hallucinates during silences
- Whisper sometimes hallucinates text during long silences or music. Set the language with -l fr, enable voice activity detection (VAD) with --vad -vm models/ggml-silero-v6.2.0.bin after downloading the model with ./models/download-vad-model.sh silero-v6.2.0, and try -sns (suppresses non-speech tokens) or -nf (disables temperature fallback), as recommended in the whisper-cli README.
- Distorted proper names
- Whisper doesn't know your coworkers' names. Pass them in an initial prompt with --prompt "Marie, Julien, Samir, ACME Corp, ProjetX" and they'll be spelled more accurately.
- Compressed audio (Zoom, Teams)
- Zoom MP4 recordings often contain poor-quality mono audio. Prefer Zoom's “audio only” export (M4A), or record in parallel with OBS if quality is a priority.
- ggml_metal_init error on Mac
- You compiled without Metal, or whisper.cpp cannot find the resources. Recompile from scratch: rm -rf build && cmake -B build && cmake --build build --config Release -j.
- Ollama timeout on large context
- The HTTP client times out before the response finishes. In requests, increase the timeout to timeout=600 (10 minutes). On the server side, OLLAMA_KEEP_ALIVE=30m keeps the model warm.
- Truncated transcription
- If the summary seems to cut off the audio partway through, num_ctx is too low. Check the token count (wc -w on the .txt × 1.3 ≈ tokens) and set num_ctx to twice that.
- Diarization (who is speaking)
- whisper.cpp offers only experimental speaker-turn segmentation (-tdrz), with the small.en-tdrz model, which is English-only. To tell speakers apart in French, add pyannote.audio to the pipeline, then label each segment. That's a separate layer, outside the scope of this guide.
- The text comes out in English
- You forgot -l fr: whisper-cli's default language is English. Run it again with -l fr or -l auto.
#Sources and verification as of November 16, 2026
The whisper.cpp commands, model sizes, and Ollama audio capabilities were reviewed on November 16, 2026, against the official repositories and documentation.
- Official whisper.cpp repository (README)
- whisper.cpp ggml models and sizes
- whisper-cli options
- OpenAI's official Whisper repository
- faster-whisper repository
- Ollama documentation: OpenAI compatibility (transcription)
- lfm3-audio model in the Ollama library
- Ollama documentation: context length
- Parakeet TDT 0.6B v3 — Hugging Face
- Voxtral Mini 3B — Hugging Face
#Go further
Your pipeline transcribes and summarizes locally. Three logical directions depending on your needs:
- Medical report with faster-whisper
- The consultation transcription guide uses faster-whisper (an optimized Python port) with a focus on medical confidentiality, pyannote diarization, and French healthcare GDPR compliance. An interesting variation on the same pattern.
- Choose the right summarization LLM
- Summarization is where quality varies the most. The guide to choosing your quantization compares Q4_K_M, Q5_K_M, and Q8_0—a noticeable difference on long, nuanced text.
- Automate the pipeline with n8n
- To trigger the chain as soon as an audio file arrives (watched folder, email, Slack), the n8n + Ollama automation guide shows you how to build the workflow without code.
- Healthcare: consultation transcription (faster-whisper)
- Choose your quantization (Q4, Q5, Q8, FP16)
- Automate with n8n and Ollama
#Frequently asked questions
How do you use Whisper locally?+
Does Whisper work with Ollama?+
Which Whisper model should you choose for French?+
Is local Whisper free and offline?+
Do you need a GPU to run Whisper locally?+
Can it tell speakers apart?+
Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.