Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>FunASR 跑进 llama.cpp:中文 ASR 的 whisper.cpp 替代品(CPU/零 Python/下载即用)| FunASR 博客</title>
<meta name="description" content="FunASR 的 llama.cpp/GGUF 端侧运行时:单个自包含二进制、零 Python、内置 VAD、吃任意音频,下载即用转写中文。中文 CPU 上比 whisper.cpp 准约 2.7 倍。3 步实测跑通。">
<meta name="keywords" content="whisper.cpp 替代, llama.cpp 语音识别, FunASR, 中文语音识别 CPU, 端侧 ASR, 离线语音识别, GGUF, SenseVoice, Paraformer, 无需 GPU 语音识别">
<link rel="icon" href="/logo.png">
<meta property="og:title" content="FunASR 跑进 llama.cpp:中文 ASR 的 whisper.cpp 替代品(CPU/零 Python/下载即用)| FunASR 博客">
<meta property="og:description" content="FunASR 的 llama.cpp/GGUF 端侧运行时:单个自包含二进制、零 Python、内置 VAD、吃任意音频,下载即用转写中文。中文 CPU 上比 whisper.cpp 准约 2.7 倍。3 步实测跑通。">
<meta property="og:type" content="article">
<meta property="og:url" content="https://www.funasr.com/blog/funasr-llama-cpp-whisper-cpp-alternative.html">
<meta property="og:image" content="https://www.funasr.com/logo.png">
<link rel="canonical" href="https://www.funasr.com/blog/funasr-llama-cpp-whisper-cpp-alternative.html">
<link rel="alternate" hreflang="en" href="https://www.funasr.com/en/blog/funasr-llama-cpp-whisper-cpp-alternative.html">
<link rel="alternate" hreflang="zh" href="https://www.funasr.com/blog/funasr-llama-cpp-whisper-cpp-alternative.html">
<link rel="alternate" hreflang="x-default" href="https://www.funasr.com/en/blog/funasr-llama-cpp-whisper-cpp-alternative.html">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BlogPosting","headline":"FunASR 跑进 llama.cpp:中文 ASR 的 whisper.cpp 替代品(CPU/零 Python/下载即用)| FunASR 博客","description":"FunASR 的 llama.cpp/GGUF 端侧运行时:单个自包含二进制、零 Python、内置 VAD、吃任意音频,下载即用转写中文。中文 CPU 上比 whisper.cpp 准约 2.7 倍。3 步实测跑通。","datePublished":"2026-06-20","dateModified":"2026-08-15","author":{"@type":"Organization","name":"FunASR / Tongyi Lab"},"publisher":{"@type":"Organization","name":"FunASR","logo":{"@type":"ImageObject","url":"https://www.funasr.com/logo.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://www.funasr.com/blog/funasr-llama-cpp-whisper-cpp-alternative.html"},"image":"https://www.funasr.com/logo.png"}
</script>
<style>:root{--primary:#2563eb;--primary-dark:#1d4ed8;--bg:#fff;--surface:#f8fafc;--border:#e2e8f0;--text:#0f172a;--text-soft:#475569;--text-muted:#94a3b8;--radius:12px}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',-apple-system,sans-serif;color:var(--text);line-height:1.7}
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
.container{max-width:800px;margin:0 auto;padding:0 24px}
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:14px 0}
.nav .container{max-width:1120px;display:flex;align-items:center;gap:24px}
.nav-logo{font-size:1.2rem;font-weight:800;color:var(--text)}.nav-logo span{color:var(--primary)}
.nav-links{display:flex;gap:20px;margin-left:auto;flex-wrap:wrap}
.nav-links a{font-size:0.85rem;font-weight:500;color:var(--text-soft)}
.nav-btn{padding:7px 16px;background:var(--primary);color:#fff;border-radius:7px;font-size:0.83rem;font-weight:600}
article{padding:120px 0 80px}
h1{font-size:2rem;font-weight:800;line-height:1.3;margin-bottom:14px}
h2{font-size:1.3rem;font-weight:700;margin:36px 0 14px;padding-top:16px;border-top:1px solid var(--border)}
h3{font-size:1.05rem;font-weight:700;margin:22px 0 10px}
p{margin-bottom:14px;color:var(--text-soft)}
ul,ol{margin:0 0 14px 22px;color:var(--text-soft)}li{margin-bottom:6px}
table{width:100%;border-collapse:collapse;margin:16px 0;font-size:0.86rem}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border)}
th{font-weight:600;background:var(--surface);font-size:0.78rem;color:var(--text-muted)}
pre{background:#1e293b;color:#e2e8f0;padding:18px;border-radius:10px;overflow-x:auto;font-size:0.82rem;line-height:1.7;margin:14px 0}
code{font-family:ui-monospace,Menlo,monospace}
p code,li code{background:var(--surface);padding:2px 6px;border-radius:5px;font-size:0.85em;color:var(--primary-dark)}
.post-meta{color:var(--text-muted);font-size:0.85rem;margin-bottom:24px}
.cta{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin:28px 0;text-align:center}
.cta a.btn{display:inline-block;padding:10px 24px;background:var(--primary);color:#fff;border-radius:8px;font-weight:600}
.post-list{list-style:none;margin:0;padding:0}
.post-list li{margin:0 0 8px}
.post-card{display:block;border:1px solid var(--border);border-radius:var(--radius);padding:20px 22px;margin-bottom:14px}
.post-card:hover{border-color:var(--primary);text-decoration:none}
.post-card h2{border:none;padding:0;margin:0 0 6px;font-size:1.15rem;color:var(--text)}
.post-card p{margin:0;color:var(--text-soft);font-size:0.9rem}
.post-card .date{color:var(--text-muted);font-size:0.8rem}
footer{background:#0f172a;color:#94a3b8;padding:28px 0;text-align:center;font-size:0.8rem}
footer a{color:#94a3b8}
@media(max-width:760px){
.nav{padding:12px 0}
.nav .container{gap:12px;flex-wrap:nowrap}
.nav-links{display:none}
.nav-logo{margin-right:auto}
.nav-btn{padding:7px 12px}
article{padding-top:96px}
}</style>
</head>
<body>
<nav class="nav"><div class="container"><a href="/" class="nav-logo">Fun<span>ASR</span></a><div class="nav-links"><a href="/#capabilities">核心能力</a><a href="/#usage">如何使用</a><a href="/#benchmark">性能</a><a href="/#demo">演示</a><a href="https://modelscope.github.io/FunASR/zh/" target="_blank">文档</a><a href="/quickstart.html">快速上手</a><a href="/models.html">模型</a><a href="/ecosystem.html">生态</a><a href="/blog/">技术博客</a><a href="/vs-whisper.html">对比 Whisper</a><a href="/donors.html">功德榜</a></div><a href="https://www.funasr.com/en/blog/funasr-llama-cpp-whisper-cpp-alternative.html" style="font-size:0.83rem;font-weight:500;color:var(--text-soft)">EN</a><a href="https://github.com/modelscope/FunASR" target="_blank" class="nav-btn">GitHub ★</a></div></nav>
<article><div class="container">
<h1>FunASR 跑进 llama.cpp:中文语音识别的 whisper.cpp 替代品(CPU、零 Python、下载即用)</h1>
<p class="post-meta">2026-06-20 · 2026-08-15 更新 · FunASR 团队</p>
<p><a href="https://github.com/ggml-org/whisper.cpp" target="_blank">whisper.cpp</a> 是端侧语音识别的事实标准——单个自包含二进制、CPU 就能跑、零依赖。但 Whisper 在<strong>中文</strong>上偏弱。现在 <strong>FunASR 有了 llama.cpp / GGUF 运行时</strong>:一样的"下载即用"体验,<strong>单个静态二进制、零 Python、内置 VAD、吃任意音频</strong>,而且在中文 CPU 上比 whisper.cpp <strong>准约 2.7 倍</strong>。</p>
<p style="background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:12px 16px"><strong>👉 想直接下载?</strong> v0.2.0 提供 9 个 Linux、macOS、Windows 预编译包及 SHA-256;下载矩阵、quickstart 与已知限制见 <a href="/deploy/llama-cpp.html">llama.cpp / GGUF 部署页</a>。</p>
<h2>3 步跑通(全部实测)</h2>
<pre># 1. 下预编译二进制(linux-x64 / linux-arm64 / macos-arm64 / windows-x64)
wget https://github.com/modelscope/FunASR/releases/download/runtime-llamacpp-v0.2.0/funasr-llamacpp-linux-x64-vulkan.tar.gz
tar xzf funasr-llamacpp-linux-x64-vulkan.tar.gz
# Windows Vulkan 包: funasr-llamacpp-windows-x64-vulkan.zip(运行时加 --backend vulkan)
# 2. 一条命令下模型(无需 torch / funasr 环境)
bash download-funasr-model.sh sensevoice
# 3. 转写 —— 直接打印文字
./llama-funasr-sensevoice -m funasr-gguf/sensevoice-small-f16.gguf \
--vad funasr-gguf/fsmn-vad.gguf -a audio.wav
# -> 开放时间早上九点至下午五点</pre>
<p>没有 Python、没有编译、没有依赖地狱——下二进制、下模型、跑,出中文文字。和 whisper.cpp 一模一样的手感。</p>
<h2>你能得到什么</h2>
<table>
<tr><th>模型</th><th>特点</th><th>速度(CPU)</th></tr>
<tr><td><strong>SenseVoice</strong></td><td>多语种 + 语种/情感/事件标签</td><td>~20× 实时</td></tr>
<tr><td><strong>Paraformer</strong></td><td>非自回归,最快</td><td>~22× 实时</td></tr>
<tr><td><strong>Fun-ASR-Nano</strong></td><td>LLM-ASR,最准</td><td>LLM 解码</td></tr>
</table>
<ul>
<li><strong>内置 FSMN-VAD</strong>:长音频自动分段(`--vad fsmn-vad.gguf`),裸二进制即达参考精度,无需 Python 前端</li>
<li><strong>任意音频</strong>:wav / mp3 / flac、任意采样率/声道,二进制内部重采样</li>
<li><strong>多平台预编译</strong>:v0.2.0 提供 9 个 Linux x64/arm64、macOS arm64、Windows x64 包,含 Linux/Windows Vulkan 与 Windows CUDA 加速包(<a href="https://github.com/modelscope/FunASR/releases/tag/runtime-llamacpp-v0.2.0" target="_blank">Release</a>);其它平台一条 CMake 命令自构建</li>
<li><strong>直接输出字幕</strong>:Fun-ASR-Nano、SenseVoiceSmall 和 Paraformer CLI 均可通过 <code>--srt</code> 输出带时间戳的 SRT 字幕</li>
</ul>
<h2>中文 CPU 上 vs whisper.cpp</h2>
<p>184 段中文音频、同机 CPU 8 线程、字符级 CER(越低越准):</p>
<table>
<tr><th>系统</th><th>CER ↓</th><th>体积</th></tr>
<tr><td><strong>FunASR SenseVoice</strong></td><td><strong>8.01 %</strong></td><td>449 MB</td></tr>
<tr><td><strong>FunASR Paraformer</strong></td><td><strong>9.85 %</strong></td><td>401 MB</td></tr>
<tr><td><strong>FunASR Fun-ASR-Nano</strong></td><td><strong>8.30 %</strong></td><td>enc + Qwen3-0.6B</td></tr>
<tr><td>whisper.cpp base</td><td>31.33 %</td><td>142 MB</td></tr>
<tr><td>whisper.cpp small</td><td>22.12 %</td><td>466 MB</td></tr>
<tr><td>whisper.cpp large-v3-turbo</td><td>23.15 %</td><td>1.6 GB</td></tr>
</table>
<p>同体积下(SenseVoice 449 MB ≈ whisper small 466 MB),FunASR 的 CER <strong>低约 2.7 倍</strong>,而且更快。完整方法学见仓库 <a href="https://github.com/modelscope/FunASR/blob/main/runtime/llama.cpp/BENCHMARKS.md" target="_blank">BENCHMARKS.md</a>。</p>
<h2>为什么中文上能赢</h2>
<p>① <strong>训练数据</strong>:SenseVoice / Paraformer / Fun-ASR-Nano 主要在大规模中文上训练,Whisper 是通用多语种模型、中文只占一小片;② <strong>架构</strong>:Paraformer 非自回归(CIF 一次前向)、SenseVoice 编码器 + CTC(一次前向),比 Whisper 的自回归(逐 token)更快。</p>
<h2>模型 GGUF</h2>
<p>预转 GGUF 在 Hugging Face:<a href="https://huggingface.co/FunAudioLLM/SenseVoiceSmall-GGUF" target="_blank">SenseVoiceSmall-GGUF</a> · <a href="https://huggingface.co/FunAudioLLM/Paraformer-GGUF" target="_blank">Paraformer-GGUF</a> · <a href="https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-GGUF" target="_blank">Fun-ASR-Nano-GGUF</a> · <a href="https://huggingface.co/FunAudioLLM/fsmn-vad-GGUF" target="_blank">fsmn-vad-GGUF</a>。`download-funasr-model.sh` 会自动拉。</p>
<div class="cta"><p><strong>FunASR 全家桶开源</strong>——ASR / VAD / 标点 / 说话人 / 情感事件 / LLM-ASR / 现在还有 llama.cpp 端侧运行时。觉得有用点个 Star 👇</p><p><a class="btn" href="https://github.com/modelscope/FunASR" target="_blank">⭐ Star FunASR</a></p><p style="margin-top:10px;font-size:0.85rem">也欢迎 Star:<a href="https://github.com/QwenAudio/SenseVoice" target="_blank">SenseVoice</a> · <a href="https://github.com/QwenAudio/Fun-ASR" target="_blank">Fun-ASR</a> · <a href="https://github.com/modelscope/FunClip" target="_blank">FunClip</a></p></div>
<!--related-posts-->
<h2>相关文章</h2>
<ul class="post-list">
<li><a href="/blog/funasr-vs-whisper-benchmark.html">FunASR vs Whisper 实测对比</a></li>
<li><a href="/blog/sensevoice-deployment-guide.html">SenseVoice 部署指南</a></li>
<li><a href="/blog/fun-asr-nano-guide.html">Fun-ASR-Nano 使用指南</a></li>
<li><a href="/blog/funasr-speaker-diarization.html">说话人分离:谁在何时说话</a></li>
<li><a href="/blog/sensevoice-emotion-language-detection.html">情感与语种检测</a></li>
<li><a href="/blog/funasr-realtime-streaming-asr.html">实时流式语音识别</a></li>
<li><a href="/blog/funasr-transcribe-long-audio.html">转写超长音频(1小时一次搞定)</a></li>
<li><a href="/blog/funasr-cli-transcribe-command-line.html">命令行转写(文本/JSON/SRT)</a></li>
<li><a href="/blog/self-hosted-openai-whisper-api-alternative.html">自托管 OpenAI Whisper API 替代</a></li>
<li><a href="/blog/generate-subtitles-srt-vtt-from-audio-video.html">自动生成字幕(SRT / VTT)</a></li>
<li><a href="/blog/speech-to-text-python-transcribe-audio.html">Python 语音转文字教程</a></li>
<li><a href="/blog/funasr-vs-faster-whisper-chinese.html">FunASR vs faster-whisper(中文/粤语)</a></li>
<li><a href="/blog/lightweight-speech-recognition-cpu.html">轻量语音识别(CPU 250MB)</a></li>
<li><a href="/blog/self-hosted-deepgram-assemblyai-alternative.html">自托管替代 Deepgram/AssemblyAI</a></li>
<li><a href="/blog/which-funasr-model.html">选哪个 FunASR 模型</a></li>
<li><a href="/blog/cantonese-speech-recognition.html">粤语语音识别(SenseVoice 原生粤语)</a></li>
<li><a href="/blog/japanese-speech-recognition.html">日语语音识别(SenseVoice 转写+标点+情感)</a></li>
<li><a href="/blog/voice-activity-detection-python.html">Python 语音活动检测(VAD)</a></li>
<li><a href="/blog/self-hosted-google-aws-azure-speech-to-text.html">自托管替代 Google/AWS/Azure 云语音 API</a></li>
<li><a href="/blog/chinese-speech-recognition.html">中文语音识别(普通话)实战</a></li>
<li><a href="/blog/punctuation-restoration-python.html">标点恢复 Python 实战</a></li>
<li><a href="/blog/speech-to-text-timestamps-python.html">语音识别带时间戳(字级)</a></li>
</ul>
</div></article>
<footer><div class="container">© 2024-2026 Tongyi Lab, Alibaba Group · <a href="https://github.com/modelscope/FunASR/blob/main/LICENSE">MIT License</a></div></footer>
</body>
</html>