How to Run LM Studio Headless With the llmster Daemon
Install the llmster headless daemon and serve LM Studio models from a server with no desktop app and no GUI.
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Install the llmster headless daemon and serve LM Studio models from a server with no desktop app and no GUI.
Raise the macOS wired memory limit with sysctl so a large MLX model that fits in RAM stops running slowly.
Turn on whisper.cpp's experimental word-level timestamps and tinydiarize speaker segmentation to see who said each word and when.
Set --max-len in whisper.cpp so each subtitle segment stays short enough to read, and get word-level timestamps with -ml 1.
Start vLLM with --api-key or VLLM_API_KEY, pass the key as a bearer token, and rotate keys by listing several at once.
Set OLLAMA_ORIGINS so a web app on another origin can call your local Ollama server without the browser blocking it.
Set a time-to-live on a loaded LM Studio model so it unloads itself after idle time and frees memory for the next…
Raise the number of parallel slots on llama.cpp's server with -np so several users can chat at once instead of queueing behind…
Change Jan's local API server host from 127.0.0.1 to 0.0.0.0 and set trusted hosts, so devices on your network can call it.
Set an optional API key on Jan's local API server and send it as a Bearer token, so only clients with the…