LocalAI v5.1.0 released: local models with a shared KV cache, an Android client, and a rebuilt P2P layer

LocalAI v5.1.0 is out. The open-source engine for running models on your own hardware now schedules concurrent requests against a shared KV cache, pairs with an experimental Android client, and rebuilds peer-to-peer sharing on libp2p — a breaking change that requires legacy shared-token settings to be removed and each machine to be paired again.
Quick facts
- Released: LocalAI v5.1.0, announced 29 November 2026 on the project’s GitHub releases page
- What it is: an open-source engine for running models locally, on your own hardware
- Headline change: llama.cpp shares its KV cache across concurrent requests, with automatic prompt caching
- New client: an experimental Android client — pair by URL or a one-time QR invite; the phone runs no model
- Breaking change: P2P rebuilt on libp2p with per-peer invites; legacy shared-token settings must be deleted and machines re-paired; frontends and workers must upgrade together; POST /api/models/config/{id} now returns 410 Gone
- Price: none stated — open-source software; no plan price is stated in this story
What happened
- LocalAI 5.1.0 is out, announced on the project’s GitHub releases page with the words “LocalAI 5.1.0 is out!” The release notes describe a llama.cpp backend that schedules requests against a shared KV cache by default when more than one slot is configured, so concurrent chats share cached prompt work instead of each redoing it.
- Vendor-published benchmarks, attributed: on a DGX Spark (GB10) serving Ornith-1.5-35B-A3B, 16 slots with paged serving completed 128 of 128 requests at 153.3 aggregate output tokens/s, against 81.0 for the 4-slot baseline, and median time to first token fell from 35.5 s to 8.3 s. These are the project’s own benchmark figures, not independent results, and no hands-on testing is claimed in this story.
- Automatic prompt caching: requests sharing at least 256 leading tokens can reuse a prefix from another active slot, while each request still generates its own answer. In the project’s Qwen3-8B test, sharing cut processed prompt tokens from 7,989 to 3,945 per run and median time to first token from 220 ms to 110 ms (vendor figures).
- Android client (experimental): the app opens a remote server’s Web UI. Enter a URL or scan an invite QR code, preview the peer, then tap Pair. The phone does not run a model or start a LocalAI server. Password and API-key sign-in are supported; OAuth-only servers are not.
- P2P rebuilt: libp2p replaces the shared-token network. Each machine pairs with its own one-time invite, so one peer can be revoked without disconnecting the rest. Before upgrading, legacy shared-token configuration must be removed — old settings can prevent startup — and frontends and workers must be upgraded together. POST /api/models/config/{id} now returns 410 Gone, so clients calling that endpoint must be checked before upgrading.
- Automation and inspection: calendar and webhook event triggers start runs when something changes, with calendar as the first watch source; incognito chats offer memory-off or zero-retention for web sessions; a Kubernetes add-on inspects workloads, logs and cluster events, with writes off until an admin enables them; Claude Code-format plugin skills can be installed from a marketplace at a pinned revision.
- More model families: Strata engines for Tencent Hy4-Flash and Inkling; a dedicated olala backend for Olala v1.0 mini 7A1B GGUF models, including on Linux ARM64; and an experimental Colibri disk backend for mixture-of-experts models that would not fit in memory — disk-backed generation can run at a few tokens per second or less, per the release notes.
What it means
- People running LocalAI get more concurrent chats from the same hardware when requests share prompts, per the project’s own benchmarks.
- Phone access is now possible without running a model on the phone — but it is experimental, and pairing is a deliberate step, not an automatic sync.
- Existing P2P and distributed setups must plan the upgrade: delete legacy token settings, re-pair each machine, upgrade frontends and workers together, and check API clients for the removed endpoint.
- No price, subscription or hosted plan is stated in this story, because LocalAI is distributed as open-source software and the release notes state no price.
- No hands-on testing or independent benchmark is claimed in this story.
How we covered this: facts above come only from the sources listed below. AiTopMix did not independently test the product in this story.
Sources
Checked on 29 November 2026. Dating note: the release page itself shows no visible publication date in its fetched text. The 29 November 2026 date is the GitHub release timestamp (2026-11-29T00:23:25Z) quoted by same-day release trackers, and is used here as the announcement date. If a source page has changed since, the source is the final word.