llama.cpp v0.8.0: the local server speaks and listens in realtime, plus the LFM3 family

llama.cpp is the engine that runs most local AI: it is the engine under the hood of Ollama, the one many servers and interfaces build on. Version 0.8.0 changes the game on one specific point: the local server now speaks, listens and answers in realtime, without external services. Two new endpoints — /v1/realtime and POST /tts — plus a family of compact audio models that run on modest hardware.
What changed: voice in and voice out, inside the server
Until 0.8.0, voice on a local server was an external assembly: a separate app did speech-to-text, sent the text to the inference server, received the response text and passed it to a speech synthesis engine. Four pieces, four latencies, four failure points.
Now the llama.cpp server exposes two endpoints that close the loop:
/v1/realtimeimplements the OpenAI realtime protocol: conversation and transcription with streaming audio, and tool-calling support directly inside the voice conversation. The server sends theresponse.doneevent only after the committed audio has drained, so the client knows when the response is truly finished.POST /ttsis the entry point for text-to-speech models: a simple API, designed in the same spirit as what you already know from text models.
In practice: a web app, a phone system or an assistant can talk to the local model over a single connection. The model no longer sees only text.
The models: the LiquidAI LFM3 family
The actual voice comes from the models. 0.8.0 brings the LiquidAI LFM3 family, verified against the Hugging Face reference implementation:
| Model | Size | What it does |
|---|---|---|
| LFM3-1.7B | 1.7B parameters | Text, runs on any consumer GPU |
| LFM3-VL-2B | 2B parameters | Vision: images and video as input |
| LFM3-Audio-2B | 2B parameters | ASR, TTS and voice chat, one single model |
| LFM3-Omni-2B | 2B parameters | Audio in and out, voice chat with streaming |
The point is not the size: 1.7-2B are the models that run on an 8-12 GB GPU, or even on a modern CPU. The point is that a local server can, for the first time, offer a complete voice experience — listening, understanding, answering out loud — with a model that fits in a few gigabytes. In parallel come the decision models d1-2B and d1-omni-2B, same philosophy.
The mtmd library received an experimental mtmd_audio_stream API that turns PCM as it arrives into decoder-ready embedding rows: audio is no longer "assembled" and then sent, it is consumed as a stream while it arrives.
The latency budget: the numbers that matter
In a voice conversation, everything plays out against a budget: from the moment you stop speaking to the moment the answer starts being spoken. Camilo Quintas's work on voice system architecture proposes a concrete target: hand the first final-answer text to TTS within 1,500 ms of the caller's last word, for at least 99% of replies. Here is how that budget breaks down, with the reference values used in the analysis:
| Stage | Duration (reference values) |
|---|---|
| Endpointing (deciding you finished) + preparation | ~460 ms |
| First model token (TTFT) | ~500 ms |
| Collecting the first text segment | ~100 ms |
| Total to TTS | ~1,010 ms |
With 500 ms of headroom under 1,500, there is room for the synthesis engine too. In the same study, switching to an open-weight model brings the p99 handoff to TTS from 1,960 ms down to 1,210 ms: the target goes from "unreachable" to "met". These are design values, not benchmarks we measured — the point to keep is the method: define the budget before choosing hardware, and measure each stage separately.
In the engine: what changes under the hood
0.8.0 is a big release inside the core as well:
- MoE in RAM: the experts of Mixture-of-Experts models kept in host memory now use a 50/50 SLRU cache instead of a plain LRU. Less thrashing for big models running partly in RAM.
- Sparse attention (QSA/DSA): reworked onto a fused masking operation, with views shared between layers.
- ggml v0.28.0: new
GGML_OP_TOP_K_MASKoperation, semantics for expert index-1, and backend work (CUDA, SYCL, OpenCL, Hexagon). - Server: reasoning-effort levels selectable via the API, deferred tools, router improvements.
- Web UI: browse and download models straight from Hugging Face Hub, search conversations and compact them.
The limits, stated plainly
/v1/realtimeis a young feature: themtmd_audio_streamAPI is declared experimental in the release notes. Expect refactors in the coming releases.- It is not a cloud replacement for heavy workloads: the 2B models are brilliant at conversation, not at deep reasoning. For that, the big models remain — and they do not speak.
- The latency figures we cite are design values, not measurements on specific hardware. On a consumer laptop, the text model's TTFT and the audio bandwidth can shift the budget: measure on your setup.
Getting started
# 1. Install llama.cpp (prebuilt binary from the GitHub site)
# and start the server with a compatible model
llama-server -hf liquid/lfm3-omni-2b
# 2. Check that voice is active: the web UI shows the model's
# capabilities. With an OpenAI-compatible client, open the
# WebSocket on /v1/realtime
If it does not work: check that the model supports audio capabilities (mtmd_caps reports gen_audio); without an mmproj or without an audio model, the server starts but /v1/realtime does not answer. The LFM3 models are on Hugging Face under the LiquidAI account.
Where to read next
- Local voice, from Whisper to text-to-speech: /en/blog/la-voce-locale-da-whisper-al-text-to-speech
- Ollama voice: local speech synthesis: /en/blog/ollama-voice-phonon
- Ollama vs llama.cpp, under the hood: /en/blog/ollama-vs-llama-cpp-sotto-il-cofano
Sources
- llama.cpp release v0.8.0 (GitHub): https://github.com/ggml-org/llama.cpp/releases/tag/v0.8.0
- PR #31269 /v1/realtime (realtime conversation and transcription): https://github.com/ggml-org/llama.cpp/pull/31269
- PR #26603 POST /tts: https://github.com/ggml-org/llama.cpp/pull/26603
- PR #31257 LFM3-Audio-2B and LFM3-Omni-2B: https://github.com/ggml-org/llama.cpp/pull/31257
- C. Quintas, "From Closed to Open-Weight LLMs: Choosing the Inference Stack for Voice AI" (November 2026): https://github.com/KmiQ/articles/blob/main/choosing-the-inference-stack-for-voice-ai.md
In summary
llama.cpp 0.8.0 closes the loop on local voice: the server speaks and listens in realtime through /v1/realtime and /tts, implementing the OpenAI realtime protocol. The LiquidAI LFM3 family (1.7-2B) brings ASR, TTS and voice chat in a single model that runs on consumer hardware. The latency budget that matters — 1,500 ms from end-of-speech to start-of-answer — is measured and designed stage by stage: endpointing, first token, first segment. Local voice AI has stopped being an experiment and has gained an API.
Article generated with AI
In these reading paths
Enjoyed this article?
Subscribe to the newsletter for new tutorials and guides.
Related Articles

Qwen3.8-2.4T-A95B: the math of running 2.4T open-weight parameters, 95B active
The first Qwen-Max-class open-weight model weighs ~1.3 TB at Q4: no single consumer node fits it. The math on amortization, power, and speed for multi-node.

Ripple-65B: a 64.8B dense in Apache-2.0, the math of running it locally
64.8B parameters, Apache 2.0, 1M of context and an NVFP4 checkpoint designed for 128 GB of unified memory: the math and the criteria for running a frontier dense locally.

