SuperAPIAI Directory

FunASR

github.com · AI audio

FunASR is an industrial-grade speech recognition toolkit open-sourced by the ModelScope community, targeting offline, streaming, and edge deployment scenarios. It covers capabilities such as speech recognition (ASR), voice activity detection (VAD), punctuation restoration, and speaker diarization, and also provides emotion and audio event models, while supporting OpenAI-compatible interfaces as well as MCP service integration into AI agent and voice agent workflows. FunASR decouples tasks, model checkpoints, and runtimes from one another, allowing users to choose each separately; it provides a Python API, command-line tools, service-oriented deployment, and CPU and edge deployment paths via llama.cpp/GGUF.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

FunASR is an industrial-grade speech recognition toolkit covering offline, streaming, and edge deployment. With the design philosophy of "separately selecting task—model checkpoint—runtime," its core capabilities include speech recognition (ASR), voice activity detection (VAD), punctuation restoration, and speaker diarization pipelines, and it integrates emotion and audio event models. The project also provides an OpenAI-compatible API service and an MCP server, making it easy to integrate into AI agents and voice agents such as Claude, Cursor, LangChain, Dify, and AutoGen.

In terms of main capabilities: ASR supports Fun-ASR-Nano (covering Chinese, English, Japanese, as well as Chinese dialects and regional accents), Fun-ASR-MLT-Nano-2512 (a 31-language checkpoint, a different model choice from Nano), SenseVoiceSmall (CPU-first five-language ASR with emotion and audio event labels), Paraformer and paraformer-en, among others. VAD uses FSMN-VAD, and speaker processing uses CAM++ to extract speaker embeddings (spk_embedding), which are then clustered by AutoModel and assigned anonymous speaker indices to VAD segments; these indices are limited to a single recording and are not known-identity recognition. Both punctuation and speaker models can have their device location explicitly specified in inference calls.

In terms of usage, Python ≥ 3.8 is required; first install PyTorch and torchaudio matching the NVIDIA driver according to pytorch.org, then run pip install funasr. An official Colab quick start is provided, allowing transcription of public samples or uploaded audio in the browser without a local environment. Command-line (Agent-friendly) available models include sensevoice (default), paraformer, paraformer-en, and fun-asr-nano. For service-oriented deployment: a local SenseVoice CPU recipe, a Nano GPU service, and a guide for a fixed-version vLLM split engine; for high-throughput batch processing, vLLM can be used to accelerate Fun-ASR-Nano. Regarding the native Transformers path, Transformers 5.17.0 supports the official Fun-ASR-Nano -hf checkpoint on CPU without the FunASR toolkitor remote Python code, with CPU examples and a Notebook. In the GPU examples, only use device="cuda" after confirming that torch.cuda.is_available() is True.

For edge and Python-free deployment, SenseVoice, Paraformer, and Fun-ASR-Nano can be run via llama.cpp/GGUF as a single self-contained binary on CPU and edge devices, with built-in FSMN-VAD and no Python required at runtime. Release assets include a Linux Vulkan tarball, a Windows Vulkan ZIP, a Windows CUDA ZIP (architecture 86), and windows-x64-cuda-blackwell (sm_120) for RTX 50/Blackwell; the CUDA packages bundle the required cuBLAS DLLs and use the static MSVC runtime. It is officially stated to have a CER about 3 times lower than whisper.cpp on Chinese. There is also a MOSS-Transcribe-Diarize adapter, which provides long-audio ASR, timestamps, and anonymous speaker labels, and can be deployed to FunASR services, Docker, Kubernetes, vLLM/SGLang workflows, and FunClip; its weights are released by OpenMOSS, and FunASR only provides the adapter.

Applicable scenarios include: quick local or browser trials; migration from Whisper or cloud ASR (official migration guides and benchmark examples are provided); self-hosted speech transcription and voice calls; and MCP/OpenAI API integration for agents.

Limitations and notes: model licenses and the toolkit's MIT license are independent of each other, so each model card must be checked; third-party model weights are not owned by FunASR; language coverage depends on the specific checkpoint; anonymous speaker indices are not real identity recognition and do not support real time; services without authentication should remain on the loopback address, and the security guide should be consulted before exposure; performance benchmarks need to be verified on your own audio and hardware, and offline throughput is not equal to streaming latency. This material does not provide specific pricing information.

Regarding versions, FunASR 1.4.16 preserves the device placement of VAD, punctuation, and speaker models across inference calls, and adds a tested native Transformers usage guide; the full changelog and downloadable assets are available in GitHub Releases.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools