--- id: funasr version: "1.4.2" license: The MIT License license_treatment: permissive maintenance: active --- # funasr — OpenAI-compatible speech recognition toolkit with WebSocket streaming, vLLM acceleration, and llama.cpp/GGUF edge runtime. License: permissive · Maintenance: active · Downloads: 497.9K/mo ## What it is and what it does FunASR is a production-grade speech recognition toolkit that goes beyond single-model transcription. It coordinates multiple specialized models—ASR, voice activity detection (VAD), speaker diarization, punctuation, and emotion tagging—into unified pipelines. You choose the checkpoint that fits your task: Fun-ASR-Nano for Chinese/English/Japanese with GPU acceleration, SenseVoiceSmall for CPU-viable five-language ASR with emotion detection, Paraformer for low-latency streaming, or Qwen3-ASR for 52-language coverage. The toolkit handles offline batch processing, real-time WebSocket streaming, and edge deployment via GGUF or vLLM acceleration. It ships with OpenAI-compatible API serving, MCP server integration, and agent hooks for LangChain and AutoGen. The core dependency stack includes transformers, librosa, scipy, and Hydra for configuration; model weights are fetched from ModelScope or Hugging Face on first use. Unlike single-model alternatives, FunASR lets you trade off speed, language coverage, and feature richness per deployment scenario—from CPU-only inference to GPU-accelerated batch processing. Use it for: - Transcribe multilingual audio with speaker labels and timestamps for meeting notes, interview processing, or call center analytics. - Deploy a self-hosted OpenAI-compatible speech API endpoint for voice agents and chatbots without cloud vendor lock-in. - Extract emotion and audio events alongside transcription for customer sentiment analysis or accessibility. - Stream live audio transcription via WebSocket for real-time captioning or voice command interfaces. - Run low-latency ASR on CPU or edge devices using SenseVoiceSmall or GGUF checkpoints for embedded systems. - Batch-process large audio corpora with vLLM acceleration for industrial data labeling or training dataset preparation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. FunASR is a speech recognition toolkit that transcribes audio offline or via streaming, with integrated voice activity detection, speaker identification, punctuation restoration, and emotion/audio-event tagging across multiple languages and deployment targets. Yes. FunASR is actively maintained, MIT-licensed, and offers a genuine alternative to single-model approaches. Install it if you need speaker diarization, emotion detection, streaming support, or self-hosted deployment. The 26 runtime dependencies add setup complexity, but the toolkit's flexibility across models and deployment targets justifies it for production use. Start with the Colab quickstart to test before local setup. ## Install pip install funasr uv add funasr poetry add funasr ## Installing funasr Before you install: Low friction installation with a pure-Python wheel. Active maintenance (latest release 2026-08-14) and strong community signal (19836 GitHub stars). Requires installation of dependencies including transformers and librosa before use; GPU support is optional but recommended for flagship models. License in practice: MIT license (permissive) allows commercial and private use without restriction. Toolkit itself is free and self-hosted; individual model licenses vary by checkpoint. Quickstart: pip install funasr from funasr import AutoModel model = AutoModel(model="iic/SenseVoiceSmall", device="cpu") result = model.generate(input="audio.wav") print(result[0]["sentence_info"]) Requires Python ≥ 3.7. Dependencies include transformers, librosa, scipy, and others; GPU-accelerated models require additional setup. CPU-only inference is viable but slower than GPU deployment. Verify before relying: - Whether all 26 runtime dependencies are required for basic usage or only for specific models/features. - Specific performance metrics and whether they apply to typical hardware configurations. - Detailed compatibility matrix between model checkpoints and deployment targets (CPU, GPU, GGUF, vLLM). - Whether external PyTorch installation is a hard blocker or handled by dependency resolution. ## Package facts - License: The MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 497.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags speech recognition toolkit, ASR with speaker diarization, multilingual audio transcription, streaming speech-to-text, VAD and punctuation restoration, edge deployment ASR, openai-compatible speech API, speech-recognition, speaker-diarization, streaming-asr [View on SkillFed](https://skillfed.io/packages/funasr) · [View on PyPI](https://pypi.org/project/funasr/)