DIRTY STATIC / DISPATCH Tutorials23 NOV 2026 • 8 MIN READ
A desktop computer on a concrete desk in a brutalist concrete room, a closed door with a heavy lock beside it, with caution yellow hazard stripes on the floor and a glowing yellow cable.
TutorialsINTELLIGENCE FOR THE MACHINE AGE

Set Up LM Studio For Private Chats

LM Studio is a desktop app that downloads open models and runs them on your own computer, with a chat window and a local server. This tutorial installs it, picks a first model that fits your memory, loads it, proves the chat stays local, and starts the server for other apps.

Start reading ↓

Cloud chat is convenient right up to the moment you paste something you should not share. A contract draft, medical notes, client files, the messy first version of an email you would never send. LM Studio answers that problem in a plain way. The model runs on your computer, your prompts stay on your computer, and once a model is downloaded the app works with no connection at all.

That is the claim in LM Studio’s own documentation, and the setup below is built to test it. You will install the app, download one model sized for your machine, chat with it, then disconnect and chat again. If the second chat works, the core promise holds for your setup.

What You Will Build or Learn

You will end with a working local chat on your own machine, plus a local server other tools can call. The server speaks an OpenAI style API at a local address, so apps that expect that shape can point at your computer instead of a cloud account.

If you have used a terminal route before, this is the visual version of the same idea. Our guide to giving a local model real tools with Ollama and MCP covers the command line path. LM Studio trades some control for a window you can click through, and for many people that trade is the whole point.

The Discover tab in LM Studio, where models are searched and downloaded

Before You Begin

Pick the machine first, not the model. A large model on a small machine loads slowly, answers slowly, or fails to load at all. LM Studio shows download options for each model and suggests variants for your hardware in the Discover tab. Trust that suggestion for your first model.

One privacy note before the steps. Searching for models and downloading models need the internet, and LM Studio states those searches make network requests to sites such as Hugging Face. Checking for app updates and downloading runtimes also need a connection. The private part starts after the download, when the model itself runs locally.

Step 1: Install LM Studio

Action: go to the LM Studio download page and get the installer for your system, then install it the normal way for that system.

On macOS, open the disk image and move LM Studio into Applications. Intel Macs are not supported. On Windows, run the installer. On Linux, download the AppImage, make it executable, and run it.

Linux

chmod +x LM-Studio-*.AppImage
./LM-Studio-*.AppImage

Expected result: LM Studio opens to its main window. No account prompt is required to use local models.

Step 2: Download Your First Model

Action: open the Discover tab, search for a model, and download a variant that fits your machine. A small general model in the 7B to 9B class is a sensible first download on a 16 GB machine. LM Studio names Llama, Phi, DeepSeek, Qwen, and Gemma among the model families people run locally.

lms get deepseek-r1

That command is the optional terminal route from the LM Studio docs. It downloads by keyword, and a full Hugging Face address works as well. Most readers should stay in the Discover tab for the first model, because the tab shows sizes and hardware guidance before anything lands on disk.

Expected result: the model appears in your downloaded models, and the download size matches what the Discover tab showed. If the tab warns that a variant is likely too large for your machine, pick a smaller quant level or a smaller model instead of forcing it.

Step 3: Load the Model and Chat

Action: open the Chat tab, open the model loader, and select the model you downloaded. The shortcut is Command plus L on macOS and Control plus L on Windows and Linux.

Expected result: the model loads into memory and the chat input becomes active. Loading means the app has placed the model weights in memory so it can answer. Ask it something you can check, such as asking it to summarise a short paragraph you paste in. A correct summary of your own text proves the local model is answering, not a cloud fallback.

Step 4: Prove It Works Offline

Action: turn off Wi Fi or disconnect the network cable, then start a new chat and ask another question. You can also attach a document in the chat and ask about it.

Expected result: the chat still answers. LM Studio states that using downloaded models and chatting with documents need no connection, and that nothing you enter when chatting with a local model leaves your device. Documents you drag into a chat are processed locally on the same basis. If a search in the Discover tab fails while you are offline, that is expected, because search needs the internet.

Step 5: Start the Local Server Only If You Need It

Action: if another app or script should call your model, open the Developer tab and start the server, or use the command line tool. Install the tool first if your system does not have it yet, using the command the docs give.

npx lmstudio install-cli
lms server start
lms load

Expected result: the server listens on port 1234 on your machine. A call to the models endpoint returns your loaded model.

curl http://localhost:1234/v1/models

Other apps can then use http://localhost:1234/v1 as their base address, with the model name LM Studio reports. Keep the placeholder value lm-studio where an app insists on an API key field and the app is only talking to your local server. Never paste a real cloud key into a local setup out of habit.

Verification

Three checks confirm the whole setup. First, a new chat answers while your machine is offline. Second, the model you loaded is the model named in the Chat tab and in the server response. Third, a document chat answers a question whose answer exists only inside a file you supplied. That third check matters, because it proves the document path also stayed local enough to work with no connection.

If all three pass, you have a private chat setup. The model quality will vary with the model you picked, and a small local model will miss things a large cloud model catches. That is a model choice, not a setup failure.

Troubleshooting

ProblemLikely causeFix
LM Studio will not install on a MacIntel processor or old macOSUse an Apple Silicon Mac on macOS 13.4 or newer, or use another machine
Model fails to loadModel is too large for memoryDownload a smaller model or a lower quant variant suggested in Discover
Answers are very slowModel runs mostly on CPU or memory is fullClose other heavy apps, lower the context size, or pick a smaller model
Discover search shows nothingNo internet connectionReconnect to search and download, then go offline again to chat
Server calls get no answerServer is off or no model is loadedStart the server in the Developer tab and load a model, then retry the models endpoint
lms command is not foundCommand line tool is not installedRun the install command in Step 5, open a new terminal, and retry

Next Steps

Try a second model beside the first and compare answers on the same prompt. Different families have different strengths, and the cost of trying one is a download, not a subscription. When you are ready to connect tools, read the LM Studio docs on its local API before you grant any external app access, and keep the same rule you used here. Local first, shared only on purpose, and only with software you chose.

Sources

  • LM Studio documentation, About LM Studio, System Requirements, Offline Operation, Get Started, Download an LLM, and the lms server start and lms load command references, at lmstudio.ai
  • LM Studio documentation image of the Discover tab, LM Studio
  • OpenAI developer guide, How to run gpt-oss locally with LM Studio, at developers.openai.com
■

END OF TRANSMISSION

Stay curious. Question everything.

CONTINUE THE DESCENT

MORE FROM DIRTY STATIC ↘