← Back to Leaderboard
WQuentinFuxa

QuentinFuxa/WhisperLiveKit

Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization

View on GitHub ↗
Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated 2d ago
Latest Release
v0.2.28
Commercial License Check
Apache-2.0 · Commercial Friendly

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

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AICLIGPUAPI
Total Stars
★ 11,327
24h Growth
+3
7d Growth
+27
Forks
1,171

GitHub Star History

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

QuentinFuxa/WhisperLiveKit Star History (2024-12-18 - 2026-12-03) ALL-TIME STAR HISTORY (2024-12 – 2026-12) +11.3k in 715d · avg +16/day 12k 6k 0 2024-12-18: ★ 12025-02-01: ★ 482025-03-22: ★ 1502025-05-10: ★ 2402025-06-28: ★ 3342025-08-16: ★ 4352025-10-04: ★ 7,2632025-11-22: ★ 8,3282026-01-10: ★ 9,2202026-02-28: ★ 9,5672026-04-18: ★ 10,0202026-06-06: ★ 10,3182026-07-25: ★ 10,4902026-09-12: ★ 10,9812026-10-31: ★ 11,1862026-12-03: ★ 11,327 ★ 11.3k 2024-12 2025-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

WhisperLiveKit runs a shared ASR engine behind FastAPI and Uvicorn. Audio arrives through the native /asr WebSocket or the bundled browser UI, and voice activity detection reduces work during silence. Rather than transcribing each small chunk in isolation, the pipeline buffers context and uses a streaming policy to decide when to commit text. The base Python stack includes PyTorch, torchaudio, Faster-Whisper, librosa, and soundfile.

The --backend selector chooses the inference runtime; --backend-policy selects AlignAtt SimulStreaming by default or LocalAgreement where supported. FunASR requires LocalAgreement, while Voxtral uses neither policy and streams on its own. A shared engine serves concurrent sessions with per-session language controls and, on supported backends, terminology hints. The bundled UI uses full-state updates; custom clients can opt into the experimental mode=diff protocol.

Key Capabilities & Differentiators

The same package supports live transcription, optional speaker diarization and translation, and serverless file transcription with SRT export. Streaming Sortformer is available for diarization. Translation can run in-process through NLLB or use an Alignatt4LLM sidecar for attention-gated, append-only text. The service exposes /v1/audio/transcriptions for OpenAI-style REST uploads and a Deepgram-compatible streaming subset; neither is a full replacement for the corresponding hosted API.

Backend choice affects both language coverage and timing. Voxtral Mini natively handles more than 100 languages with automatic detection; Canary-1b-v2 covers 25 European languages and provides native word timestamps. The Hugging Face Qwen3 streaming backend requires an explicit language and estimates word timing by interpolation at roughly one-second precision. Use the Qwen3 vLLM backend with ForcedAligner when those estimates are too coarse.

Trade-offs & Limitations

Direct Whisper inference is simpler for completed recordings. WhisperLiveKit earns its extra runtime when an application needs to preserve context across audio chunks, commit text incrementally, or attach speaker labels. Compared with a managed Whisper API, local inference gives operators control over audio routing and model selection, but they must size and maintain the service. The shared engine supports concurrent clients; that does not establish how many any given model and machine can handle in real time.

Use wlk bench to compare ASR configurations, then load-test the actual pipeline with representative audio and target concurrency. Measure time to stable text, host memory, and peak VRAM with diarization and translation enabled if needed. CPU support is not a throughput guarantee: Canary runs on CPU but is slow there, and its Apple Silicon restore path does not use MPS. The windowed Qwen3 streaming mode can re-encode up to 12 seconds per update; causal mode encodes each block once but requires a dedicated checkpoint.

Hardware & Deployment Guide

The package targets Python 3.11–3.13. Install with pip install whisperlivekit, launch with wlk --model base --language en, and open http://localhost:8000. For file transcription without a server, use wlk transcribe meeting.wav. Prepare model weights ahead of time for disconnected deployment. The tree includes Dockerfile and Dockerfile.cpu; compose.yml provides separate GPU Sortformer and Voxtral services, a persistent Hugging Face cache, and optional HF_TOKEN wiring.

Select one validated dependency profile rather than combining all accelerators: qwen3-vllm and cu129 require separate environments, and the Diart extra is limited to Python 3.11–3.12. v0.2.28 added Nemotron streaming on Apple Silicon and safer API token handling. It also brought local MLX translation and bounded WebSocket sessions to PyPI from v0.2.27, which was not published there. For remote access, configure TLS and API authentication; use the bearer header rather than putting credentials in the URL where clients support it.

Streaming policies: AlignAtt SimulStreaming and LocalAgreement control incremental text; Voxtral uses its own streaming policy.
Session protocol: /asr supports per-session language, translation targets when enabled, and backend-dependent terminology context; diff updates are experimental.
Qwen3 audio caching: qwen3-streaming defaults to a 12-second re-encoding window; its causal mode encodes each audio block once with a dedicated checkpoint.
Speaker and translation layers: Streaming Sortformer adds speaker labels; NLLB runs in-process, while AlignAtt translation uses an Alignatt4LLM sidecar.
Client interfaces: Browser UI, offline CLI with SRT export, OpenAI-style REST transcription, and a Deepgram-compatible streaming subset.
Deployment profiles: Compose separates CUDA Sortformer and Voxtral builds while sharing a Hugging Face cache volume; Apple Silicon has separate MLX options.
Best For

Teams building live captions or multilingual meeting tools that need control over audio routing, backend choice, and transcript delivery.

Skip If

You only transcribe finished files, require full OpenAI or Deepgram API parity, or want managed capacity without operating model runtimes.

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

Quick Start & Installation

DockerSelf-HostedLocal AICLI
pip install whisperlivekit

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
WhisperLiveKit ★11.3k+27PythonApache-2.0Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
buzz23.3k+171PythonMITWhisper-powered Python desktop app for local audio transcription and translation
mlx-audio8.4k+32PythonMITMLX inference SDK for local speech and audio pipelines on Apple Silicon

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/QuentinFuxa/WhisperLiveKit.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.

QuentinFuxa/WhisperLiveKit Star History on RepoForAI

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

Frequently Asked Questions about WhisperLiveKit

How should an application integrate live captions and file transcription?

Use the native /asr WebSocket for live audio and partial transcripts. Start with full-state updates; mode=diff is experimental and requires the client to apply incremental changes. For file uploads, point the OpenAI SDK at the local /v1 base URL and use /v1/audio/transcriptions. Test the endpoints and response fields you rely on because compatibility is limited to a subset.

Can it run without an NVIDIA GPU, and how should I size it?

Start with Whisper base on CPU or an MLX backend on Apple Silicon. For NVIDIA deployments, compare the ASR-only configuration with the full pipeline, including diarization or translation if used. Measure host RAM, peak VRAM, and time to a stable transcript at your target number of simultaneous sessions. There is no single VRAM requirement across backends and model sizes.

Can I deploy it commercially and keep audio on premises?

WhisperLiveKit's Apache-2.0 license permits commercial use subject to its terms, but model weights have separate terms: Canary-1b-v2 is CC-BY-4.0 and SenseVoiceSmall has its own model license. For deployments that keep audio on premises, use local ASR and translation components, provision weights ahead of time, and check audio routing and retention. Selecting the openai-api backend is not equivalent to running inference locally.

When is this a better choice than direct Whisper or a hosted Whisper API?

Choose WhisperLiveKit over direct Whisper inference when you need live updates, streaming text commitment, or optional speaker labels. Choose it over a managed Whisper API when control over audio routing and model selection justifies operating the service yourself. For file uploads alone, direct local inference or a hosted API can be simpler, depending on your data requirements.

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 QuentinFuxa/WhisperLiveKit? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature QuentinFuxa/WhisperLiveKit 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