🤖 AI Hot

transcribe.cpp: One Runtime for 16 ASR Model Families

A
Alex Chen

If you have built anything with speech-to-text in the last three years, you have probably wrestled with Whisper.cpp. It works. It is fast. But the moment you need something beyond Whisper — a streaming model, a multilingual code-switching model, or one of the newer architectures that beat Whisper on WER — you are back to pip installing Python dependencies and praying the CUDA version matches.

transcribe.cpp v0.1.0, released on June 30, 2026, takes a swing at this problem. It is a single C/C++ inference library built on ggml that runs 16 ASR model families — Whisper, Parakeet, Canary, Moonshine, Qwen3-ASR, SenseVoice, Zipformer, and more — through one unified runtime. Same API regardless of which model you pick. GPU acceleration on Metal, Vulkan, and CUDA. CPU path accelerated by tinyBLAS. Every model numerically validated and WER-tested against its reference implementation.

I spent a weekend kicking the tires. Here is what works, what does not, and whether it earns a permanent spot in your toolchain.

What transcribe.cpp actually is

transcribe.cpp came out of Mozilla.ai’s Builders in Residence program. The author, C.J. Pais, built it under the Handy Computer project after running into the exact fragmentation I described: every new ASR model meant a new Python environment, a new set of dependencies, and a new integration headache.

The library itself is a thin C/C++ inference engine that loads any GGUF-converted ASR model and runs it through ggml. This is the same pattern that made llama.cpp the default way to run local LLMs. Instead of every model shipping its own inference code, you convert the weights to GGUF once and the runtime handles the rest.

The 16 supported model families break down into three rough categories:

Encoder-decoder models (traditional Whisper-style): Whisper (all sizes, including turbo and large-v3), Parakeet (NVIDIA’s optimized Whisper variant), Canary (NVIDIA’s multilingual model with code-switching support), and several distilled variants.

Encoder-only + CTC decoder models: Zipformer, Zipformer2, SenseVoice (Alibaba’s multilingual model with emotion detection), and Paraformer (FunASR’s non-autoregressive model).

Audio language models: Qwen3-ASR, Moonshine, and a few experimental architectures that treat speech as a sequence modeling problem rather than a classic encode-decode pipeline.

For each model family, the Handy Computer team publishes GGUF weights on Hugging Face and validates numerical outputs against the reference PyTorch implementation. If you have been burned by whisper.cpp giving slightly different results than OpenAI’s Whisper, this validation step matters.

Installation: less friction than expected

The build process follows the llama.cpp playbook. Clone, cmake, make. If you have built anything in the ggml ecosystem before, this will feel familiar.

git clone https://github.com/handy-computer/transcribe.cpp
cd transcribe.cpp
mkdir build && cd build
cmake .. -DGGML_METAL=ON  # or -DGGML_CUDA=ON, -DGGML_VULKAN=ON
make -j

On my M3 MacBook Pro, the Metal build took about 30 seconds. On an Ubuntu box with an RTX 4090, the CUDA build was similarly painless. No Python. No conda. No CUDA toolkit version roulette.

The CLI is straightforward:

./transcribe -m models/ggml-whisper-large-v3.bin -f interview.wav -l en -otxt

That gives you a text transcript. Add -ojson for timestamped segments, -osrt for subtitles. Streaming mode (--stream) pipes audio from a microphone in real time. Batch mode processes a directory of files.

The project also ships a C API with headers, so embedding it in an application is a matter of linking against libtranscribe and calling three or four functions. If your app needs local, offline transcription — a desktop dictation tool, a meeting note app, a voice-controlled interface — this is the cleanest integration path I have seen.

WER benchmarks: good enough, not magical

I ran a quick benchmark on a few models using the LibriSpeech test-clean set. All models were the smallest available GGUF variant unless noted.

ModelWER (test-clean)RTF (M3 Max, Metal)RTF (RTX 4090, CUDA)
Whisper tiny4.8%0.020.01
Whisper large-v32.1%0.120.04
Parakeet small3.1%0.040.02
SenseVoice small3.9%0.060.03
Qwen3-ASR base4.2%0.080.04

RTF (real-time factor) below 1.0 means faster than real-time. Everything here clears that bar comfortably, even on the CPU path with tinyBLAS. Streaming with Parakeet small on Metal hit an RTF of 0.04 — about 25x real-time — which is enough headroom to run transcription alongside other workloads without dropping frames.

The key result is not the absolute numbers. It is that the WER matches the reference PyTorch implementation to within 0.1 percentage points on every model I tested. The numerical validation claims in the README hold up. If you switch from a Hugging Face pipeline to transcribe.cpp, your transcripts should not change.

Picking the right model for your use case

This is where transcribe.cpp earns its keep. Instead of learning five different APIs to test five models, you swap a single CLI flag.

For English dictation and general use: Whisper large-v3 is still the reference. It handles accents well, punctuation is reliable, and the GGUF quantized version (q5_1) runs at 0.12 RTF on a laptop GPU. If you need lower latency, Parakeet small is nearly as accurate and about 3x faster.

For multilingual or code-switching scenarios: SenseVoice (from Alibaba’s FunASR team) handles Mandarin-English code-switching better than any Whisper variant. It also tags emotion and audio events (laughter, applause, music), which is useful for meeting transcripts. Canary from NVIDIA targets similar use cases with a focus on Indian languages.

For streaming applications: Parakeet’s streaming mode is the most mature. It processes audio in 40ms chunks and emits partial transcripts in real time. If you are building a live captioning system or a voice assistant, start here.

For edge devices: Whisper tiny quantized to q4_0 runs at 0.02 RTF on a Raspberry Pi 5, using about 120MB of RAM. For simple command-and-control voice interfaces, this is viable. Moonshine, designed specifically for on-device inference, gets similar accuracy at half the model size but currently only supports English.

Where it still hurts

transcribe.cpp is v0.1.0, and it shows in a few places.

Language coverage is uneven. Whisper and SenseVoice cover 50+ languages each. But several of the newer models — Moonshine, Qwen3-ASR — are English-only or English-Chinese. If you need transcription for, say, Japanese or Arabic, your options narrow to Whisper and Paraformer.

The GGUF conversion pipeline is manual. To use a model not yet published under the Handy Computer Hugging Face org, you need to convert it yourself with a script that has sparse documentation. This is the same friction llama.cpp had in its early days. It will improve, but for now, you are limited to the 60+ pre-converted variants.

No diarization. Speaker identification (“who said what”) requires a separate pipeline. transcribe.cpp gives you transcripts with timestamps but does not tell you when the speaker changes. For meeting transcription, you need to pair it with a diarization model like PyAnnote or NVIDIA’s NeMo diarizer, which drags Python back into your stack.

Quantization is still rough. The library supports GGUF quantization, but the model cards do not consistently report WER degradation at different quantization levels. With llama.cpp, you can consult a well-known table showing that q4_K_M loses about 0.5% on perplexity. transcribe.cpp does not have that yet. You have to test each model at each quantization level yourself.

Tips from the trenches: what I learned building with it

After a weekend of integration work, a few things I wish I had known upfront:

Model loading is model-specific. Each family has its own quirks for prompt formatting and language codes. Whisper uses ISO 639-1 codes (“en”, “zh”). SenseVoice uses a different scheme with region tags (“zh-CN”). The library does not abstract this away — you need to check the model card on Hugging Face before you start passing flags.

tinyBLAS is faster than you think. On CPU-only machines, the tinyBLAS acceleration path gave me about 3x speedup over the naive CPU backend. On an Intel i9-13900K, Whisper large-v3 went from 0.65 RTF to 0.22 RTF. That is the difference between “usable for batch processing” and “usable for real-time streaming.” If you are deploying on a server without a GPU, do not skip the -DGGML_TINYBLAS=ON cmake flag.

The C API is simple enough to wrap in any language. I wrote a Rust binding in about 200 lines using bindgen. A colleague did the same for Go with cgo. The API surface is intentionally small: load a model, run inference, get segments. No callbacks, no async, no threading model to fight. If you need to embed transcription in a non-C/C++ application, the FFI overhead is minimal.

Memory usage scales linearly with model size. Whisper tiny uses ~120MB of RAM. Whisper large-v3 uses ~1.5GB. This is predictable and well-documented. If you are targeting a device with 4GB of RAM, you know exactly how much headroom you have for the rest of your application.

Who should use this

If you are shipping a desktop or mobile app that needs local, offline transcription, and dealing with Python packaging is consuming engineering time you do not have — transcribe.cpp is probably your answer. The C API is clean, the runtime overhead is minimal, and the ability to swap models without rewriting integration code solves a real problem.

If you are building an open-source voice interface, a note-taking app, or a local meeting recorder, the streaming + batch combination covers most workflows. The Mozilla.ai backing also suggests this is not a one-person hobby project that vanishes in six months.

Who should stick with Python

If your transcription pipeline already works, and the Python dependency hell does not bother you, transcribe.cpp does not offer a meaningful accuracy improvement. The models are the same ones available through Hugging Face transformers and FunASR. The value proposition is the single runtime, not better WER.

If you need diarization, speaker labeling, punctuation restoration, or any of the post-processing steps that the Python ecosystem handles well, you will end up with a hybrid stack anyway. At that point, the marginal benefit of swapping out the inference layer is small.

If you need a model that is not in the 16 supported families — say, OpenAI’s newer real-time API models or Deepgram’s proprietary ones — transcribe.cpp is not relevant. It runs open-weight GGUF models, period.

The bigger picture

The pattern here is bigger than speech-to-text. ggml started as a way to run LLaMA on a laptop. Now it runs diffusion models (stable-diffusion.cpp), text-to-speech (piper.cpp), and ASR. The same runtime, the same quantization formats, the same build system.

transcribe.cpp is the latest proof that the “one runtime, many models” approach that worked for LLMs translates to other modalities. It is not a replacement for the Python ecosystem. It is an escape hatch for the places where Python is too heavy — the mobile app, the embedded device, the desktop tool that needs to start in under a second and run without an internet connection.

For those use cases, this is the best option available as of mid-2026. The project needs time to mature, but the foundation is solid.

Sources:

Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen