← Back to Leaderboard
Thandy-computer

handy-computer/transcribe.cpp

A ggml inference engine for local batch and streaming speech-to-text

Engineering Health (Methodology)
A+ · 92/100
Maintenance Activity
● Updated today
Latest Release
v0.5.2
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity20/20
Local AISelf-HostedCLIGPU
Total Stars
★ 2,230
24h Growth
+4
7d Growth
+19
Forks
181

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

handy-computer/transcribe.cpp Star History (2026-06-25 - 2026-12-03) ALL-TIME STAR HISTORY (2026-06 – 2026-12) +2.2k in 161d · avg +14/day 2.4k 1.2k 0 2026-06-25: ★ 12026-07-11: ★ 1622026-07-25: ★ 1,5522026-08-08: ★ 1,7002026-08-22: ★ 1,8062026-09-05: ★ 1,8722026-09-19: ★ 1,9222026-10-03: ★ 1,9712026-10-17: ★ 2,0502026-10-31: ★ 2,1132026-11-10: ★ 2,1522026-11-20: ★ 2,1912026-12-03: ★ 2,230 ★ 2.2k 06-25 09-13 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

transcribe.cpp is an embeddable C++17 inference engine. The public boundary is the C API in include/transcribe.h, used by transcribe-cli and wrapped by the official bindings. The engine loads GGUF models and executes model-family implementations in src/arch/ on vendored ggml. Parakeet and Cohere Transcribe have separate implementations: GGUF is the model container, not a way to run an arbitrary architecture without a port.

On CPU and Apple Silicon Metal, GGUF weights are mapped into the OS page cache instead of being copied into process-owned buffers. For models with adjacent packed FFN gate and up weights, the loader can alias both regions as one tensor, avoiding a second packed copy. It falls back to copying when device padding or a split mapping prevents aliasing. The build keeps ggml downstream patches in patches/ggml/, separate from the family-specific code.

Key Capabilities & Differentiators

One runtime covers batch and streaming transcription across 16 model families and more than 60 variants, but features must be selected per model. Moonshine Streaming is a streaming option; GigaAM-v3 and MedASR expose token timestamps; the Granite Speech 4/4.1 family includes variants with word timestamps, diarization, and translation. The CLI expects 16 kHz mono WAV, so other input formats need conversion before transcription.

Prebuilt GGUF weights are available on Hugging Face. For custom weights, the Parakeet converter supports NeMo checkpoints and the separate transcribe-quantize tool offers presets from F16 through Q4_K_M. The project-published models undergo numerical verification and word error rate (WER) testing against reference implementations. The release catalog.db records model metadata, accuracy, and performance, making it a useful first filter before testing on your own audio.

Trade-offs & Limitations

Compared with a hosted Whisper API, this engine gives the operator control over where audio is processed, which model runs, and how inference is embedded. In exchange, the operator owns model distribution, hardware and driver compatibility, and any service layer needed for a shared endpoint. Batch and streaming support are not interchangeable across families; confirm streaming, timestamps, speaker labels, and language coverage on the exact variant before committing to its output contract.

Quantization lowers weight storage, but the effect on accuracy and throughput depends on the model, quantization preset, and backend. Use the catalog to shortlist combinations, then measure error rate, peak RAM or VRAM, and throughput at target concurrency. When updating a memory-mapped model, replace the file atomically rather than rewriting it in place. The MIT engine license does not determine the terms of every model checkpoint; review weight licenses independently.

Hardware & Deployment Guide

Build the engine with CMake and a C++17 toolchain. Apple Silicon builds enable Metal automatically. On Linux or Windows, Vulkan needs its development tools and -DTRANSCRIBE_VULKAN=ON. On Linux, the CUDA path requires the CUDA toolkit and -DTRANSCRIBE_CUDA=ON; the HIP path requires ROCm 6.1 or newer, -DTRANSCRIBE_HIP=ON, and a target matching the AMD GPU. For an offline deployment, stage the native artifacts and GGUF files in advance, then run the CLI or embed the C API.

Python separates its ctypes interface from the transcribe-cpp-native provider. The platform wheel design pairs CPU with Vulkan on manylinux and Windows, and CPU with Metal on macOS arm64; a source install builds the native library. Rust’s transcribe-cpp-sys also bundles the C++ tree and declares Rust 1.82. The listed releases progress from v0.5.0 through v0.5.2, and the v0.5.2 sys manifest records the 1.82 floor for generated FFI. Start with ctest; real-model checks are opt-in and require a GGUF fixture.

Model selection: 16 ASR families and more than 60 variants share one ggml runtime.
Capability granularity: Moonshine Streaming provides streaming; GigaAM-v3 exposes token timestamps, while select Granite Speech variants cover word timestamps, diarization, and translation.
Weight loading: CPU and Apple Silicon Metal memory-map GGUF weights; --no-mmap switches to copied weights.
Backend coverage: tinyBLAS CPU path, Metal on Apple Silicon, Vulkan on Linux and Windows, and CUDA or HIP/ROCm on Linux.
Packaging: Python separates the ctypes interface from the native provider; the Rust sys crate carries the C++ sources for source builds.
Model evaluation: Releases publish a queryable catalog.db with a SHA-256 checksum, and project-published models are checked numerically and evaluated for WER against reference implementations.
Best For

Offline transcription pipelines and embedded voice applications that need local inference, a choice of ASR models, and control over hardware and audio handling.

Skip If

You need a managed transcription endpoint with no native runtime to operate, or require streaming, diarization, and timestamps to work identically across interchangeable models.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AISelf-HostedCLIGPU
uv run scripts/catalog/format.py --check  # canonical record layout
uv run scripts/catalog/check.py           # schema, integrity, pairing
uv run scripts/catalog/render.py          # rewrite the marked doc regions
uv run scripts/catalog/render.py --check

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
transcribe.cpp ★2.2k+19C++MITA ggml inference engine for local batch and streaming speech-to-text
whisperX26.5k+472PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
sherpa-onnx16.4k+136C++Apache-2.0C++ and ONNX Runtime SDK for offline speech and real-time transcription
WhisperLiveKit11.3k+27PythonApache-2.0Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/handy-computer/transcribe.cpp.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

handy-computer/transcribe.cpp Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about transcribe.cpp

What is the simplest way to integrate the engine?

Embed the C API in include/transcribe.h directly, or use the official Python, TypeScript/JavaScript, Rust, or Swift/ObjC bindings. Python uses ctypes to call the native library. For file-based jobs, transcribe-cli is the simplest starting point; convert inputs to 16 kHz mono WAV first.

How much RAM or VRAM should I budget?

There is no single requirement across all supported models. Start with the GGUF file size as an estimate for weight storage, not peak RAM or VRAM. Measure peak memory and throughput on the intended backend with representative audio and concurrency. On CPU and Apple Silicon Metal, mmap lets the OS reclaim and share file-backed weight pages, but working buffers still consume memory.

Can I use it commercially and keep recordings on-premises?

The engine is MIT-licensed, which permits commercial use and redistribution subject to its notice requirements. Check the license of each selected model separately, along with applicable third-party notices. Local inference can keep audio off a hosted transcription API, but retention and access controls remain the operator’s responsibility.

When is it a better fit than a hosted Whisper API?

Choose transcribe.cpp when local execution, control over model selection, or direct embedding matters more than a managed endpoint. Choose a hosted Whisper API when avoiding model downloads, hardware sizing, and runtime maintenance is more important. Compare both on your own recordings, including accuracy, required output features, and end-to-end cost.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining handy-computer/transcribe.cpp? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature handy-computer/transcribe.cpp on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare