# LocalAI v4.8.0
- Product: LocalAI (https://whatsnew.fyi/product/localai)
- Vendor: LocalAI
- Date: 2026-08-05
- Version: v4.8.0
- Original notes: https://github.com/mudler/LocalAI/releases/tag/v4.8.0
- Permalink: https://whatsnew.fyi/product/localai/releases/v4.8.0
What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog.
Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'.
---
Changes to check:
- **Behavior changed:** `LOCALAI_TRL_ALLOW_INLINE_REWARD` (inferred by a model)
- **Behavior changed:** `/api/traces` (inferred by a model)
- **added** — vllm.cpp, a C++20 engine maintained by the LocalAI team implementing vLLM's V1 architecture with paged KV cache, continuous batching, prefix caching, scheduler and sampler, shipping as alpha development builds of the vllm-cpp backend
- **added** — 3D generation as a new modality with Generate3D RPC, FLAG_3D capability, POST /v1/3d/generations endpoint, trellis2cpp image-to-3D backend, and UI page with native GLB viewer and print remeshing
- **added** — audio.cpp backend serving six audio endpoints for speech, transcription, VAD, diarization, source separation and sound generation across many model families
- **added** — Gallery entries with variants declaration to install the largest build that the host hardware can actually run
- **added** — magpie-tts-cpp engine providing NVIDIA Magpie Multilingual TTS with 5 voices and 9+ languages
- **added** — moss-tts-cpp engine providing 48 kHz stereo TTS with reference-audio voice cloning
- **added** — bonsai backend serving 1-bit and ternary Bonsai quantizations of Qwen3 and Qwen3.6-27B
- **added** — Valkey vector store
- **added** — Systemd socket activation support
- **added** — Persistent trace history
- **added** — VRAM budgets to cap how much of a card LocalAI may use per node as a percentage or absolute amount
- **added** — Activity page showing records of what was installed, failed or cancelled
- **changed** — Web UI is now 3.48x smaller with gzip compression on the wire and immutable caching for hashed assets
- **changed** — Trace poll endpoints are now paginated, reducing data from 21 MB to 7 KB
- **changed** — Stacked operations bar in UI now collapses to one line
- **changed** — Hugging Face artifact materialization now includes immutable snapshot resolution, authenticated downloads with progress, and staged artifacts that remote workers can bind to
- **fixed** — Distributed mode reliability: reaper no longer deletes rows for backends that are alive and busy
- **fixed** — Phantom replicas are cleaned up in distributed mode
- **fixed** — in_flight counters no longer leak in distributed mode
- **security** — Two security fixes
- **changed** — Documentation overhauled with focus on onboarding
#### 🎉 LocalAI 4.8.0 Release! 🚀
LocalAI 4.8.0 is out!
Twenty-two days, 386 pull requests, and three new modalities. This release introduces **vllm.cpp**, a C++20 engine maintained by the LocalAI team, which began as a vLLM port and now carries its own featureset, shipping as the `vllm-cpp` backend in **alpha development builds**. Around it: **3D generation** as a new modality, a multi-family **audio.cpp** engine, gallery entries that install the build your hardware can actually run, and a deep reliability pass on distributed mode driven by production incidents.
**Highlights:**
- 🚀 **vllm.cpp (alpha)** - a C++20 engine maintained by the LocalAI team, which began as a vLLM port and keeps vLLM as its reference implementation: V1 serving architecture (paged KV cache, continuous batching, prefix caching, scheduler, sampler) with no Python, PyTorch or ggml at inference. Measured at 1.045x vLLM on Qwen3.6-27B NVFP4 at concurrency 1, with token-for-token identical output. Loads safetensors and GGUF, enforces structured output in-engine, and runs on CPU, CUDA, Metal and Vulkan. The Apple Silicon build ships the MLX GEMM provider, measured at 1.5x to 2.2x on an M4. Shipping as alpha development builds: try it, do not depend on it.
- 🧊 **3D generation** - a new modality end to end: `Generate3D` RPC, `FLAG_3D` capability, `POST /v1/3d/generations`, the `trellis2cpp` image-to-3D backend, and a UI page with a native GLB viewer and print remeshing.
- 🔊 **audio.cpp** - one backend process serving six audio endpoints across many model families, picked from the GGUF's own metadata: speech, transcription, VAD, diarization, source separation and sound generation.
- 🎛️ **One model, many builds** - a gallery entry can declare `variants:`, and LocalAI installs the largest build that your host can actually run. No more hunting through the gallery for the right quantization.
- ⚡ **A much lighter web UI** - gzip on the wire, immutable caching for hashed assets, and paginated trace endpoints: the React bundle is 3.48x smaller and the trace poll dropped from 21 MB to 7 KB.
- 📊 **An Activity page** - the stacked operations bar collapses to one line, and a new admin Activity page keeps the record of what installed, failed or was cancelled, instead of dropping it the moment it finished.
- 📦 **Hugging Face artifact materialization** - immutable snapshot resolution, authenticated downloads with real progress, and staged artifacts that remote workers can bind to.
- 🎚️ **VRAM budgets** - cap how much of a card LocalAI may use, per node, as a percentage (`80%`) or an absolute amount (`12GB`).
- 🗣️ **Two new TTS engines** - `magpie-tts-cpp` (NVIDIA Magpie Multilingual, 5 voices, 9+ languages) and `moss-tts-cpp` (48 kHz stereo with reference-audio voice cloning).
- 🌳 **Sub-2-bit models** - a new `bonsai` backend serves the 1-bit and ternary Bonsai quantizations of Qwen3 and Qwen3.6-27B.
- 🖧 **Distributed mode hardening** - the reaper no longer deletes rows for backends that are alive and busy, phantom replicas are cleaned up, and `in_flight` counters stop leaking.
Plus a Valkey vector store, systemd socket activation, persistent trace history, two security fixes, a documentation overhaul aimed squarely at onboarding, and a new localai.io.
---
##### 📊 This release in numbers
| | |
|---|---|
| Pull requests merged | **386** |
| Commits | 392 |
| Files changed | 1,204 (**+152,918** / -42,012) |
| Development window | 22 days (2026-07-14 to 2026-08-05) |
| Contributors | 25, of whom **11 first-time** |
| New backends | **7** (`vllm-cpp`, `audio-cpp`, `trellis2cpp`, `v
_[Truncated at 4000 characters — full notes: https://github.com/mudler/LocalAI/releases/tag/v4.8.0]_