Whisper (whisper.cpp) is LocalAI’s default transcription backend, but it is not the only one. parakeet-cpp is a C++/ggml port of NVIDIA NeMo Parakeet (FastConformer TDT/CTC/RNNT/hybrid). It runs quantized GGUFs on CPU or GPU, emits word-level timestamps, and supports cache-aware streaming. The endpoint is the same one Whisper uses — /v1/audio/transcriptions — so switching backends means changing the model, not learning a new API. This guide is about transcription with Parakeet, not about who spoke when: that is the diarization endpoint, a separate job.
Install the Parakeet model
GGUF weights for every model and quant are published in a single repo, mudler/parakeet-cpp-gguf. F16 is the recommended default, and Q4_K stays near-lossless on the small models. The easiest path is to import directly (the GGUFs auto-detect to this backend):
local-ai models import https://huggingface.co/mudler/parakeet-cpp-gguf/resolve/main/tdt_ctc-110m-f16.gguf
Or write a model YAML:
name: parakeet-110m
backend: parakeet-cpp
parameters:
model: tdt_ctc-110m-f16.gguf
Send the audio file to the transcriptions endpoint
Then call /v1/audio/transcriptions as usual. Pass timestamp_granularities[]=word for per-word timings:
curl http://localhost:8080/v1/audio/transcriptions \
-H "Content-Type: multipart/form-data" \
-F file="@jfk.wav" \
-F model="parakeet-110m" \
-F "timestamp_granularities[]=word"
The endpoint input supports all the audio formats supported by ffmpeg. LocalAI runs the ffmpeg program from PATH, or the program that LOCALAI_FFMPEG_PATH names.
Read the transcript and the word timings
The reply carries a text field with the whole transcript. Transcriptions are split into segments the same way NVIDIA NeMo does: a new segment starts after sentence-ending punctuation (., ?, !), and each segment carries start and end times. This is the default (NeMo’s punctuation-only segmentation) and needs no configuration. You can additionally split on silence by setting segment_gap_threshold (NeMo’s segment_gap_threshold, in encoder frames; off by default):
name: parakeet-110m
backend: parakeet-cpp
parameters:
model: tdt_ctc-110m-f16.gguf
options:
- segment_gap_threshold:12 # split on silence > 12 encoder frames (default 0 = off, punctuation-only)
You can also ask for a different shape with the response_format field: one of lrc, srt, vtt, text, json, or verbose_json (the default). For real-time use, load a cache-aware streaming model (for example realtime_eou_120m-v1-*.gguf) and pass -F stream=true: deltas are emitted as the audio is decoded, with end-of-utterance events closing each segment.
Try it: four checks from install to word timings
| Check | What you should see | If you do not see it |
|---|---|---|
| Model installed | parakeet-110m configured with backend: parakeet-cpp and model tdt_ctc-110m-f16.gguf |
Check the import finished and the YAML backend is parakeet-cpp, not whisper |
| Request sent | A reply from /v1/audio/transcriptions with no error |
Check the file path after @, the model name, and that LocalAI is running on localhost:8080 |
| Transcript returned | A text field with the words spoken in the recording |
Check the model name matches the installed model and the audio file is one ffmpeg supports |
| Word timings | With timestamp_granularities[]=word, each word carries its own timing |
Check the field is spelled timestamp_granularities[]=word and the request used the same file and model |
Expected result. We checked the LocalAI audio to text docs page, which gives whisper.cpp as the default backend and parakeet-cpp as a C++/ggml port of NVIDIA NeMo Parakeet (FastConformer TDT/CTC/RNNT/hybrid) running quantized GGUFs on CPU or GPU with word-level timestamps and cache-aware streaming, GGUF weights for every model and quant in the single repo mudler/parakeet-cpp-gguf, F16 as the recommended default with Q4_K near-lossless on the small models, the direct import command for tdt_ctc-110m-f16.gguf, the parakeet-110m YAML with backend parakeet-cpp and model tdt_ctc-110m-f16.gguf, the curl command for jfk.wav with model parakeet-110m and timestamp_granularities[]=word, the endpoint input supporting all audio formats ffmpeg supports with LOCALAI_FFMPEG_PATH, NeMo punctuation-only segmentation with a new segment after sentence-ending punctuation and start and end times on each segment, the segment_gap_threshold option in encoder frames with the example value 12 and default 0, the response_format choices lrc, srt, vtt, text, json, and verbose_json, and streaming with a realtime_eou model and stream=true emitting deltas with end-of-utterance events. We did not install LocalAI, download any model, or transcribe anything on this machine.
Limits
This guide covers transcription with the parakeet-cpp backend only: one flat transcript with timings, from one audio file. It does not tell you who spoke when — that is /v1/audio/diarization, a separate endpoint, even though the same backend can also serve it (and can attach a diarization or sound model as a companion to a transcription model). It is also not a re-do of the Whisper guide: the endpoint is the same, but the backend, the model file, and the word-level timestamps are Parakeet’s. A transcript is the model’s best hearing of the recording, not a certified record — names and numbers in it still need checking against the audio. We did not run any of this ourselves.
