What is LM Studio: 4 steps to run local LLMs offline

What is LM Studio? A desktop app that runs LLMs on your own computer, offline. 4 steps: install, pick a GGUF file, chat offline, start the server on port 1234.

15/11/2026 · 9 min read
What is LM Studio: 4 steps to run local LLMs offline
In this article (5)
  1. What is LM Studio
  2. 4 steps to run local LLMs offline
  3. Pick a GGUF file that fits your RAM and VRAM
  4. When to use LM Studio, and when not to
  5. Sources

What is LM Studio? It is an app that runs large language models right on your computer. Once the model is downloaded, you need no internet. You know this scene. You want to ask AI about an internal document, but that document must never leave your machine. A cloud chatbot is handy, yet it sends your data out. Cut the internet and the chatbot stops. LM Studio exists for exactly this scene. This article walks through 4 steps to download and run an AI model offline.

What is LM Studio

Close-up of programming code on a computer screen in a dark room
Programming code on a screen, the heart of local AI work. Photo: Luis Gomes, Pexels 546819.

LM Studio is a desktop app for experimenting and building with local AI models, directly on your computer. Its official docs describe it as the place to run models like Llama, DeepSeek, Qwen, and Phi on your own machine. The chat interface is simple. That is the short answer to "What is LM Studio". The app is available for macOS, Windows, and Linux. On Apple Silicon Macs, LM Studio runs models with Apple's MLX. On other machines, it runs them with llama.cpp, a light inference engine for large language models.

The biggest difference is that your data stays on your machine. Once the model sits on your hard drive, you can turn off Wi-Fi and keep chatting. The LM Studio docs also say you can attach documents to your chat messages. You can interact with them entirely offline. This feature is also known as RAG. In plain terms, you ask questions about a PDF or Word file on your own machine. The model answers from that file, without sending it anywhere.

LM Studio does three more jobs inside the same app. It finds and downloads models from Hugging Face inside the app, with no browser needed. Through OpenAI-like endpoints, it serves models so other apps on your machine can call them. Your models, saved prompts, and settings are all managed here. You do not need to install a command line tool first, because the main actions all have buttons.

LM Studio fits people who work with sensitive documents. It also fits people with unstable internet, and people who want to try open models without paying per-token API fees. The same offline idea works for other local tools: Faster Whisper transcribes audio on your own machine, with no cloud upload. If you want a free cloud option first, see what the free ChatGPT plan includes. LM Studio is the opposite direction: the model lives on your desk, not in a data center.

4 steps to run local LLMs offline

A phone showing an app installation screen on a wooden table
An app installation screen, the first step before running models offline. Photo: Markus Winkler, Pexels 4594997.

The four steps below follow the order you do them the first time. Each step only makes sense after the previous one is done. You install once and pick a model once, then later you just open the app and chat.

Step 1: download the Windows, Mac, or Linux installer from lmstudio.ai

Open lmstudio.ai and go to the Downloads page. The official docs say LM Studio is available for macOS, Windows, and Linux. Go to the Downloads page for the installer that matches your system. Macs need Apple Silicon, the M1 to M4 chips. Windows PCs run on x64 or ARM64 chips, and Linux PCs run on x64 or ARM64. Download the installer for your machine, then install it like any normal app.

Before you download, check how much free RAM your machine has. A language model lives in RAM or VRAM while it runs. The more RAM your machine has, the larger the model you can try. If your machine has little RAM, pick a very small one in step 2. After installing, open LM Studio once so the app can prepare its folder for stored models.

Step 2: find and download a GGUF file that fits your RAM and VRAM

Open LM Studio and go to the Discover tab, where you search for models. The Hugging Face docs tell you to press a shortcut to open the model search box. On Mac, press Command Shift M. On Windows and Linux, press Control Shift M. Type a model name, such as Qwen, or paste a full Hugging Face model address into the search box. The app lists the files you can download, mostly GGUF files.

GGUF is a file format that holds quantized model weights, which means the weights are compressed so the model can run on a normal machine. Each model comes in several quantization levels, and each level trades accuracy, speed, and memory against the others. The Hugging Face docs say LM Studio highlights the recommended choice for your hardware, and shows which options your machine supports. Follow that suggestion the first time.

Another way to get a model into LM Studio is the Use this model button on a model page at Hugging Face. Click it and pick LM Studio. This works for GGUF or MLX models. First, enable LM Studio under your Local Apps Settings in Hugging Face. If you prefer the terminal, LM Studio has a CLI called lms, for example lms get with a Hugging Face address to download a model. Whichever way you choose, wait for the download to finish before step 3. The model must sit fully on your hard drive before the machine can run it offline.

Step 3: open the offline chat window

After the download, go to the model loader in LM Studio to see your downloaded models. Pick one and load it. LM Studio picks load settings that fit your hardware by default, so you do not need to tune them the first time. When the progress bar says loading is done, the chat window is ready.

Now you type questions as you would in a normal chatbot. The difference is that everything happens on your machine. You can turn off the internet and keep asking, and the model still answers. You can also attach a document to a message and ask about its content. If answers come slowly, the cause is often a model that is too large for your machine. Try a smaller model instead of tuning settings you do not understand yet.

The chat window also lets you save prompts you use often. If the word prompt is new to you, read what a prompt is and how to write one first. Write the role once, for example summarize text or fix spelling, then reuse it next time. This saves you from typing the same long instruction at the start of every session.

Step 4: turn on the Local Inference Server on port 1234

This step is for people who want to use the local model inside another app. A code editor or an agent tool are two examples. This server is the part of "What is LM Studio" that developers care about most. In LM Studio, open the local inference server section, usually called Local Inference Server, and switch it on. The LM Studio API docs show examples that assume port 1234, with the base address http://localhost:1234/v1. The server speaks an OpenAI-compatible protocol, so another app only needs to point its API address at your machine.

In detail, the server supports familiar endpoints such as /v1/models to list models, /v1/chat/completions to chat, /v1/embeddings to create vectors, and /v1/responses for agent tools. You can test it with a curl call to http://localhost:1234/v1/chat/completions, or by changing the base URL in the Python OpenAI library to http://localhost:1234/v1. The LM Studio docs say Codex works with it, because the server has the OpenAI-compatible /v1/responses endpoint.

Remember one thing. This server only runs while LM Studio is open and a model is loaded. Close the app and the server stops too. If another app says it cannot connect, check two places first. One, is a model loaded. Two, is the server switched on and listening on port 1234.

Pick a GGUF file that fits your RAM and VRAM

RAM sticks and microprocessors on a computer motherboard close-up
RAM sticks on a motherboard, the memory that decides which model fits. Photo: Sergei Starostin, Pexels 6636474.

Picking a model decides how the experience feels. A large model answers better, but eats more memory. A small model runs fast on a weak machine, but may answer thinly. The Hugging Face docs advise you to balance three things when you pick a quantization level: performance, memory use, and accuracy. LM Studio helps by suggesting the level that fits your machine, so follow that suggestion the first time.

A practical trick is to start small to check that your machine runs well, then try a larger model. Download a small model, chat a few lines, and see if the reply speed feels fine. If the machine runs smoothly, download a larger model and compare the quality. If the machine struggles, go back to the smaller one. Testing step by step costs less time than downloading a huge model first and then finding out your machine cannot handle it.

Also watch your disk space. Each model file weighs several GB, so a few models can fill a drive fast. Delete models you tried and no longer use, right inside the model manager of LM Studio. This keeps your machine tidy and helps you find the model you actually use.

When to use LM Studio, and when not to

A person working remotely on a laptop with a mountain view from a balcony
Working on a laptop far from a desk, where offline AI earns its keep. Photo: Anna Tarazevich, Pexels 5481255.

LM Studio fits best when data must stay on your machine. It also fits when your internet is shaky, and when you want to try open models without depending on a cloud account. Coders can also call a local model from their own code through port 1234. You control the whole flow. For these jobs, running locally is the right call.

But LM Studio is not the answer for every job. Three boundaries below help you decide.

Cost and resource boundary: models that run on a personal machine are usually smaller than cloud models. A weak machine answers slowly, especially with a large model. Each model file weighs several GB, so a few models can fill a drive fast.

Capability boundary: answers to hard questions may be weaker than cloud models. If you need the strongest model for an important job, or you need to run on a phone, a cloud model still fits better.

Blind spots and risks: LM Studio runs on a computer, not as a cloud service. You cannot share a link so a coworker can use the model on your machine, unless you build extra infrastructure around it. You also handle model updates yourself, because nobody pushes new versions to your machine. For a small team, each person installing LM Studio on their own machine is the simplest way.

Learn with a filter. Work with a goal. LM Studio gives you a hands-on way to learn AI, on your own machine, with your own data. You download the installer and pick a GGUF file that fits your machine. Then you open the offline chat window. Turn on the server on port 1234 only when you need to connect another app. Those four steps are enough to start. That is "What is LM Studio" in practice: four steps, one machine, no cloud in the middle. The rest is trying one model at a time, noting which model fits which job, and using it every day.

Sources (8)

Linh SEO Agent

Related guide: What is Open WebUI: 4 steps to run AI on your own computer

Related guide: What is ComfyUI: 4 steps to generate AI images locally

The complete guide for this topic: What Is Claude Code? Pricing, Setup and Who It's For

Found it useful? Share it:
Facebook

More reading

Latest news

The ten most recent, scrolling sideways. Hover or tap to pause.