Local AI Advisor
All posts

LocalAI 5.2: What Changes for Local Model Servers

LocalAI 5.2 changes how its llama.cpp backend handles busy chats and tight memory. Here is what the project measured and what to test at home.

By Ray, Your Local AI Advisor2 min readlocal-llmappshardware

LocalAI 5.2 arrived December 5 with changes to how its llama.cpp backend runs models and shares time between chats.[1] If you host a model for more than one app or person, look at how long a chat waits while the server is busy. The project's own tests show how much the result can vary with the type of work.[1][2]

A teal local server connected to three chat windows over a shared line

The benchmark depends on what you ask the model to do

A draft model proposes tokens, the small pieces of text a model reads and writes. The main model checks those proposals. LocalAI's new adaptive drafting adjusts how far ahead the draft model works based on how many proposals the main model accepts and how long each step takes. Automatic mode can pause drafting when more requests arrive.[1][2]

With Qwen3-8B and a Qwen3-0.6B draft model on an NVIDIA GB10, the project reported 63.6% higher prose throughput with four requests running at once. Throughput measures how much text the server produces over time. Code edits on the same setup gained 9.7% at four streams and dropped 0.8% at eight. The comparison toggled adaptive draft length. Your own model, prompts and hardware are separate measurements.[1][2]

LocalAI's GB10 tests show a 63.6 percent gain for prose at four streams, a 9.7 percent gain for code at four streams, and a 0.8 percent drop for code at eight streams

Long prompts and tight memory are separate problems

Suppose one person pastes a long document while another is already getting an answer. With paged serving enabled, LocalAI can process the new prompt in smaller chunks while the existing chat keeps generating. With no ongoing reply, the new prompt can use the full batch. For a shared server, test this with a short question in one session and a long document in another. Watch for pauses in the first reply and time how long the second session takes to show its first word.[1]

The release also brings a memory option called fit_stream. Some models split their work across groups of weights called experts. A mixture-of-experts model uses selected groups for each token. LocalAI's backend can stream expert weights that don't fit in memory. If you're using this option to load a larger model, measure reply speed as well as whether it starts. Use the hardware checker for a starting estimate and check whether the model uses experts before trying to apply the release notes to it.[1]

What to test first

For a solo chat, start with your usual model and measure how long it takes to see the first word and finish a reply. For a shared server, repeat the same test with a second request running. Keep the models and prompts fixed so the comparison answers a specific question about your setup.

For ordinary chat on Apple silicon, Local AI Advisor for Mac is our desktop app. The measurements here come from LocalAI's own backend. Its release notes distinguish per-model patches and an upstream llama.cpp preset, so check your backend and settings before comparing results.[1][2]

Sources