LM Studio is the closest thing the local-AI world has to a “just works” desktop app. You download it, search a model from a built-in catalog, click load, and start chatting — no terminal, no Docker, no config files. Behind that friendly window sits the same llama.cpp and MLX engines that power most of the local-LLM ecosystem, plus a one-click server that mimics the OpenAI API so your existing code can talk to a model running on your own machine.
This guide takes you from zero to a running local model through the GUI. We cover what LM Studio actually is as of November 2026, how to install it on Windows, macOS, and Linux, how to pick a model and quantization that fits your hardware, how to flip on the local server, and roughly how much VRAM and RAM you need. We also draw an honest line between LM Studio and Ollama, because they solve overlapping but different problems.
Key takeaways
- LM Studio is a free desktop GUI built by Element Labs, a New York company, for running open-weight LLMs locally — free for personal and commercial use since July 8, 2025, with no license or form required.
- The latest stable release is 0.4.28 (October 31, 2026). Since June the 0.4.x line has added an 8k default context, DFlash, DSpark and MTP draft models for speculative decoding (0.4.22), the optional Splash engine on M3-or-newer Macs (0.4.25) and side-by-side use with LM Studio Bionic, the company’s new agent app (0.4.26).
- It runs two main engines: llama.cpp for GGUF models (NVIDIA/AMD/Intel/CPU) and MLX for Apple Silicon, with recent additions like tensor-parallel multi-GPU (0.4.15) and stable MTP speculative decoding (0.4.14).
- A built-in OpenAI-compatible server exposes any loaded model at
http://localhost:1234/v1— point any OpenAI SDK at that URL and it works with no code changes. An Anthropic-compatible/v1/messagesendpoint also lets tools such as Claude Code use local models. - Hardware floor: AVX2 CPU, 16GB+ RAM recommended, and roughly 6–9GB VRAM for a comfortable 7B–13B model at Q4. macOS needs Apple Silicon and macOS 14+.
- Choose LM Studio for exploring and chatting; choose Ollama for headless servers and automation. They’re complementary, not rivals.
- What LM Studio actually is
- Installing LM Studio on Windows, macOS, and Linux
- Downloading and choosing a model
- The built-in local server (OpenAI-compatible API)
- Calling the server from code, the lms CLI and headless mode
- Hardware and VRAM: what you actually need
- LM Studio vs Ollama: which one is for you
- Verify these figures at the source
- FAQ
- Bottom line
What LM Studio actually is
LM Studio is a desktop application that downloads and runs large language models entirely on your own hardware. Nothing leaves your machine. It bundles two inference engines: llama.cpp, which runs the widely used GGUF model format on NVIDIA, AMD, Intel, and CPU-only systems, and Apple’s MLX, which runs MLX-format models natively on M-series Macs. You get a model browser, a ChatGPT-style chat window, per-model inference settings, and a server toggle — all in one window.
The product is built by Element Labs, Inc., a New York company that launched LM Studio in May 2023. As of July 8, 2025 it became free for use at work, dropping the previous requirement to request a separate commercial license. You and your team can install it and use it commercially with no form, no registration, and no fee. When it dropped the license requirement, the company also announced an Enterprise plan for organizations that want advanced features like SSO, model/MCP gating, and private collaboration. In July 2026 it added a second, separate app, LM Studio Bionic: an AI agent for open models that runs local models through the LM Studio runtime and can also use US-hosted cloud models. LM Studio’s pricing page lists a Free plan at $0, Bionic+ at $20 a month and Pro at $100 a month for Bionic. The core LM Studio app most people want is still free.
The current stable build is 0.4.28, released October 31, 2026. Recent versions have moved fast: 0.4.10 added OAuth for MCP servers, 0.4.14 shipped stable MTP speculative decoding (faster generation on models with multi-token-prediction heads), 0.4.15 added tensor parallelism for splitting a model across multiple GPUs, and 0.4.16 (June 8) raised the default context window to 8k tokens and introduced “Locally,” a companion iPhone/iPad app that reaches your desktop models over LM Link. Since then, 0.4.22 (August 28) added DFlash, DSpark and MTP draft models for speculative decoding and in-app updates for Linux AppImage and .deb installs; 0.4.25 (September 19) added the Splash engine, an inference engine from Inco AI tuned for Qwen 3.6 35B-A3B and Qwen 3.8 27B, on M3-or-newer Macs running macOS 26.4 or later (LM Studio’s Splash guide also asks for at least 36 GB of unified memory); and 0.4.26 (October 13) added an OpenAI-style /v1/decisions endpoint and lets LM Studio run alongside Bionic. The LM Studio changelog lists every build.
Installing LM Studio on Windows, macOS, and Linux
Installation is a normal app install — download the build for your OS from lmstudio.ai and run it. The catch is the platform requirements, which matter more than for typical software because LLMs lean hard on your CPU instruction set and memory.
| Platform | Requirement | Notes |
|---|---|---|
| Windows | x64 or ARM, AVX2 CPU | Snapdragon X Elite (ARM) supported; standard .exe installer |
| macOS | Apple Silicon (M1–M4), macOS 14.0+ | Intel Macs are unsupported; unlocks the MLX engine |
| Linux | x64 or ARM64, Ubuntu 20.04+ | AppImage or .deb package; versions newer than Ubuntu 22 are less tested |
The AVX2 instruction set is mandatory on x64 systems. In practice that covers Intel Core chips from 4th generation (Haswell, 2013) onward and every AMD Ryzen, so any reasonably modern PC qualifies. The big gotcha is macOS: Intel Macs are not supported at all in current builds — you need an M-series chip. On Linux, the AppImage means there’s nothing to install system-wide; you make it executable and run it. LM Studio also ships a .deb package, and its release notes cover in-app updates for both AppImage and .deb installs.
After first launch, LM Studio walks you through the Discover tab and, on a fresh install, may suggest a starter model. Don’t accept blindly — pick a model that matches your hardware, which is the next step.
Downloading and choosing a model
Open the Discover tab. The built-in downloader pulls models from Hugging Face, and you can search by keyword (“qwen”, “gemma”), by a specific user/model identifier, or by pasting a full Hugging Face URL. Each model lists several quantization variants — labels like Q4_K_M, Q5_K_M, or Q8_0. Quantization compresses the weights to shrink the file and the memory footprint, trading a little quality for a lot of size.
For most people, Q4_K_M is the sweet spot. It cuts a 7B model from about 15GB at full (FP16) precision to about 4.7GB — around 70% smaller, going by the DeepSeek-R1 7B GGUF builds in Ollama’s library — while keeping the vast majority of output quality; on standard perplexity benchmarks the gap from full precision is small enough that it rarely shows in everyday chat. The “K_M” means medium K-quant: it spends more bits on the most sensitive tensors (such as attention output projections, kept at a higher precision) and fewer elsewhere. Go higher only if you have the headroom, lower only if you must.
Matching quantization to your VRAM
| Available VRAM | Recommended quant | Rule of thumb |
|---|---|---|
| Under 8GB | Q2_K / Q3_K_M | Stick to 7B–8B models |
| 8–12GB | Q4_K_M (recommended) | 7B comfortably; 13B fits a 12GB card |
| 12–16GB | Q5_K_M / Q6_K | Higher quality on mid models |
| 16–24GB | Q8_0 | Near-lossless on 7B–13B |
| 24GB+ | F16 (full precision) | Or larger models at Q4/Q5 |
Rough storage and memory sizes by model size at Q4: a 7B is about 4–5GB, a 13B is 8–9GB, a 30B is 18–20GB, and a 70B exceeds 40GB. A 13B at Q4_K_M occupies roughly 8–9GB of weights, so a 12GB GPU can host it (weights plus a modest KV cache) on the GPU; otherwise LM Studio offloads what fits and runs the rest on CPU, which is slower. Remember that the KV cache and context length add to these figures, so leave a couple of gigabytes of headroom. If you’re still picking your first model, our roundup of the best local LLMs to run on Ollama in 2026 maps almost one-to-one to LM Studio, since both use the same GGUF files.
On Apple Silicon, prefer MLX builds where available. On supported models, MLX-format builds are often faster than the equivalent GGUF on the same M-series chip, though the gap varies by model and can be near zero (and for some models GGUF edges ahead). Quality is broadly comparable, but it isn’t always identical: GGUF’s mixed-precision Q4_K_M assigns more bits to sensitive layers, whereas MLX 4-bit is more uniform, so it’s worth comparing both for a model you’ll use heavily. LM Studio lets you switch format per model from the UI, so you can grab the MLX variant when one exists and fall back to GGUF when it doesn’t.
The built-in local server (OpenAI-compatible API)
This is the feature that turns LM Studio from a chat toy into a developer tool. Load a model, open the Developer/Server tab, and toggle the server on. LM Studio then serves an OpenAI-compatible REST API at http://localhost:1234/v1, exposing endpoints for chat completions, completions, embeddings, responses and decisions, plus an Anthropic-compatible /v1/messages endpoint. Any client that speaks the OpenAI Chat Completions schema — the Python openai SDK, the Node openai package, LangChain’s OpenAI wrapper, or a raw curl — connects by simply pointing its base_url / baseURL at that address.
There’s no real API key requirement and no network egress: requests stay on your machine, there are no rate limits, and there’s no per-token cost. In code, you typically pass a placeholder key like "lm-studio" and set the base URL, and existing OpenAI calls work unchanged. That makes LM Studio a clean drop-in for development, testing, and privacy-sensitive workloads where you can’t send data to a cloud API.
Where the server shines
- One toggle — no YAML, no separate daemon to configure
- Drop-in OpenAI compatibility; swap the base URL and ship
- Fully local: zero cost, no rate limits, no data leaving the box
- Great for prototyping agents and RAG against a free local model
Where it falls short
- Built around the desktop app; headless server use goes through the separate llmster daemon (see below)
- Higher idle memory overhead than a CLI runtime
- Single-box scope; no built-in clustering or load balancing
- For always-on production serving, a dedicated runtime fits better
If you outgrow a single desktop and need headless, always-on serving, that’s exactly the line where Ollama or a heavier engine takes over — see our Ollama vs LM Studio vs vLLM vs llama.cpp comparison for the full breakdown.
Calling the server from code, the lms CLI and headless mode
Once the server is on, a quick way to confirm it is listening is curl http://localhost:1234/v1/models, which lists the available models. LM Studio’s OpenAI compatibility docs list endpoints including /v1/models, /v1/chat/completions, /v1/completions, /v1/embeddings, /v1/responses and /v1/decisions, and their examples assume port 1234. In Python, the official openai package only needs a different base URL:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio")
reply = client.chat.completions.create(
model="your-loaded-model",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
The placeholder key is there because the SDK expects one; it only matters if you turn on authentication (see below). The same endpoint also does structured output: pass a JSON schema to /v1/chat/completions and the reply follows it, although LM Studio’s structured output docs warn that not every model can, particularly models below 7B parameters. Tool use (function calling) has its own section in the developer docs, and how well it works depends on the model you load. For Anthropic-style clients, LM Studio has offered a /v1/messages endpoint since version 0.4.1; its Claude Code guide uses it to point Claude Code at a local model.
The lms command-line tool
LM Studio ships with a CLI called lms. Run the app at least once, then check it with lms --help. The CLI docs cover commands such as:
lms getto download a model andlms lsto list the models you havelms loadandlms unloadto load or unload a model, andlms psto see what is loadedlms server start,lms server statusandlms server stopto control the API serverlms log streamto watch requests as they arrive
Sharing the server on your network
The server settings include Serve on Local Network, which lets other devices on the same network reach the API, and Require Authentication, which makes clients send a valid API token in the Authorization header. Turn authentication on before you share the server, and do not expose it directly to the internet; if people need remote access, use a VPN or a reverse proxy you control. For many people sending requests at once, a serving engine built for concurrency, such as vLLM, is the better fit.
Headless mode: llmster
You no longer need the desktop window to run LM Studio on a server. The headless docs describe llmster as the core of the desktop app packaged to run without the GUI, on Linux machines, cloud servers and GPU rigs. It installs with curl -fsSL https://lmstudio.ai/install.sh | bash on Linux and macOS, or irm https://lmstudio.ai/install.ps1 | iex in Windows PowerShell, and starts with lms daemon up. On a machine that does have a desktop, the app itself can start the LLM server when you log in (an option in its settings) and keep it running from the system tray after you close the window.
Hardware and VRAM: what you actually need
The honest baseline is an AVX2 CPU and 16GB of system RAM (8GB will run small models, but you’ll feel the ceiling fast — short context, small models, and noticeable slowdowns). RAM matters even on GPU setups because any layers that don’t fit in VRAM spill to system memory.
For GPU acceleration, at least 4GB of dedicated VRAM is the recommended floor, and more is strictly better. A practical target for a smooth 7B–13B experience is an 8–12GB card. Larger models scale up fast: a 70B at Q4 needs roughly 40GB+ across VRAM and RAM, which is why running one comfortably typically means 48–64GB of system memory if you can’t fit it entirely on the GPU. On Apple Silicon, the unified memory architecture pools RAM and VRAM, so a 32GB or 64GB Mac punches above its weight for mid-sized models. If you’re shopping for a card specifically for this, our guide to the best GPUs for local LLMs in 2026 breaks down the price-per-gigabyte math.
LM Studio vs Ollama: which one is for you
These two get compared constantly, and the short answer is that they’re built for different people. Ollama is a developer-first CLI and HTTP service you run headless; LM Studio is a polished GUI you click. Both run GGUF models on llama.cpp-based engines and both now have MLX engines too, so the models they support overlap heavily. The differences are mostly about ergonomics and deployment.
| Dimension | LM Studio | Ollama |
|---|---|---|
| Primary interface | Desktop GUI | CLI + HTTP API |
| Idle footprint | Heavier (full GUI) | Lighter (background service) |
| Model format | GGUF + MLX | GGUF, plus MLX builds (since v0.19) |
| OpenAI-compatible server | Yes, port 1234 | Yes, port 11434 |
| Headless / server use | Possible with the llmster daemon | Designed for it |
| Best for | Exploring and chatting | Automation and deployment |
Pick LM Studio if you mostly want to chat with models on a laptop, browse and try many models with no friction, and avoid the terminal entirely — it gives Windows users especially a smooth, installer-driven experience. Pick Ollama if you’re wiring models into a codebase, deploying to a VPS, or scripting a pipeline. Many people run both: LM Studio to find and evaluate a model, Ollama to serve it in production. If you’re weighing GUI alternatives specifically, our Ollama vs Jan comparison covers another open-source contender in the same space.
Verify these figures at the source
Specifications and prices change without notice. These are the vendors’ own pages for what is covered above, checked in November 2026:
- LM Studio documentation
- LM Studio: system requirements
- LM Studio: download page (current version)
- LM Studio: changelog
- LM Studio: OpenAI compatibility endpoints
- LM Studio: headless mode (llmster)
- LM Studio: free for use at work (July 8, 2025)
- LM Studio: introducing Bionic (July 16, 2026)
- LM Studio: Bionic pricing
- LM Studio: Splash engine guide
FAQ
Is LM Studio free for commercial use?
Yes. Since July 8, 2025, LM Studio is free for both personal and commercial/workplace use, and you no longer need to request a separate license or fill out any form. There is an Enterprise plan for organizations wanting advanced administration features (such as SSO and model/MCP gating), and the separate Bionic agent app has paid plans for its cloud models (Bionic+ at $20 a month, Pro at $100 a month), but the standard LM Studio app is free.
Does LM Studio work on Intel Macs?
No. Current LM Studio builds require Apple Silicon and macOS 14.0 or newer; the requirements page lists M1 through M4, and LM Studio’s 0.4.27 release notes also mention Metal runtimes for M5 Macs. Intel-based Macs are unsupported. On Apple Silicon you also get the faster MLX engine in addition to GGUF.
What model format does LM Studio use?
LM Studio runs GGUF models through its bundled llama.cpp engine on virtually all hardware, and MLX-format models through Apple’s MLX engine on M-series Macs. GGUF is the single-file standard shared by LM Studio, Ollama, Jan, and GPT4All, so models are largely interchangeable across these tools.
What is the difference between Q4_K_M and Q8_0?
Both are quantization levels. Q4_K_M is 4-bit and roughly a third the size of full precision while keeping the large majority of quality — the recommended default for most hardware. Q8_0 is 8-bit, larger and effectively near-lossless, worth using only if you have 16–24GB of VRAM to spare.
How do I connect my code to LM Studio’s local server?
Enable the server in the Developer/Server tab with a model loaded, then point any OpenAI SDK’s base URL at http://localhost:1234/v1. No real API key is needed (pass any placeholder string), and existing OpenAI Chat Completions code works without other changes.
How much VRAM do I need to run a 7B model?
A 7B model at Q4_K_M is about 4–5GB on disk, and with the KV cache and overhead a card with 6–8GB of VRAM runs it comfortably and fully on the GPU. With less VRAM, LM Studio offloads the overflow to system RAM and CPU, which still works but runs slower.
Can I run LM Studio as a server on a VPS?
Yes. LM Studio’s headless daemon, llmster, packages the core of the desktop app to run without a GUI on Linux machines and cloud servers; install it with the script in the headless docs and start it with lms daemon up. Turn on Require Authentication before you expose the API beyond localhost. For heavy multi-user traffic, a serving engine built for concurrency, such as vLLM, is still the better fit.
Does LM Studio work offline, and does it send my chats anywhere?
Once a model is downloaded, it works offline. LM Studio’s offline docs say that nothing you type when chatting with a model leaves your device, and that documents you chat with are processed locally. Searching the Discover tab, downloading models or runtimes, and in-app updates need an internet connection.
Why is LM Studio slow on my machine?
The usual cause is a model that does not fit in VRAM, so part of it runs from system RAM on the CPU. Try a smaller quantization or a smaller model, and check the fit with the VRAM calculator before downloading. Other common causes are a GPU runtime that is not being used (check the runtime and hardware settings and your GPU driver), a very long context length, and laptops throttling on battery or in a low-power mode.
Does LM Studio support structured output and tool calling?
Yes, through the local API. Structured output works by passing a JSON schema to the chat completions endpoint, and the developer docs have a separate section on tool use. Both depend on the model: LM Studio’s docs note that not every model can produce structured output, particularly models below 7B parameters.
Bottom line
LM Studio is the easiest on-ramp to local LLMs in 2026, and it’s now genuinely free for any use. If you want to download a model, chat with it, and occasionally point your own code at a private OpenAI-compatible endpoint — all without touching a terminal — nothing else is this approachable. The 0.4.x line has also closed real gaps with features like tensor-parallel multi-GPU and speculative decoding, so it’s no longer just a beginner toy.
Where it stops short is heavy deployment. The llmster daemon now covers headless use, but LM Studio is still built around a single machine, so for always-on, many-user production serving a dedicated runtime such as Ollama or vLLM is the usual choice. The pragmatic move is to treat LM Studio as your exploration and chat workbench, lean on it to find the right model and quantization for your hardware, and reach for a dedicated runtime when you need to serve that model around the clock. For most individuals running models on a laptop or desktop, though, this is the first app to install.
