﻿# LM Studio 0.4.0: parallel requests, llmster and a stateful API

LM Studio 0.4.0 added continuous batching, standalone llmster and a stateful chat API. Understand concurrency defaults, runtime limits and server startup.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/lm-studio-040-batching-llmster-stateful-api/
Language: en

On January 28, 2026, the developers [introduced LM Studio 0.4.0](https://lmstudio.ai/blog/0.4.0). The application for running language models on your own computer added continuous batching for parallel requests, a separate background engine called llmster, and a new API that preserves conversation state. Its graphical interface was refreshed too. A person chatting with one model in one window may mainly notice the interface; a local-application developer is more concerned with serving concurrent requests and running without a desktop.

This is model-serving software, rather than a new language model. Answer quality still depends on the selected model and settings. Processing requests concurrently also does not automatically accelerate every individual response.

## Several requests to the same model

In a sequential setup, clients may wait for the server to finish the current generation. Continuous batching combines active requests and admits new ones as capacity becomes available. This is useful when a code editor, chat and small application share a local model. The [LM Studio documentation](https://lmstudio.ai/docs/app/advanced/parallel-requests) describes dynamic combination of requests into a batch.

A release-specific restriction matters: in 0.4.0, this worked with the **llama.cpp** engine. MLX support was still planned. **Max Concurrent Predictions**, or `n_parallel`, sets the maximum simultaneous requests; the release default was **4**, with additional requests queued. Four is a configured concurrency limit, rather than a promise of fourfold speed. These details come from the [release notes](https://lmstudio.ai/blog/0.4.0).

Another setting, **Unified KV Cache**, is enabled by default according to the release. KV cache holds intermediate attention data needed for continued generation. Sharing it lets requests of different lengths use available space more flexibly than rigid partitions. The developers expected no additional memory overhead from this arrangement, but this statement should not become a guarantee for every model and workload. Weights, context and working data all consume memory. The announcement gives no universal RAM or VRAM requirement for four requests.

Results depend on the model, quantization, input and output lengths, available memory and hardware. Under load, measure time to first token and individual response delay alongside aggregate token throughput. An independent comparison of LM Studio 0.4.0 with specified hardware, model and methodology confirming a particular speedup was not identified. A later [Mozilla test](https://blog.mozilla.ai/benchmarking-local-llm-servers-llama-cpp-llamafile-lm-studio-and-ollama/) included a Mac Studio with M4 Max and 64 GB unified memory, but another runtime version; its results cannot be transferred to the January release.

## A server without the graphical application

The second change is **llmster**, a separate daemon containing LM Studio's core and requiring no open graphical interface. It suits Linux servers, cloud machines, automated work and computers used by other local programs. The daemon itself does not establish external access or network security; those remain administration decisions.

The [announcement](https://lmstudio.ai/blog/0.4.0) gives a sequence: `lms daemon up` starts the daemon, `lms get <model>` downloads a chosen model, and `lms server start` starts the server. These are separate steps: a background process does not establish that a model has downloaded or the API can serve requests. Interactive use is available through `lms chat`. The developers published installation options for macOS, Linux and Windows; details and current commands appear in the [headless documentation](https://lmstudio.ai/docs/developer/core/headless).

A home user can keep a local service available without continuously interacting with an application window. A development team can run the same class of local models where a graphical desktop is inconvenient. A suitable model still needs to be selected for the machine; the application version alone does not determine memory requirements.

## The API remembers the previous turn

The new stateful API lets a client continue a conversation using the previous response identifier, without manually submitting the entire history every time. The announcement describes `response_id` and `previous_response_id`, plus generation statistics including speed and time to first token. These support custom chat interfaces and multistep workflows. Conversation state lives on the server, so developers should account for its storage and lifecycle.

There is a route-name detail: the [0.4.0 publication](https://lmstudio.ai/blog/0.4.0) calls it `/v1/chat`, while its release notes also mention `/api/v1/chat`. The [official API reference](https://lmstudio.ai/docs/developer/rest/chat) currently specifies `POST /api/v1/chat`. Check the documentation for the installed version before integrating; present-day documentation may have changed after 0.4.0. The [current stateful-chat guide](https://lmstudio.ai/docs/developer/rest/stateful-chats) also says storage can be disabled using `store: false`.

## Interface changes and evidence of interest

The graphical application added split view for two adjacent chats, conversation export to PDF, Markdown and plain text, developer mode and built-in documentation. These are useful without writing code: a user can compare two conversations side by side and save the result. The [official announcement](https://lmstudio.ai/blog/0.4.0) lists the changes.

There is a limited third-party distribution indicator. The [Chocolatey package history](https://community.chocolatey.org/packages/lmstudio) dates version 0.4.0 to January 29, 2026; the page reviewed in November 2026 displayed 178 downloads for that version. This changing counter concerns a particular third-party Windows package. It does not measure all LM Studio installations, unique users or successful launches, and cannot establish the release's overall popularity.

For several local clients, version 0.4.0 made LM Studio more useful as a small server by adding concurrent-work scheduling and execution without a GUI. Whether this improves a particular workflow still requires measurement on the chosen model and computer.

## Sources

- [LM Studio: Introducing LM Studio 0.4.0](https://lmstudio.ai/blog/0.4.0) — announcement and release notes dated January 28, 2026.
- [LM Studio: Parallel Requests](https://lmstudio.ai/docs/app/advanced/parallel-requests) — concurrent request behavior.
- [LM Studio: Headless](https://lmstudio.ai/docs/developer/core/headless) — current background-service documentation.
- [LM Studio: Chat API](https://lmstudio.ai/docs/developer/rest/chat) and [Stateful Chats](https://lmstudio.ai/docs/developer/rest/stateful-chats) — current route and conversation state.
- [Mozilla: Benchmarking local LLM servers](https://blog.mozilla.ai/benchmarking-local-llm-servers-llama-cpp-llamafile-lm-studio-and-ollama/) — independent test of a later configuration.
- [Chocolatey LM Studio package history](https://community.chocolatey.org/packages/lmstudio) — third-party catalogue and download counts.

For background, see [continuous batching](/journal/continuous-batching/) and [LM Studio or Ollama for coding](/journal/lm-studio-vs-ollama-coding-workflow/).
