Repository navigation
Releases
Development build (fad703b)
Commit: fad703b
Date: 2026-11-26T09:40:40Z
Subject: feat(ui): put the incognito switch in the composer's bottom bar
This is an unsupported development build of the master branch. Use a release for anything that matters.
v5.0.1
What's Changed
Other Changes
- feat(rocm): build the hipblas images on ROCm 10.1 by default by @walcz-de in #13169
- feat(ui): call the middle network choice Custom and show its domains by @mudler-agent in #13294
- feat(launcher): show desktop notifications for the server inbox by @mudler-agent in #13298
- feat(i18n): add Bangla (bn) translation for React UI and add-ons by @AnythingLinux in #13304
- chore: ⬆️ Update ikawrakow/ik_llama.cpp to
093e74cb0590eaf462a04516ba1bab8c6b6637bcby @localai-update-bot[bot] in #13290 - chore(model-gallery): ⬆️ update checksum by @localai-update-bot[bot] in #13297
- chore: ⬆️ Update mudler/timestral.cpp to
57cf8a7ca4060b37ae26ebe07da1eb0af595b1f0by @localai-update-bot[bot] in #13286 - chore: ⬆️ Update 0xShug0/audio.cpp to
4de392e03f9fce78bc54154dabea898dde180c84by @localai-update-bot[bot] in #13282 - chore: ⬆️ Update CrispStrobe/CrispASR to
369d7b44fcb8854585c8dc44c20e102942122c39by @localai-update-bot[bot] in #13288 - chore: ⬆️ Update ServeurpersoCom/omnivoice.cpp to
a650381a67905fd6ad08b323ed026b042a07b623by @localai-update-bot[bot] in #13287 - chore: ⬆️ Update ggml-org/whisper.cpp to
6680804f99c3982b7d59f27ae315ce880570017eby @localai-update-bot[bot] in #13283 - fix(ci): attach the add-on catalog without a manual re-run by @mudler-agent in #13307
- feat(sandbox): enable the darwin/arm64 package by @mudler-agent in #13306
- feat: add native Windows support (server + windows/amd64 llama-cpp backend) by @LionelColaso in #11429
- fix(downloader): keep the old model file until the new one is verified by @mudler-agent in #13308
- chore: ⬆️ Update ggml-org/llama.cpp to
78e05298f0d68abff41d08d79fa7469264b2aff0by @localai-update-bot[bot] in #13284 - fix(studio): keep the sender's grant in the wake-up turn of a wait by @mudler-agent in #13314
- feat(studio): simplify the loop settings by @mudler-agent in #13315
- fix(rocm): point *_TENSILE_LIBPATH at the folder of the installed GPU by @walcz-de in #13321
- feat(privacy-filter): build a ROCm (hipblas) image by @walcz-de in #13316
- fix(addons): follow the GitHub release redirect of the add-on index by @mudler-agent in #13341
- fix(tables): build the add-on without cgo for musl hosts by @mudler-agent in #13343
- feat(launcher): start the x64 AppImage on hosts without glibc by @mudler-agent in #13340
New Contributors
- @AnythingLinux made their first contribution in #13304
- @LionelColaso made their first contribution in #11429
Full Changelog: v5.0.0...v5.0.1
v5.0.0
Run open models for chat, images, speech and video on your own machines. The API speaks the OpenAI and Anthropic formats. Your team gets chats, files and documents on top, and the assistant can write and run code. 5.0 adds a desktop app, Projects, a Files page, Office documents, a Python sandbox, team sharing and an add-on library, all built on chats that now run on the server.
Highlights:
- 🖥️ Desktop app: a new app for macOS (Apple silicon) and Linux (x86-64 and ARM64) installs, updates, starts and stops LocalAI, or connects to a LocalAI server somewhere else.
- 🗂️ Projects: group chats around one folder, with notes the chats read and that you confirm before they are saved.
- 💬 Chats on the server: a chat keeps working when you close the tab. Steer it while it works, hand work to sub-agents, set a
/goal, or talk to it hands-free with Live. - 📁 Files: upload, preview, search, extract archives, Trash, and a History tab that undoes any change, yours or the model's.
- 📄 Office documents from a chat: the Simple Office add-on reads, edits and creates Word, Excel and PowerPoint files, and reads and creates PDF.
- 🐍 Sandbox: run Python and shell commands on your files in an isolated runtime with no network by default. Linux only in this release.
- 👥 Team and sharing: accounts and roles, plus sharing of folders, saved agents, Knowledge collections and connections with one person or with everyone.
- 🧩 Add-ons: a library of separate programs that add tools to a chat, from Slack and Discord bots to Mail, Google Drive, GitHub and Home Assistant.
- 🔌 Remotes: connect another LocalAI instance, or an OpenAI or Anthropic compatible endpoint, and use its models like your own.
- 🎨 New look and a better first run: a new theme, logo and mascot, and Home recommends a model for your hardware.
📊 This release in numbers
| Pull requests merged | 130 |
| Commits | 1,432 (non-merge), most of them direct commits |
| Files changed | 7,310 |
| Feature PRs | 41 |
| User-facing fix PRs | 35 |
| Model library | 2,212 to 2,325 entries (+134 added, 21 removed) |
| Backends | more than 80 |
Counts compare v4.12.1 with the release-preparation snapshot. Most of 5.0 landed as direct commits, so the sections below cite commits and docs pages as well as PRs.
📌 TL;DR
| Area | Summary |
|---|---|
| 🖥️ Desktop app | Electron app for macOS (Apple silicon) and Linux AppImages. It replaces the older launcher and reads the same ~/.localai folder. |
| 🗂️ Projects | Chats grouped around one folder, with a memory/ folder of notes, defaults for new chats, and agents made from a project. |
| 💬 Chats | Chats run on the server, with steering, a message queue, sub-agents, compaction, goals, slash commands and Live voice. /v1/chat/completions is unchanged. |
| 📁 Files | Files page with folders, upload, preview, search inside documents, archive extraction, Trash and undoable history. |
| 📄 Office | Simple Office add-on: 11 tools for Word, Excel, PowerPoint and PDF, and PowerPoint decks built on your own template. |
| 🐍 Sandbox | bash tool in a KVM or gVisor sandbox with your files mounted. Each command is one undoable change. Linux only. |
| 👥 Team | Roles, per-user features, and one Share dialog for folders, agents, collections and connections. |
| 📑 Pages | The assistant writes small HTML pages that keep their data in your files and open beside the chat. |
| 🧩 Add-ons | Add-on library with install by tag, upgrade review, one Updates page, OAuth login for add-ons, and Slack and Discord chat apps. |
| 🔎 Models | Remotes, model search in Explore, the model library, an experimental Strata backend, LFM3-Audio speech-to-speech and a forecast API. |
| 🎨 UI | New theme, logo and mascot, a first-run model recommendation, a redesigned Nodes page. |
⚠️ Upgrade notes
5.0 replaces the chat page and the agent runtime, and moves Studio and Talk to add-ons. Read this before you upgrade a server that other people use.
- Chats replace the old chat page, agents, agent jobs and skills. On the first start the server converts what the old features left on disk and in the database into saved agents, triggers, skills and chats. It does not change or delete the old data. Converted triggers, MCP connectors and connector bindings are switched off until you turn them on. Conversations kept only in a browser were never on the server: upload them with
POST /api/chats/import/browser.GET /api/chats/conversionreturns the report, and each dropped setting is named in it. See Chats: moving from the old chat, agents and skills. #12918 - Removed APIs.
/api/agents(agents, actions, SSE),/api/agents/skills,/api/agents/git-reposand/api/conversationsanswer404. Use/api/chats/agents,/api/chatsand/api/chats/skills. The collections API moved to/api/collections; the old path still works with aDeprecation: trueheader. The commandlocal-ai agentis gone. - Renamed and ignored options. The
LOCALAI_AGENT_POOL_*collection settings are nowLOCALAI_COLLECTIONS_*, andLOCALAI_DISABLE_AGENTSis split intoLOCALAI_DISABLE_CHATSandLOCALAI_DISABLE_COLLECTIONS. The old names still work and log a deprecation warning. Some agent pool options are now ignored; the migration page lists them. - Studio and Talk are add-ons. Nothing is preinstalled. An administrator installs them from Add-ons, and users need the
addonsfeature, which the upgrade does not grant. See Upgrading: Studio and Talk are add-ons now. - Permissions. On a server with accounts, saved agents, triggers, connectors, pages and add-ons are off by default for new users until an administrator grants them. The
skillsandchat_historyfeatures are gone from the user permissions. liquid-audiois removed. Configs withbackend: liquid-audiostop working. Use anlfm3-audio-2bentry onllama-cppwithpipeline.any_to_any: true. LFM2-Audio and LFM2.5-Audio have no replacement.llama-cppmodels withrealtime_audiomust now setpipeline.any_to_any: true. #12958- Simple Office creation tools take Markdown or CSV. The old
blocks(DOCX, PDF) andsheets(XLSX) arguments are rejected with migration guidance. #13029 - The desktop app replaces the older launcher. The older launcher does not update itself to the new app: download the new file once. Your models, backends and settings in
~/.localaistay. See Move from the older launcher. Commits 0a72543, 822a7bc. - Models and backends come from the libraries. Release builds read the model library (
official-models) and the backend library by default.gallery/index.yamlis now a generated copy, kept for older releases. See Model library. - Add-ons follow the release. A release build reads the add-on index attached to its own release. A source build reads the development channel.
📦 Downloads
| Platform | File |
|---|---|
| macOS, Apple silicon (desktop app) | LocalAI.dmg |
| Linux x86-64 (desktop app) | LocalAI-Launcher-x86_64.AppImage |
| Linux ARM64 (desktop app) | LocalAI-Launcher-arm64.AppImage |
| Linux x86-64 (server binary) | local-ai-v5.0.0-linux-amd64 |
| Linux ARM64 (server binary) | local-ai-v5.0.0-linux-arm64 |
| macOS, Apple silicon (server binary) | local-ai-v5.0.0-darwin-arm64 |
Each file has a .sha256 file next to it. There is no macOS build for Intel: use a container there. The AppImage needs FUSE 2; on Ubuntu 24.04 and later install libfuse2t64. See the desktop app guide.
To install a server instead:
curl -sSL https://localai.io/install.sh | shor with a container:
docker run -p 8080:8080 --name local-ai -ti localai/localai:latest🚀 New Features & Major Enhancements
🖥️ The desktop app
LocalAI has a desktop app for macOS and Linux, built on Electron. It installs, updates, starts and stops the LocalAI server on your computer, and shows the web interface in its own window with a status bar for the server. On the first start you choose to run LocalAI on this computer or to connect to a server that runs somewhere else, and you can keep several servers. It has pages for logs, settings, and a Connect page that shows how other devices and apps reach the server.
The DMG and the app are signed with an Apple Developer ID and notarized. On Ubuntu 23.10 and later, the AppImage starts with the Chromium sandbox off unless user namespaces are allowed; the status bar says so, and the app can open the web interface in your browser instead. The app replaces the older Go launcher.
On first start, the desktop app asks where LocalAI should run: on this computer or on a LocalAI server.
The Models page lists the models that fit this computer, wi...
v4.12.1
Patch release v4.12.1. Security fix only.
Security
- Hardened the external URL policy for user-supplied URLs (chat vision image/audio/video URLs, image and audio endpoints). Redirect targets are now validated on every hop, 100.64.0.0/10 and 0.0.0.0/8 are treated as non-public, and the connection goes to the address that was validated. See #12853. Credits to @spicysharkco for the discovery.
Full Changelog: v4.12.0...v4.12.1
v4.12.0
🎉 LocalAI 4.12.0 Release! 🚀
LocalAI 4.12.0 is out!
This release redesigns the web UI and adds streaming voice responses, native decision routing, and more control over model memory and prompt state. It also adds image upscaling, live motion capture, Qdrant stores, and authenticated chat history. It is also a preparation for the upcoming release which will include addon support. Our plan is to move few components (e.g. Studio, Talk) to separate add-ons that can be installed on-demand from LocalAI.
Highlights:
- 🖥️ Redesigned web UI: shared controls, light and dark themes, clearer Models and Studio workflows, and node-scoped backend maintenance.
- 🎙️ Streaming voice and bundled audio models: feed LLM fragments into Qwen TTS, use explicit clause streaming with other engines, and combine audio analysis roles through Parakeet bundles.
- 🧭 Native decision routing: classify requests with decision models and use the new
/v1/decisionsadapter for predicates, choices, and scores. - 🖼️ Image upscaling in Studio: create an upscaled child image without leaving the project, with a dedicated
/v1/images/upscaleAPI. - 🛡️ Privacy and tool configuration: Responses PII filtering, opt-in rejection of uninspectable media, alias profiles, and OAuth2 client credentials for remote MCP servers.
- 🕺 Live GEM-X motion capture: stream RGB frames into a bounded, session-based pose API on CPU or Vulkan.
- 🗄️ Persistent Qdrant stores: use the existing stores API with TLS and environment-backed credentials.
- 💾 Inference controls: configure MoE expert caching, lazy tensor reads, and explicit slot prompt-cache save and restore.
The shared navigation and composer organize the web UI around models, chat, Studio, and operations.
📊 This release in numbers
| Pull requests merged | 211 |
| Commits | 307, including 96 direct commits |
| Files changed | 1,416 (+186,826 / -67,020) |
| Feature PRs | 32 |
| User-facing fix PRs | 38 |
| Model-gallery PRs | 29 |
| Top-level gallery entries | 1,660 to 1,896 (+236) |
| Dependency PRs | 90 |
Counts compare v4.11.0 with the release-preparation snapshot. Direct commits include user-facing features as well as gallery and maintenance work.
📌 TL;DR
| Area | Summary |
|---|---|
| 🖥️ Web UI | A shared visual kit, hub navigation, redesigned Models and Studio pages, per-model disk accounting, and guarded per-node backend removal. |
| 💬 Chat | Account-scoped server history, one reasoning-effort picker, editable microphone dictation, scanned-PDF image attachments, and separately sandboxed Canvas previews. |
| 🎙️ Audio | Incremental Qwen TTS, opt-in clause streaming, Parakeet bundles and speaker encoders, configurable VAD, and sound events alongside diarization. |
| 🎵 Sound | YuE2 support and optional structured expansion through a compatible native-tool chat model. YuE2 weights are non-commercial. |
| 🧭 Decisions | Native decision models can route requests; /v1/decisions adapts predicates, choices, and scores to the existing SystemOne pipeline. |
| 🛡️ Privacy and MCP | Incoming Responses text filtering, optional media rejection, protected terms and adjacent-word masking, alias profiles, and remote OAuth2 client credentials. |
| 🕺 Motion | GEM-X converts streamed RGB frames into SOMA-77 or SMPL-24 poses through a bounded duplex API. This integration is API-only. |
| 🗄️ Stores | Qdrant provides persistent vectors through /stores/*, with explicit backend selection, TLS, and chunked writes. |
| 💾 Inference | moe_cache_mib, lazy_mode, and opt-in slot save/restore add workload-specific controls without changing them into universal performance guarantees. |
| 🔧 Distributed operation | Attempt-specific load cancellation, leases, config resync, and shared root collection discovery improve the PostgreSQL/NATS architecture. |
🚀 New Features & Major Enhancements
🖥️ A shared web UI and clearer model operations
The web UI uses a shared CSS/SVG kit, ink-and-teal themes, consistent controls, and permission-aware Build and Operate hubs. Existing URLs remain available. Models exposes model details, variants, placement information, and disk usage. Studio shares a compose, job, result, and recent-results layout across its workflows.
Per-model storage accounting distinguishes shared files from model-specific files. Aggregate totals deduplicate shared bytes. A model's displayed size is not necessarily the space deleting it reclaims.
Remote manual imports now run as tracked gallery jobs. The import page and editor wait for acquisition to succeed and show failures or cancellation. Local-file imports without downloads retain synchronous behavior. Queued imports can apply recommended inference defaults, so set important parameters explicitly when reproducing a configuration.
Backends supports confirmed removal of one concrete build from one selected node. Protection checks and conflict locks prevent removal during conflicting operations. Refresh failures retain the last known inventory instead of reporting an unverified empty state.
🔗 PRs: #12526, #12551, #12587, #12599, #12785. Queued imports: background acquisition and resolver-aware queueing.
💬 Chat history, reasoning controls, and richer input
Signed-in users can synchronize conversations through /api/conversations. Account-scoped caches, persistent deletion intents, and tombstones prevent stale clients from restoring deleted conversations. This requires authentication, the WebUI enabled, and the chat_history permission. Anonymous and legacy-key-only sessions keep browser-local history; old shared browser history is not automatically assigned to an account.
One effort picker controls the per-chat reasoning_effort request. None also hides returned reasoning traces for new replies. /effort remains available; the separate /reasoning action is removed. This UI choice does not prove that every backend suppresses internal reasoning computation.
Microphone dictation appends editable text through an installed transcription model. Scanned PDFs without a text layer render their first ten pages as image attachments for a vision-capable model.
Canvas serves HTML previews with their own CSP in a sandbox without allow-same-origin. Previews expire after ten minutes and live in process memory. Allowed external HTTPS resources can load, so previews are not necessarily offline. Multi-frontend deployments need routing that reaches the process holding the preview.
Choose reasoning effort per conversation and edit dictated text before sending.
🎙️ Streaming voice responses and bundled audio analysis
Qwen TTS accepts incremental text through the optional TTSLive backend RPC. With LLM and TTS streaming enabled, one native utterance can start producing audio before the complete LLM reply arrives. Cancellation and backpressure propagate through the live path; a failed utterance does not replay after audio commitment.
pipeline:
streaming:
llm: true
tts: trueFor non-native engines, pipeline.streaming.clause_chunking: true explicitly enables bounded clause synthesis. Leaving it unset preserves whole-reply synthesis. Native Qwen input does not use this clause splitter.
The gallery adds qwen3-streaming-assistant, vits-streaming-assistant, and piper-streaming-assistant. These presets install pipeline configuration only. Install their component LLM, transcription model, VAD, and TTS model separately.
Parakeet bundles can carry multiple audio roles, including ASR, VAD, diarization, sound detection, and a speaker encoder. Available roles depend on the bundle; they do not imply one fused inference pass. Diarization can return timed sound events with include_sounds.
Speaker-equipped Parakeet models can also serve voice embedding and verification. Encoder fingerprints distinguish compatible weights, and voice stores separate different embedding dimensions. voice_verify_threshold uses cosine distance, defaults to 0.5, and accepts values between 0 and 2. This backend does not add anti-spoofing or voice-analysis support.
Realtime responses now wait for earlier audio commits to finish transcription. A waiting response ends with input_not_committed if its pending commit produces no user item, instead of starting the LLM without that turn. interrupt_response: false preserves an active response while retaining overlapping transcripts and sound events.
🔗 PRs: #12770, #12455, #12463, #12479, #12491, #12499, #12544, #12446. Direct follow-ups: Parakeet voice RPCs, ordered commit responses, and interruption control.
🎵 Structured Sound expansion and speech controls
YuE2 joins the audio.cpp sound-generation path. Ordinary Studio captions supply its style unless an explicit style parameter overrides them. *...
v4.11.0
🎉 LocalAI 4.11.0 Release! 🚀
LocalAI 4.11.0 is out!
This release makes LocalAI more useful for audio understanding, resilient model serving, structured decisions, and day-to-day operation. Audio scenes can now combine transcription, diarization, sound detection, and remembered speaker names. Ordered failover chains keep a public model available across local and remote targets, while new Studio and operations pages expose these capabilities without requiring distributed mode.
The release also adds first-class decision models through /v1/systemone, signed OCI model galleries, and Kimodo text-to-animation. It includes 243 merged pull requests, 353 commits, 79 new gallery entries, focused fixes across APIs and backends, and broad backend-source updates.
Highlights:
- 🎙️ Audio scenes and remembered speakers - combine speech-to-text, speaker diarization, sound-event detection, and speaker identification. Studio can diarize a recording, preview clean intervals, and register selected speakers by name.
- 🔀 Model failover chains - place local and remote targets behind one model name, retry before response commitment, observe health and target switches, and pin a target from the API, MCP tools, or the React UI.
- 🧭 Decision models - advertise the
decisionsuse case and answer structured choice, score, andnoulquestions through/v1/systemone, with validation and dedicated gallery models. - 📦 Signed OCI galleries - distribute complete model galleries as OCI artifacts, verify them with Sigstore policies, and use digest-bound last-known-good caches.
- 🕺 Kimodo text-to-animation - generate skeletal motion from text through
POST /3d/animate, preview it in Studio, and export binary glTF animation. - 🖥️ Operate this machine - inspect resources and locally loaded models, view logs, and stop models on a single LocalAI host without enabling distributed mode.
- 🛡️ Safer gallery and API behavior - path-confinement fixes, stricter credential checks, correct pre-stream errors, preserved streamed Responses items, and more reliable model installation.
Plus PDF attachment extraction in chat, deeper Hugging Face repository discovery, improved hardware detection, new Italian Piper voices, NeMo diarization and ASR models, and large model-gallery batches.
📸 [ screenshot: diarize a recording and remember speakers by name ]
Studio turns anonymous speaker segments into reusable named speaker profiles.
📊 This release in numbers
| Pull requests merged | 243 |
| Commits | 353 |
| Files changed | 623 (+51,035 / -2,625) |
| Development window | 15 days (2026-09-18 to 2026-10-02) |
| Human contributors | 12, of whom 4 first-time |
| Gallery entries | 1,847 to 1,926 (+79) |
Where the work landed:
| Area | Change |
|---|---|
core/ |
+23,883 / -807 across 350 files |
backend/ |
+12,437 / -186 across 119 files |
gallery/ |
+4,998 / -110 |
pkg/ |
+3,310 / -170 across 61 files |
docs/ |
+2,142 / -1,115 across 50 files |
swagger/ |
+2,254 / -100 |
📌 TL;DR
| Area | Summary |
|---|---|
| 🎙️ Audio scenes | parakeet-cpp can combine ASR, diarization, and sound detection in one model. POST /v1/audio/diarization can optionally include text and versioned speaker profiles. Transcription segments and words can carry speaker labels, and realtime sessions emit transcription-segment and sound-detection events. |
| 🗣️ Remembered speakers | Configure a compatible speaker_model to identify voices from the shared voice registry. Studio's Diarization page previews clean speaker intervals and registers a selected speaker only after an explicit Name and remember action. Speaker profiles are biometric data, remain opt-in, and are not proof of identity or consent. |
| 🔀 Failover | A model config can define an ordered failover.targets chain containing local or remote models. LocalAI retries eligible failures before committing a response, tracks health and recovery, exposes GET /api/failover plus an SSE event stream, adds admin pin and unpin controls, and reports the selected model in response headers. The localai-proxy backend connects chains to another LocalAI endpoint. |
| 🧭 Decisions | Models can explicitly declare known_usecases: [decisions] and serve structured requests through POST /v1/systemone. LocalAI validates request size, question count, state, IDs, options, levels, and noul criteria before backend invocation. The React UI exposes a Decisions capability chip and installation guidance. |
| 📦 OCI galleries | A gallery source can use oci://host/repository:tag or a digest-pinned reference. LocalAI resolves and verifies the digest, enforces layer and path limits, stages extraction atomically, and ties caches to the active verification policy. source_repository adds an exact Sigstore source constraint. |
| 🕺 Kimodo | POST /3d/animate accepts one UTF-8 prompt and generates a 60 to 150 frame skeletal animation at 30 FPS. Studio provides animation controls, preview, and local history. Output is a binary glTF .glb, not a humanoid mesh. |
| 🖥️ Single-host operations | Operate → This machine shows VRAM, RAM, CPU, models-disk usage, and running model processes. Operators can search and sort models, inspect logs, and stop a model. The existing Nodes workbench remains available when distributed mode is enabled. |
| 🧠 Models | The gallery reached 1,926 entries. Additions include large Qwen3.8 and community model batches, NeMo speech and diarization models, four Italian Piper voices, vllm-cpp structured-extraction models, and decision models including kev, Nimble, and CLM. |
🚀 New Features & Major Enhancements
🎙️ Audio scenes: speech, speakers, and sounds
parakeet-cpp can now treat audio as a scene instead of a transcript alone. One model can run speech recognition, speaker diarization, and sound-event classification, then return aligned speaker and sound information for regular and realtime requests.
POST /v1/audio/diarizationreturns diarization segments and speaker summaries.include_text=truecombines diarization with ASR.include_speaker_profiles=trueexplicitly requests versioned speaker profiles.- Transcription segments gain
speaker_name; transcript words can carry aspeakerlabel. - Realtime sessions emit
conversation.item.input_audio_transcription.segmentandconversation.item.sound_detectionevents. - Scene models can serve both
transcriptionandsound_detection, with diarization enabled in the realtime pipeline. - New gallery entries cover Nemotron 3 diarization, diarization plus ASR, CED sound models, and realtime scene variants.
Speaker profiles are sensitive biometric data. Profile export is opt-in, requires voice-recognition permission, and does not itself register a person.
🗣️ Name and remember speakers
LocalAI can match diarized segments against voices registered in its shared voice registry. A compatible parakeet-cpp configuration uses speaker_model, speaker_threshold, and speaker_margin; known voices replace anonymous labels with names while unknown voices remain SPEAKER_NN.
Studio adds a Diarization page for enrollment from ordinary recordings. It finds clean intervals for each speaker, provides audio previews, and registers a profile only when the user selects Name and remember. Profiles and recordings are not persisted in browser storage and the relevant request bodies are excluded from API trace capture.
The registry is currently process-local and ephemeral. Names disappear after restart and are not synchronized across independent frontends. Encoder identity must match exactly between enrollment and recognition.
📸 [ screenshot: speaker enrollment in Studio ]
Preview clean intervals, choose a speaker, and register the voice with an explicit action.
🔗 PR: #12414
🔀 Model failover chains and localai-proxy
One public model name can now represent an ordered chain of local and remote targets:
name: assistant-llm
failover:
targets:
- model: preferred-local
- model: remote-localai
warm: trueLocalAI retries the next target only when failure happens before response commitment. Transport errors, server errors, OOM, and rate limiting can trip a target; validation errors, ordinary client errors, and client cancellation do not. Recovery probes and a minimum fallback residence period prevent rapid target flapping.
The release adds:
GET /api/failover,GET /api/failover/{chain}, andGET /api/failover/events.- Admin pin and unpin operations, also available as
list_failover_chains,pin_failover_target, andunpin_failover_targetMCP tools. X-LocalAI-Served-ModelandX-LocalAI-Failoverresponse headers.localai.model.failoverevents for realtime sessions.- A Failover Chain model template, live health strip, pin controls, Installed Models badge, and Operate → Runtime → Failover page.
- The
localai-proxyOCI backend for routing LocalAI REST capabilities to another LocalAI endpoint.
v4.10.0
🎉 LocalAI 4.10.0 Release! 🚀
LocalAI 4.10.0 is out!
Twenty-eight days and 280 pull requests. The work landed on three fronts: operating a fleet, feeding it models from private sources, and fixing the backends you depend on. A fleet operations dashboard replaces the flat node list with cluster-wide health, capacity, running models, and bulk lifecycle actions. A credentials file lets one credentials.yaml authenticate OCI registries, galleries and direct downloads without scattering tokens across environment variables. And local-ai benchmark measures end-to-end latency and throughput from the CLI.
The ds4 backend had four fixes that together make it reliable on CUDA: the kernels now build for the target architecture, abandoned inference is cancelled, generation boundaries are enforced, and prefilled reasoning is separated from content. Distributed mode gained seven stabilisation fixes across staging, liveness, virtual models and the control-plane database. Four CVEs were patched, enable_thinking=false is now honoured across every text backend, and Apple M5 no longer SIGSEGVs at startup.
Highlights:
- 📊 Fleet operations dashboard - a real-time cluster overview replacing the flat node list. Aggregate health bands, capacity gauges for VRAM/RAM/CPU/disk, a running-models tab showing replica placement across workers, bulk drain/resume/remove with bounded concurrency, and a slide-out node inspector. Workers now report CPU telemetry at registration and heartbeat.
- 🔑 Credentials file for private sources - one
credentials.yamlauthenticates OCI registries, galleries, HTTP downloads andgithub:URIs. Supports basic auth, bearer tokens and custom headers, with secrets read at use time so rotated K8s secret mounts take effect without restart, and full masking in logs and error messages. - 📏
local-ai benchmarkCLI command - measures end-to-end latency and throughput against configured text models. Reports min/mean/max latency and completion tokens/sec across warmup and measured runs, with table and JSON output, redirect blocking, and API-key redaction. - 🔧 vllm-cpp LoRA fusion at load time -
lora_adaptersandlora_scalesare now consumed by the vllm-cpp video engine, fusing LoRA deltas into DiT weights at engine load. Works for both LTX2.5 and MiniMax-H3 through one generic path. - 🌍 Environment variables per model - an
env:map in model config injects variables into the backend process environment, soCUDA_VISIBLE_DEVICESorVLLM_CACHE_DIRcan be pinned per model without wrapping the backend in a script. - 💬
template.system_messages_after_first- agent frameworks that append system instructions mid-conversation no longer crash Qwen3.x models. Late system turns can be merged into the leading system message or forwarded as user turns. - 🧠
context_sizein/v1/models/capabilities- clients can now read each model's effective context window to budget tokens and truncate prompts without probing the model config out-of-band. - 🛡️ Four CVEs patched - ip-address 10.3.1 (CVE-2026-69192), containerd 1.7.32 and 1.7.33 (CVE-2026-46680, CVE-2026-53488), and react-router (GHSA-qwww-vcr4-c8h2).
- 🍎 Apple M5 SIGSEGV fixed -
go-m1cpubumped to v0.2.2, fixing a segmentation fault on Apple M5 hardware at startup.
Plus a focus mode toggle in chat settings, face enrollment replay for the 1:N registry, a ROCm build of stablediffusion-ggml, in-place editing of distributed scheduling rules, OCI layer download resumption, and 140 new gallery entries.
📊 This release in numbers
| Pull requests merged | 280 |
| Commits | 382 |
| Files changed | 633 (+46,550 / -3,316) |
| Development window | 28 days (2026-08-20 to 2026-09-17) |
| Human contributors | 29, of whom 16 first-time |
| Gallery entries | 1,707 to 1,847 (+140) |
Where the work landed:
| Area | Change |
|---|---|
core/ |
+25,773 / -1,993 across 314 files |
gallery/ |
+6,734 / -417 |
backend/ |
+4,932 / -433 across 154 files |
pkg/ |
+4,392 / -91 across 55 files |
docs/ |
+2,526 / -101 across 48 files |
swagger/ |
+322 |
📌 TL;DR
| Area | Summary |
|---|---|
| 📊 Fleet dashboard | The Nodes page is rewritten as a fleet operations dashboard. A ClusterOverview shows health bands (healthy/draining/attention) and capacity gauges for VRAM, RAM, CPU and disk derived from the single GET /api/nodes response. A NodeFleetTable offers sortable, groupable, paginated rows with checkbox selection across filters and pages, and bulk Drain/Resume/Remove with bounded concurrency (limit 8). A Running Models tab shows all loaded replicas on healthy workers grouped by model, with replica count, node count, in-flight requests and backend types. Slide-out inspectors for nodes and models provide detail and drill-down. Workers now report cpu_logical_cores, cpu_usage_percent and cpu_load_1 at registration and heartbeat. Lifecycle transitions are atomic: MarkDraining flips status and deletes model records in one transaction, ResumeNode is conditional (draining to healthy only), and HTTP endpoints return proper 404/409 instead of generic 500. |
| 🔑 Credentials file | --credentials-file / LOCALAI_CREDENTIALS_FILE loads a YAML list of rules, each matching a URL prefix and carrying one auth type: basic (username + password/password_env/password_file), bearer (bearer/bearer_env/bearer_file), or custom header (header.name + header.value/_env/_file). OCI registries consult the store first, then docker config. HTTP downloads, galleries and github: URIs authenticate through a RoundTripper that clones the request per redirect hop, so a cross-host redirect never carries the credential. Secrets are read at use time, not load time, so a rotated K8s secret mount takes effect without restart. Credential and Store implement String, GoString and LogValue so no fmt verb or slog call can print secret material. Unknown YAML keys are errors; match strings with user:token@, ? or # are rejected at load. |
| 📏 CLI benchmark | local-ai benchmark MODEL [MODEL ...] sends non-streaming POST /v1/chat/completions requests at temperature:0 with configurable --runs (default 3), --warmup (default 1), --max-tokens (default 128) and --timeout (default 5m). Reports min/mean/max latency and end-to-end completion tokens/sec per model. Output is a table by default or --json for structured data with per-sample latency and nullable token counts. The HTTP client refuses redirects, the API key is redacted from error messages, and the full report is buffered and only written after all models succeed, so a failure leaves no partial output. |
| 🔧 vllm-cpp LoRA fusion | The lora_adapters, lora_scales, lora_adapter and lora_scale config fields are now consumed by the vllm-cpp video backend. buildLoraExtras converts them into indexed lora_path/lora_strength key-value pairs (first adapter unsuffixed, subsequent ones _2, _3, ...), packs them via the ABI v18 extras seam, and hands them to vllmVideoEngineLoad. vllm.cpp fuses the LoRA deltas into the DiT weights at load. One generic path serves both LTX2.5 and MiniMax-H3. Adapters are always loaded; per-request prompt-activated LoRA is out of scope. |
| 🌍 Per-model env vars | An env: map on the model config is appended to the child process environment after the base env, so model vars override inherited system vars. Delivered through the common process-spawning layer in pkg/model/process.go, so every gRPC backend inherits it with no per-backend wiring. The UI renders an editable key/value map. Model vars take effect only when a model spawns its own backend process, not when it reuses a worker-supervised one. |
| 💬 Late system messages | template.system_messages_after_first controls what happens to system-role messages after the leading system block. "merge" folds them into the first system message with a \n\n separator; "user" rewrites them in place to role user; unset passes through. Fixes a Jinja exception (System message must be at the beginning) raised by Qwen3.x tokenizer templates when agent frameworks append system instructions mid-conversation. Runs after stripEmptySystemMessages and before tokenizer-template system_prompt injection. |
| 🧠 context_size exposed | /v1/models/capabilities now populates entry.ContextSize with backend.EffectiveContextSize(cfg) when the result is positive, letting clients budget tokens and truncate prompts without probing the model config out-of-band. |
| 🛡️ CVE fixes | ip-address to 10.3.1 (CVE-2026-69192), containerd to 1.7.32 (CVE-2026-46680) then 1.7.33 (CVE-2026-53488), react-router to 7.18.2 / 8.3.0 (GHSA-qwww-vcr4-c8h2). |
| 🍎 Apple M5 | go-m1cpu bumped to v0.2.2, fixing a SIGSEGV on Apple M5 at startup. |
| 🧠 Models | 140 new gallery entries: Qwopus 3.6, OpenResearcher, LFM2.5 DSpark, Qwen3.8 small distills and Flash Next, UI-Mate 27B, Homura 30B, Ornith 1.5 35B and 9B, Granite 4.2, Tiel-Coder 35B, Thomson 1.0 Small, PhoneLLM, WeMM embedding, EXL3 vllm.cpp, Gemma 4 E4B, Orukeet for NeMo speech, and more. |
🚀 New Features & Major Enhancements
📊 Fleet operations dashboard
The Nodes page was a flat list of per-node cards. It showed you what was registered but not what the cluster was doing, and every lifecycle action was one node at a time.
The rewrite is a fleet operations dashboard with two tabs and a shared summary poller.
ClusterOverview sits at the top. A health band segments nodes into healthy, draining and attention counts. Capacity gauges show VRAM, RAM, CPU and disk, each reportin...
v4.9.0
🎉 LocalAI 4.9.0 Release! 🚀
LocalAI 4.9.0 is out!
Thirteen days and 146 pull requests, spent on the parts of LocalAI you touch every day rather than on new engines. Authentication is now deny-by-default, chat gained end-to-end context compression, models and backends each have one canonical page instead of three, and vllm-cpp grew a video modality serving MiniMax-H3 with a real audio track.
Highlights:
- 🔐 Authentication is deny-by-default - every HTTP route requires credentials unless it appears in an explicit public registry. This closes a class of bypass in which unprefixed aliases such as
/moderations,/models,/backendsand/mcp/chat/completionsfell outside the old protected-prefix list. Reported by Naor Yaacov. - 🗜️ Chat context compression - opt-in per model, older complete turns are compressed through a LocalAI model before inference, preserving system prompts, the newest messages and whole tool-call units. Ratio and duration come back as response metadata and metrics.
- 🖥️ One page per resource -
/app/modelsnow owns Explore and Installed,/app/backendsowns Catalog and Installed, and the nested Host view is gone. Old/app/managebookmarks still work. - 🎬 MiniMax-H3 video generation -
vllm-cppopens a second engine handle for the H3 checkpoint set and renders video and audio jointly, so the MP4 arrives with a real AAC track. Ask for speech in the prompt and the model lip-syncs it. - 🗣️ Qwen3-TTS on llama.cpp - text-to-speech on the full accelerator matrix already shipped for text generation (CUDA, ROCm, SYCL, Vulkan, Metal, L4T), using upstream's own GGUF conversion.
- 🧭 KNN as a first-class router - similarity-weighted voting over a curated, persisted corpus of labelled prompts. No classifier model, and a prompt unlike anything labelled is treated as undecidable rather than guessed.
- 📊 Global admission control and live backend traces - process-wide HTTP admission bounds, in-flight backend operations are represented while they run, and the UI links straight to their logs.
- 🕵️ Reversible PII pseudonyms - masked values become request-scoped deterministic pseudonyms (
EMAIL_001) and are restored if the backend echoes them, across JSON and SSE tokens split over writes. - 📦 Parallel Hugging Face downloads - snapshot materialization runs up to N whole-file transfers at once, so a repository split into many shards stops spending its wall clock in per-file latency.
- 🖧 Cold model loads are durable jobs - the per-model advisory lock no longer spans a multi-GB transfer, which had made a 35.7 GB load look permanently broken from the operator's seat while staging progressed normally underneath.
- 🎮 vllm-cpp covers the cards you own - CUDA builds went from one or two architectures to eight on amd64 and five on arm64, picking up A100, L4, 4090, H100/H200, B200, Jetson Orin and Jetson Thor.
Plus a single shared WebRTC UDP port for Realtime, Metal actually enabled in the macOS Stable Diffusion and Parakeet builds, backend crash diagnostics at the default log level, and Portuguese (Brazil) and Indonesian UI translations.
Models and backends each get one canonical page, with Explore and Installed as views rather than separate destinations.
📊 This release in numbers
| Pull requests merged | 146 |
| Commits | 148 |
| Files changed | 420 (+27,788 / -4,670) |
| Development window | 13 days (2026-08-07 to 2026-08-20) |
| Human contributors | 10, of whom 3 first-time |
| Gallery entries | 1,622 to 1,707 (+85) |
Where the work landed:
| Area | Change |
|---|---|
core/ |
+17,193 / -4,187 across 279 files |
gallery/ |
+3,808 / -62 |
backend/ |
+3,298 / -177 across 60 files |
pkg/ |
+1,180 / -113 across 31 files |
swagger/ |
+1,095 / -5 |
docs/ |
+952 / -98 across 23 files |
📌 TL;DR
| Area | Summary |
|---|---|
| 🔐 Auth by default | Every method and path requires credentials unless listed in an explicit public registry. API instructions, Swagger GETs, the LocalAI well-known document, and the health, login, OAuth, SPA, asset, branding and node registration-token bootstrap flows stay public. Migration: with database auth or legacy API keys configured, /version and generated audio, image, video and 3D URLs now require credentials. Embedded deployments can add narrow prefixes through ApplicationConfig.PathWithoutAuth, and the legacy GET exemption flags remain as explicit compatibility overrides. |
| 🗜️ Context compression | Opt-in per-model compression config. Older complete turns are compressed through a configured LocalAI model before inference, after PII filtering and Assistant/MCP prompt injection (including later MCP iterations). Leading system/developer prompts, the newest messages and complete tool-call/result units are preserved; tool schemas and completion headroom are accounted for with a conservative offline token bound. Metadata rides non-streaming responses and streaming usage trailers, with event, ratio and duration metrics exported. Disabled by default; cloud-proxy passthrough is rejected (translate mode works). |
| 🖥️ Unified lifecycle UI | /app/models owns Explore and Installed with URL-backed search, state and selection; /app/backends owns Catalog and Installed while keeping variants, development builds and target-node scope. Explore offers capability-aware Open and Manage installation; destructive model controls stay in Installed. Operate Overview shows host capacity from its shared summary poller, and the nested Host destination is removed. /app/manage redirects while preserving legacy query state. No API change. |
| 📥 Import form rebuild | The import page moves to page--medium with a work column and the format reference beside it rather than behind a closed chevron. The source field is the hero and carries its own Import button, which removes the aria-hidden submit that existed only because the real action sat outside the <form>. Simple and Advanced modes are gone (about 80% the same surface); the real distinction, a source or YAML, is now two tabs. Also fixes two class bugs: a primary button with no className at all falling through to browser chrome, and class="btn btn-primary fas fa-save fa-upload" setting Font Awesome as the button's own font while two icons fought over one ::before. |
| 🎬 MiniMax-H3 video | vllm-cpp over vllm.cpp ABI v12. A second engine handle loads the H3 checkpoint set (the DiT is parameters.model, the text encoder and two VAEs are named in options:), and GenerateVideo renders video and audio jointly into an MP4 with a real AAC track. The DiT partition is declared, not detected: community quantizations strip the release metadata and the FL2VA and Ref2VA DiTs are byte-structurally identical, so checkPartitionConditioning refuses a reference-conditioned FL2VA request before the engine runs (it would otherwise render for hours and return a coloured lattice). ffmpeg comes from the host: libvllm composes the mux argv and spawns nothing. New gallery entry minimax-h3-fl2va-q4. |
| 🗣️ Qwen3-TTS on llama-cpp | TTS through the llama-cpp backend on CUDA, ROCm, SYCL, Vulkan, Metal and L4T, using upstream's GGUF conversion. Implemented as a slot-based SERVER_TASK_TYPE_TTS task, which is the concurrency-safe integration given that server_context owns the llama_context and runs the slot scheduler on its own thread. Carries the still-draft upstream server hunks as patches/0002-add-server-task-type-tts.patch (delete on merge of ggml-org/llama.cpp#26603). Gallery: qwen3-tts-llamacpp and qwen3-tts-llamacpp-q4. The existing qwen3-tts-cpp backend is untouched and remains a separate path. |
| 🧭 KNN routing | classifier: knn routes by similarity-weighted voting over labelled example prompts, so no classifier model is needed and label knowledge lives in a corpus you seed and curate. Entries below knn.similarity_threshold cannot vote; when none clears it the router takes the fallback, and nearest_similarity is recorded on decisions and fallbacks alike. One JSONL file per router under <data path>/router-corpus is the source of truth, with the in-memory index rebuilt at classifier build time and entries re-embedded when the embedding model changed. Corpus input is API-only by design: POST /api/router/{name}/corpus, GET .../corpus/stats (label counts only, texts are never returned), DELETE .../corpus, admin-gated and exposed as MCP tools. |
| 📊 Admission and traces | Process-wide HTTP admission control, bounding what was previously only per backend. Backend operations are represented while in flight, and running backend traces surface in the UI with immediate log links. |
| 🕵️ PII pseudonyms | Opt-in pii.reverse_in_response. Masked request values become unique deterministic pseudonyms within the request (EMAIL_001, EMAIL_002) and are restored if the backend returns them, including SSE tokens split across response writes. Substitution maps are request-local and never persisted. Irreversible [REDACTED:...] remains the default. |
| 📦 Parallel HF downloads | DownloadFilesWithConcurrency runs up to N whole-file transfers through an errgroup with SetLimit. Single files are never split, so .partial resume and per-file SHA verification are untouched, and the two non-artifact callers keep sequential ordering and fail-fast behaviour through a limit-of-1 wr... |
v4.8.2
What's Changed
👒 Dependencies
- chore(deps): bump actions/stale from 10.4.0 to 11.0.0 by @dependabot[bot] in #11395
- chore(deps): bump actions/checkout from 4 to 7 by @dependabot[bot] in #11396
Other Changes
- feat(gallery): fall back to mirrors and a cached index when the primary source fails by @localai-bot in #11389
- chore(model-gallery): ⬆️ update checksum by @localai-bot in #11405
- docs: ⬆️ update docs version mudler/LocalAI by @localai-bot in #11397
- feat(swagger): update swagger by @localai-bot in #11398
- feat(gallery): default to index.localai.io with GitHub as a mirror by @localai-bot in #11409
- feat(nemo-speech-cpp): add the NVIDIA NeMo-Speech.cpp backend by @localai-bot in #11406
- fix(ci): remove unsupported cosign bundle flag by @localai-bot in #11413
Full Changelog: v4.8.1...v4.8.2
v4.8.1
What's Changed
Other Changes
- docs(blog): cover the terminal agent in the 4.8 post by @localai-bot in #11372
- fix(vram): contain malformed GGUF metadata by @richiejp in #11374
- docs: ⬆️ update docs version mudler/LocalAI by @localai-bot in #11377
- chore: ⬆️ Update 0xShug0/audio.cpp to
7efbb58def443722ea540d931dd3debee3e4d5e8by @localai-bot in #11378 - chore: ⬆️ Update ikawrakow/ik_llama.cpp to
cf1aa57e1a0fabfd015831718fc99d1aec01ada5by @localai-bot in #11380 - chore: ⬆️ Update leejet/stable-diffusion.cpp to
c6beeef35526c6dc94b74a7fb69f9d2e6a2a7a12by @localai-bot in #11384 - chore: ⬆️ Update CrispStrobe/CrispASR to
21901d3f7c23554f072964828363e49ddbc2dc68by @localai-bot in #11383 - fix(vllm-cpp): mirror the engine's ABI v10 so the backend loads again by @localai-bot in #11386
- fix(react-ui): stop traces page crash when switching trace tabs by @nandanadileep in #11387
- chore: ⬆️ Update antirez/ds4 to
b0309611041655f4e45671cfd9c9886aff161406by @localai-bot in #11381 - chore(model-gallery): ⬆️ update checksum by @localai-bot in #11382
- gallery: add Qwen3.5 9B HauhauCS variants by @localai-org-maint-bot in #11339
- gallery: add Qwen3.5 9B Defiant Fable variants by @localai-org-maint-bot in #11335
- feat(vllm-cpp): wire the full engine config surface through engine_args by @localai-bot in #11159
- fix(react-ui): restore 3D Studio results and history by @richiejp in #11393
- fix(cli): ignore a half-populated socket activation environment by @localai-bot in #11394
Full Changelog: v4.8.0...v4.8.1


