S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
2026-11-29 local-ai, homelab, self-hosting, open-source

LocalAI 5.1 Serves Concurrent Chats Faster, Pairs Phones and Peers, but Re-Pair Your P2P Network

LocalAI released version 5.1.0 on November 28, the first feature release since the big 5.0 launch, and it is aimed squarely at home servers: an experimental Android client that turns your phone into a remote control for your home AI, a rebuilt peer-to-peer layer with one-time invites per machine, and a llama.cpp back end that serves several chats at once without letting one long prompt stall the rest. The release notes were published on November 29 at 00:23 UTC as a stable release, and independent write-ups from FreeAnswers, published November 29 and Local Model Watch, published November 29 confirm the headline features and agree on the main warning: if you use the old shared-token P2P network, upgrade carefully, because that network is gone.

LocalAI is an MIT-licensed, self-hosted AI server written in Go that runs open models for chat, images, speech, and video on your own hardware, with OpenAI-compatible endpoints, as its project page describes it. The project blog frames 5.0, from November 18, as the release that added Projects, a desktop app, documents, team sharing, and add-ons. Version 5.1 builds on that base with clients, clustering, and serving changes rather than another interface overhaul.

Your phone becomes a remote for your home AI

The most visible addition is the experimental Android client. You connect the phone to your server by entering its URL or scanning a one-time pairing invite with a QR code, preview the peer, and tap Pair. The phone opens the server's web interface remotely: models stay on the server and nothing runs on the handset, which is exactly the arrangement a homelabber wants, since a phone cannot hold a useful chat model anyway. Password and API-key sign-in are supported, but servers that only accept OAuth logins are not, so check your authentication setup before handing a phone to a family member.

The bigger change underneath is the new libp2p P2P layer, and it comes with a breaking migration. The old network admitted every machine holding one shared token; the new layer admits each machine with its own one-time invite link, and you can revoke one machine without disconnecting the rest. Peers can connect directly or through a relay you operate, invite links now carry local LAN addresses, and paired remotes can reconnect when the server's IP changes. Distributed workers gain a WebSocket and PostgreSQL transport as an alternative to NATS. FreeAnswers walks through the practical side: one invite per machine, revoke individually, and no more shared secret floating around your notes.

Read the breaking-changes list before you update. The project says to remove the legacy shared-token configuration and pair each machine again, because old settings can prevent startup, and to upgrade front ends and workers together, since mixed versions cannot run the new backend-upgrade protocol. The old P2P routes and the old federated mode are removed in the same release with no overlap period, and the model-configuration API endpoint POST /api/models/config/{id} now returns 410 Gone, so any script or client calling it needs updating. The P2P migration guide lists exactly which flags, workers, and routes are affected. If your LocalAI runs as a single box with no P2P and no API scripts, none of this touches you.

Concurrent chats get noticeably quicker, on the project's numbers

On the server side, the llama.cpp back end now schedules requests against a shared KV cache by default whenever more than one slot is configured. A request waits if its prompt and output reservation do not fit, long prompts are processed in chunks so chats already generating tokens keep moving, and chats that share at least 256 leading tokens can reuse that prefix work from another active slot with no client changes. The model editor gains runtime-tuning presets for unified memory, discrete GPUs, and CPUs, plus drafting controls for speculative decoding.

The project's own measurements, run on a DGX Spark and published with the benchmark setup, are striking but should be read as vendor numbers, not independent results. Serving Ornith-1.5-35B-A3B with 16 requests in flight, 16 slots plus paged serving completed all 128 requests at 153.3 aggregate output tokens per second against 81.0 for a 4-slot baseline, which the project describes as an 89 percent throughput gain, with median time to first token falling from 35.5 seconds to 8.3 seconds. A separate Qwen3-8B test found chunking an 8K-token prompt in 256-token pieces cut the longest pause in an ongoing chat from 690 ms to 109 ms, at the cost of about half a second more waiting for the long prompt's own first token. And with 32 requests sharing one system prompt, prefix reuse cut processed prompt tokens roughly in half and median time to first token from 220 ms to 110 ms. The Neural Feed's summary, published November 29, repeats the 89 percent and halved-wait figures while noting they come from the project's tests. For a household or small team sharing one GPU box, the practical takeaway is simpler: concurrent sessions should feel fairer, with a long pasted document no longer freezing everyone else's chat.

Automation, privacy controls, and more model families

Three smaller additions round out the release. Event triggers let a run start from a webhook or from a calendar change: the Calendar watch source follows a reminder when an event is rescheduled and cancels it when the event disappears, and you choose where the run sends its report, with a fallback to the Inbox if delivery fails. Web chats gain incognito options: memory-off mode stops a chat reading or writing long-term memory, and zero-retention mode additionally avoids persisting the conversation, though usage counters are still recorded and admins can disable or cap both. The controls apply to web sessions, not API-key requests, and they do not cover back-end process output or worker logs, so treat them as household privacy, not a compliance boundary.

For the tinkering crowd, a Kubernetes add-on lets you inspect workloads, read logs, and check cluster events from a chat, with writes off until an admin enables them per cluster, dry-run diffs for apply and patch, and namespace restrictions. Chats can also use skills, slash commands, and HTTP MCP connectors from Claude Code-format plugins installed from a marketplace at a pinned revision, though plugin-defined agents, hooks, and stdio connectors do not run yet. New model coverage arrives through Strata engines for Tencent Hy4-Flash and Inkling, gallery entries for Inkling 2 Mini, Qwen3.8-Flash-Next v3.1 builds, and the Oruk Fourier 2B audio model, plus a dedicated olala back end that loads Olala v1.0 mini 7A1B GGUF files including on Linux ARM64. An experimental Colibri back end keeps dense weights in RAM while reading experts from disk so you can try mixture-of-experts models that would not otherwise fit, with the honest caveat that disk-backed generation can crawl at a few tokens per second.

Who is affected and what to do

Anyone running LocalAI on a home server or small cluster is in scope for the good parts: the Android app, faster concurrent serving, and triggers all work on a single box. Only P2P and distributed setups face the migration work: delete the old shared-token settings, re-pair every machine with its own invite, upgrade all nodes together, and audit anything calling the removed model-config endpoint. Single-box Docker or binary installs can update normally, though a backup of models and configuration before any major-version step is cheap insurance. This article is based on the release notes, the migration guide, and three independent secondary reports; the release was not installed or benchmarked here, and the performance figures are the project's own until someone reproduces them.

Comments (0)

No comments yet — start the thread.

Log in to comment.

Webster the press owl — click to chat