How to Set Up LM Studio 0.4.28 and Run Local Models (Mac, Windows, Linux)

Cover image for How to Set Up LM Studio 0.4.28 and Run Local Models (Mac, Windows, Linux): LM Studio (official image)

Key facts

Sources checked Nov 17, 2026

  • LM Studio 0.4.28 (October 31, 2026) is the current release. It runs GGUF models through llama.cpp on Mac, Windows and Linux, and MLX models on Apple Silicon.
  • Requirements from LM Studio’s docs: an Apple Silicon Mac on macOS 14+, or a Windows/Linux PC with AVX2. They recommend 16 GB of RAM and at least 4 GB of VRAM on Windows.
  • Good first models: Gemma 4 E4B (5.90 GB download) for 8 GB machines, or Qwen3.8-27B (16.10 GB, needs at least 16 GB of RAM) if you have more memory.
  • LM Studio can also serve models on an OpenAI-compatible API at http://localhost:1234/v1, so other apps can use them.

Requirements Apple Silicon Mac on macOS 14+, or a Windows/Linux PC with AVX2. 16 GB RAM recommended; 4 GB+ VRAM recommended on Windows (per LM Studio’s system requirements).

LM Studio is the easiest way to run open models on your own computer if you’d rather click than type. This guide covers installing it, choosing and downloading a model that fits your hardware, sensible load settings, and turning on the local API server. Every step and command is from LM Studio’s own documentation.

What you need

From LM Studio’s system requirements page:

Platform Requirement
macOS Apple Silicon (M1 to M4), macOS 14.0 or newer, 16 GB+ RAM recommended. 8 GB Macs work with small models and modest context. Intel Macs aren’t supported.
Windows x64 or ARM (Snapdragon X Elite). AVX2 CPU support required on x64. 16 GB RAM and 4 GB+ of dedicated VRAM recommended.
Linux x64 or ARM64, distributed as an AppImage (a .deb is also on the download page). Ubuntu 20.04 or newer. LM Studio says versions newer than 22 are less tested.

You’ll also want free disk space: model files run from about 4 GB to more than 20 GB each.

Screenshot of LM Studio: Download LM Studio and Bionic
Screenshot: LM Studio: Download LM Studio and Bionic (official page, captured December 1, 2026).

Step 1: Download and install LM Studio

Get the installer from lmstudio.ai/download. The current version there is 0.4.28. Its release notes list two fixes: chat-template parsing for the Flint model, and a Mac bug where “Restart to apply update” reopened the old version instead of installing the new one. If an in-app update on a Mac seems stuck, download the installer again.

The same page also offers LM Studio Bionic, a separate agent app from the same company. You don’t need it for this guide.

Open LM Studio once after installing. That also sets up the lms command-line tool, which ships with the app. Check it in a terminal:

lms --help

Step 2: Pick a model that fits your memory

Open the Discover tab (Ctrl+2 on Windows and Linux, ⌘+2 on a Mac) and search. You can type a name, a user/model repo, or paste a full Hugging Face URL, as the download docs explain.

Here are two sizes from LM Studio’s own catalog:

Model LM Studio key Download Good for
Gemma 4 E4B google/gemma-4-e4b 5.90 GB 8 GB GPUs, 16 GB laptops
Qwen3.8-27B qwen/qwen3.8-27b 16.10 GB 24 GB GPUs, 32 GB+ Macs

The rule of thumb is simple. The file has to fit in your GPU memory (or in unified memory on a Mac) with a few gigabytes to spare for the conversation itself. LM Studio says the smallest Qwen3.8 build needs at least 16 GB of RAM, so on a 16 GB machine Gemma 4 E4B is the more comfortable choice.

Which quantization option?

Each model offers several versions with names like Q4_K_M or Q8_0. They’re the same model stored at different precision. LM Studio’s advice is to “choose a 4-bit option or higher” if your machine can run it. Our quantization explainer covers what the names mean.

If you prefer the terminal, the lms get docs show how to download by name, optionally with a specific quantization after an @:

lms get google/gemma-4-e4b
lms get llama-3.1-8b@q4_k_m

Step 3: Load it with sensible settings

When you load a model in the app, two settings matter most:

  • GPU offload: put as many layers on the GPU as fit. Everything on the GPU is fastest.
  • Context length: how many tokens the model can see at once. More context uses more memory. Start around 8K to 16K on an 8 GB card and raise it only if the model still loads fully on the GPU.

You can ask LM Studio for a memory estimate before loading anything. The lms load docs describe --estimate-only, which takes your context length and GPU settings into account:

lms load --estimate-only google/gemma-4-e4b --context-length 16384
lms load google/gemma-4-e4b --gpu max --context-length 16384
lms ps

lms ps lists what’s loaded. Add --ttl 3600 to lms load if you want the model to unload itself after an hour of inactivity.

Step 4: Chat, attach files, add tools

With a model loaded, the chat window works like any chatbot, but nothing leaves your computer. LM Studio’s docs also cover attaching documents to a chat (“Chat with Documents”, which works offline) and connecting MCP servers so the model can use tools. Once you have model files, LM Studio can run fully offline.

Watch: a full walkthrough

Tech With Tim’s full LM Studio tutorial (September 2026) walks through the app, model downloads and the local server.

Step 5: Turn on the local API server

This is what makes LM Studio useful beyond chatting. You can start it in the app or from a terminal (server docs):

lms server start

It listens on port 1234 by default and only on your own machine (127.0.0.1). LM Studio’s OpenAI compatibility docs list /v1/models, /v1/chat/completions, /v1/responses, /v1/embeddings and /v1/completions. Any app that lets you change the OpenAI “base URL” can point at it:

curl http://localhost:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "google/gemma-4-e4b", "messages": [{"role": "user", "content": "Say this is a test!"}]}'

Use the model identifier that LM Studio shows for the loaded model. Two security notes from the docs: --bind 0.0.0.0 exposes the server to your whole network, and --cors can expose it to web pages. LM Studio recommends enabling authentication before you use either one.

Running it without the app

For a server or a headless box, LM Studio’s headless docs recommend llmster, the app’s engine without the GUI:

curl -fsSL https://lmstudio.ai/install.sh | bash
lms daemon up

On Windows, the docs give irm https://lmstudio.ai/install.ps1 | iex instead.

Troubleshooting

  • The model loads but is very slow. Part of it is probably on the CPU. Lower the context length or pick a smaller quantization so GPU offload can be maxed out.
  • “Not enough memory” or a failed load. Run lms load --estimate-only with your settings, then step down a size.
  • The Mac update keeps reopening the old version. That’s the bug fixed in 0.4.28 Build 2. Download the installer from the website.
  • An app can’t connect to the server. Confirm lms server status says it’s running, that the port matches, and that the app’s base URL ends in /v1.

Bottom line

LM Studio is the gentlest on-ramp to local AI: a model browser that shows what fits, one-click loading, and an OpenAI-compatible server when you’re ready to connect other tools. Start with Gemma 4 E4B on modest hardware and move up to Qwen3.8-27B if you have 24 GB of VRAM or a well-equipped Mac.

Sources

Facts checked against the sources above on November 17, 2026.

Cover image: LM Studio (official image)