LM Studio
Polished desktop GUI for local LLMs. Built-in HuggingFace search, OpenAI-compatible local server, side-by-side conversations.
Overview
What LM Studio actually is
LM Studio is the desktop GUI for local LLM inference. A single-installer Electron app for macOS, Windows, and Linux that bundles a model browser, a chat UI, an inference engine selector, and an OpenAI-compatible HTTP server, all wired together so a non-CLI operator can be running a 7B model 5 minutes after download. Under the hood it speaks two engines: a llama.cpp build for GGUF and an MLX path on Apple Silicon that delegates to MLX-LM internals. So it is not a new inference engine in 2026 — it is the best-tuned packaging of two existing ones for desktop operators.
If Ollama is the daemon-first developer experience and llama.cpp is the engine-first researcher experience, LM Studio is the GUI-first prosumer experience. That positioning has earned it the dominant spot among non-developers running local LLMs on a Mac or a Windows workstation.
Where it fits in the stack
LM Studio lives at the runtime + frontend layer for desktop operators. The typical configuration:
- Frontend: the bundled chat UI, or any OpenAI-compatible client pointed at
http://localhost:1234/v1 - Server: LM Studio's local server toggle exposes the OAI-compatible API
- Engine: llama.cpp (GGUF) on every platform, plus MLX on Apple Silicon
- Hardware: anything llama.cpp / MLX support — CUDA / Metal / ROCm / Vulkan / CPU
It is not the right layer for a multi-tenant production server (use vLLM or SGLang), and it is not the layer to reach for when you want maximum kernel-level configurability (use llama.cpp directly). It is the layer for "I have a workstation, I want a chat UI plus an OAI endpoint, and I do not want to touch a terminal."
Best use cases
- Solo prosumer chat on a laptop or workstation. A MacBook Pro M4 Max with LM Studio + an MLX-4bit checkpoint of a 32B-class model is the cleanest "chat with a local model" setup in 2026.
- Coding agent backend without a daemon. Toggle the local server, point Continue.dev or Aider at
http://localhost:1234/v1. See /stacks/local-coding-agent. - Air-gapped private chat. LM Studio runs entirely offline once models are downloaded; the Hugging Face browser is the only network-touching component.
- A/B comparing models on the same hardware. LM Studio's model browser plus its run-history UI is the friendliest "load 5 models, click between them" workflow on the desktop.
OS support
| OS | Quality | Notes |
|---|---|---|
| macOS (Apple Silicon) | excellent | MLX backend tuned per chip generation |
| macOS (Intel) | good | CPU + (limited) Metal |
| Windows 11 native | excellent | CUDA + Vulkan; the Windows-default desktop path |
| Linux (x86_64) | good | flatpak / AppImage; the least-polished of the three |
| Windows (WSL2) | not the target | use the native Windows build instead |
If you are on Windows-AMD and the GPU isn't picked up, see /errors/rocm-device-not-found. If you are on Apple Silicon and Metal hits unified-memory pressure, see /errors/metal-out-of-memory.
Hardware / backend support
LM Studio inherits the union of llama.cpp's and MLX's hardware support, with the GUI exposing only the subset that is well-tested:
- NVIDIA CUDA — full support; CUDA 12.x runtime bundled
- Apple Metal / MLX — full support; the recommended path on Apple Silicon
- AMD ROCm (Linux) — supported via the llama.cpp HIPBLAS path; gfx1100 (RX 7900 XTX) is the realistic floor
- Vulkan — cross-vendor fallback for Windows / Intel Arc; slower than vendor-native paths
- DirectML (Windows) — supported through the ONNX Runtime path on a separate engine option
- CPU-only — usable for 7B-class quants on a modern desktop CPU
Model / quant format support
The supported format set covers the desktop-default workflow:
- GGUF — every quant llama.cpp supports (Q2_K through F16, the IQ-series codebook quants, the K-quants)
- MLX-4bit / MLX-8bit — the Apple-native fast path
- No native AWQ / GPTQ / EXL2 / FP8 — these remain CUDA-server territory
For the format-by-format ladder see /systems/quantization-formats.
Setup path
The 60-second install:
# Download the installer from lmstudio.ai for your OS, run it.
# In the app:
# 1. Browse models -> search "llama 3.1 8b"
# 2. Pick a Q4_K_M GGUF (Apple Silicon: pick an mlx-4bit instead)
# 3. Load. Chat.
To expose it as an OAI-compatible endpoint, flip the Local Server toggle in the sidebar. The default port is 1234. Pair with Open WebUI or any OAI-compatible client.
What breaks first
In order of how often you'll hit them:
- VRAM headroom on long context. GGUF + 32B + 32K context on a RTX 4090 needs explicit GPU-layer tuning; the GUI's auto-config is usually conservative enough but not always.
- MLX vs llama.cpp engine selection on Mac. The GUI defaults differ across model families; if a model is slower than expected, switch the engine in the load options.
- Hugging Face quota / rate limits. The bundled model browser respects HF rate limits; signed-in users with an HF token loaded into LM Studio settings download faster.
- Updates that bump the bundled llama.cpp. Performance regressions occasionally land; pin the desktop app version when you have a known-good config.
- Sandboxed install paths on Windows. Storing models in OneDrive-synced folders causes file-locking errors mid-load; set the model directory to a non-sync'd local path.
Alternatives by intent
| If you want… | Reach for |
|---|---|
| Same UX, daemon-first | Ollama |
| Same engine, raw configurability | llama.cpp directly |
| Apple-native Python control surface | MLX-LM |
| Multi-tenant production serving | vLLM or SGLang |
| Best single-stream tok/s on 24 GB CUDA | ExLlamaV2 via TabbyAPI |
Best pairings
- Apple M4 Max + LM Studio MLX backend + 32B MLX-4bit — the canonical Apple-prosumer stack
- RTX 5090 + LM Studio CUDA + 70B GGUF Q4_K_M — the Windows-prosumer stack now that 32 GB consumer VRAM exists
- Open WebUI pointed at LM Studio's :1234 — the homelab prosumer chat front-end split
- Continue.dev routed at the same endpoint — the no-daemon coding-agent setup
Who should avoid LM Studio
- Production multi-tenant serving with concurrent users. LM Studio is single-user-shaped; the OAI server is fine for personal use but not for fleets.
- Operators who want to script a fleet of inference workers. Use Ollama (CLI + daemon) or a server-class engine.
- Researchers who need to swap individual kernels or instrumentation. Drop down to llama.cpp.
- Linux-headless homelabs. LM Studio is GUI-first; on a headless box Ollama is a better fit.
- Anyone whose stack depends on AWQ / GPTQ / EXL2. Wrong runtime; pick the CUDA-server path.
Related
- Stacks: /stacks/local-coding-agent, /stacks/offline-rag-workstation
- System guides: /systems/quantization-formats, /setup
- Hardware: Apple M4 Max, RTX 5090, RTX 4090
- Errors: /errors/metal-out-of-memory, /errors/rocm-device-not-found
Setup guidance
Download the installer from lmstudio.ai for macOS (Apple Silicon + Intel), Windows, or Linux (AppImage). Install and launch the GUI. The home screen shows a model catalog — search and download models with one click (they're GGUF files sourced from HuggingFace). After downloading a model, select it in the chat tab and start typing. The local server tab exposes an OpenAI-compatible API at http://localhost:1234/v1/chat/completions — toggle it on with the "Start Server" button. Verify: curl http://localhost:1234/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}'. LM Studio auto-detects GPU and offloads layers automatically. GPU offload slider (right sidebar) controls how many model layers run on GPU — max for pure GPU, lower for CPU+GPU split when VRAM is tight. Time-to-first-response from zero: ~5 minutes including download of a 3B Q4_0 model. No CLI setup or Python environment needed.
Workload fit
Best for: non-developer users entering local AI who benefit from a visual interface, quick model evaluation and comparison with side-by-side chat tabs, Windows users who want a native installer without WSL2, local RAG prototyping with the built-in document loader, GPU tuning experimentation via visual sliders, teaching and workshop environments where GUI accessibility matters. Not suited for: production serving (use vLLM), headless server deployments without a display (use Ollama or llama.cpp), CI/CD pipelines requiring programmatic model management, fine-tuning workflows, maximum- throughput batch inference.
Alternatives
Use LM Studio for the best GUI experience in local LLM inference — model discovery with one-click download, visual chat interface, GPU tuning sliders, and server toggle. Switch to Ollama when you want a CLI-first, headless server experience with programmatic model management (ollama pull, ollama create) and systemd integration. Use llama.cpp when you need the raw inference engine with maximum configuration knobs — LM Studio builds on llama.cpp but hides most flags behind the UI. LM Studio is the best onboarding tool for non-developers entering local AI; Ollama is better for developers who live in the terminal. For production API serving, neither is appropriate — use vLLM. On Apple Silicon, MLX-LM benchmarks faster throughput but has no GUI and a narrower model ecosystem.
Troubleshooting + when to switch
Problem: Downloaded model doesn't appear in the model list. Fix: LM Studio indexes GGUF files from its default models directory. If you manually moved a GGUF file, use File → Import Model and navigate to the file. LM Studio only recognizes .gguf extension files. Problem: GPU offload causes crashes or corrupted output on Windows. Fix: Some Windows GPU drivers and CUDA versions cause memory corruption at high GPU offload. Reduce the GPU offload slider by 5–10 layers until stable. Update to the latest NVIDIA Game Ready or Studio driver. For AMD GPUs on Windows, LM Studio uses Vulkan via llama.cpp — ensure your AMD driver is the latest Adrenalin release. Problem: Local server returns model "auto" not found error. Fix: "auto" routes to the currently loaded model in the chat tab. Make sure a model is actively loaded in the chat UI before sending API requests.
Stack & relationships
How LM Studio relates to other entries in the catalog — recommended pairings, alternatives, dependencies, and edges to avoid. Each edge carries a one-line operator note from our editorial team.
Works with
- Works withAnythingLLM
OpenAI-compatible local server. Same setup pattern as Ollama; works without modification.
- Works withOpen WebUI
LM Studio's OAI-compatible server is a drop-in replacement for the Ollama backend in Open WebUI. Same wiring; different runtime.
Alternatives
- Alternative toOllama
Both are llama.cpp-based local model runners. LM Studio wins on GUI ergonomics; Ollama wins on CLI scriptability + curated model library. Pick by interface preference.
Featured in this workflow
Full-system workflows that include this tool as part of their service ledger — with the one-line operator note for each.
- Workflow · System·homelab·Role: Inference + chat frontendPrivate job-search assistant
One-click model loader with a polished chat UI on Windows / macOS / Linux. Hosts an OpenAI-compatible server on localhost so AnythingLLM can use the same model.
Pros
- Cleanest GUI in the space
- Built-in model browser
- Hardware compatibility checker
Cons
- Closed-source
- Heavier than Ollama for headless use
Compatibility
| Operating systems | macOS Linux Windows |
| GPU backends | NVIDIA CUDA AMD ROCm Apple Metal CPU |
| License | Closed source · free |
Runtime health
Operator-grade signals on how actively LM Studio is being maintained, how fresh its measurements are, and what failure classes operators have flagged. Every label below is anchored to a real date or count — we never infer maintainer activity we can't show.
Release cadence
Derived from the most recent editorial signal on this row.
28 days since last refresh · source: lastUpdated
Benchmark freshness
How recent the editorial measurements on this runtime are.
No editorial benchmarks for this runtime yet.
Community reproduction
Submissions that match an editorial measurement on similar hardware.
No community reproductions on file yet.
Ecosystem stability
Editorial rating from RunLocalAI — qualitative, not measured.
Get LM Studio
Frequently asked
Is LM Studio free?
What operating systems does LM Studio support?
Which GPUs work with LM Studio?
Reviewed by RunLocalAI Editorial. See our editorial policy for how we evaluate tools.
Related — keep moving
Verify LM Studio runs on your specific hardware before committing money.