LM Studio
A free desktop app for downloading and running open-weight LLMs locally on llama.cpp or MLX, with an OpenAI-compatible server, SDKs and a headless daemon.
LM Studio is a desktop app for running open-weight LLMs on your own machine: search and download models, chat, connect MCP servers, then serve the loaded model on an OpenAI-compatible endpoint at localhost:1234. It runs GGUF models through llama.cpp and MLX models on Apple Silicon, and is free at home and at work. Bionic is its newer, separate agent app.
LM Studio is a desktop application for running open-weight LLMs locally through a graphical interface. Where a CLI tool expects you to know the model name and flags, LM Studio lets you search for models, download them, chat, and adjust load and sampling settings in a UI. When you want to build, it serves the loaded model over an OpenAI-compatible API on your machine. The app itself is closed-source and free; its CLI and SDKs are MIT-licensed on GitHub.
It runs GGUF models through llama.cpp on macOS, Windows and Linux, and MLX models on Apple Silicon. The docs list support for Apple Silicon Macs, x64 and ARM64 Windows PCs, and x64 Linux PCs.
Highlights
- Model search and download. Find models from Hugging Face inside the app, with format and hardware-fit filters, and manage them in a local library.
- Chat with documents, offline. Attach files to a chat and query them locally.
- MCP servers. Install MCP servers and use their tools with local models.
- Local API server. OpenAI-compatible endpoints at
http://localhost:1234/v1, an Anthropic-compatible endpoint, and LM Studio's own REST API at/api/v1with stateful chats and MCP. The server can listen on localhost or on your network. - SDKs and CLI.
lmstudio-jsandlmstudio-pythonfor loading models, generating text and embedding from code, and thelmsCLI for scripting. - llmster. The same engine as a headless daemon, with no GUI, for servers and CI.
- LM Link. An end-to-end encrypted network between your own devices, built with Tailscale, so a laptop can use models loaded on a desktop GPU elsewhere.
In an AI-assisted workflow
Download a model in the app, start the server, and change one line in existing OpenAI code:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio") # placeholder; the OpenAI client just needs a non-empty string
response = client.chat.completions.create(
model="openai/gpt-oss-20b", # use the id of a model you have downloaded
messages=[{"role": "user", "content": "Who are you, and what can you do?"}],
)
print(response.choices[0].message.content)On a machine without a display, the daemon does the same job:
curl -fsSL https://lmstudio.ai/install.sh | bash
lms daemon up # start the daemon
lms get <model> # download a model
lms server start # start the local server on port 1234Because the endpoint speaks the OpenAI format, coding agents and frameworks that accept a custom base URL can use a local model with no code changes. Self-host vs API covers when that is worth doing.
TIP
LM Studio and Ollama solve the same problem from opposite ends. Choose LM Studio to explore models and tune settings visually, Ollama when the model runner is a background service you script. Ollama vs LM Studio has the detailed comparison.
Pricing
Running local models in LM Studio costs nothing. As of November 2026, lmstudio.ai/pricing lists three plans built around Bionic: Free at $0, which includes local LLMs on llama.cpp and MLX, the Bionic agent, offline voice transcription, limited web search and LM Link for up to 5 devices; Bionic+ at $20 a month, which adds US-hosted open-source models and LM Link for up to 20 devices; and Pro at $100 a month, with 5 times the usage limits and LM Link for up to 100 devices. The paid plans buy hosted inference, so you only need one if you want models your hardware cannot run.
Good to know
The latest LM Studio release as of November 2026 is 0.4.29, dated November 25, 2026. Bionic ships on its own version line.
Trade-offs and limits:
- Closed source. You can audit the SDKs and CLI but not the app. If that matters, Jan is the open-source desktop equivalent.
- Not a production serving stack. It is built for one machine and a handful of clients. For high-concurrency serving on GPUs, use vLLM.
- Cloud features are separate from the local promise. Local chats and the local server keep data on your machine. Bionic's hosted models send prompts to LM Studio's cloud, which the company says runs with zero data retention.
- Network exposure is opt-in. Serving on the network or over LM Link makes your models reachable from other devices, so treat the server like any other service you expose.
Against the alternatives: Ollama is CLI-first and the usual pick for automation, Jan is the open-source GUI, and llama.cpp is the engine underneath if you want no wrapper at all. For a multi-user browser workspace in front of the same local models, see Open WebUI.
Frequently asked questions
- Is LM Studio free?
- Yes, for local use. LM Studio has been free at work as well as at home since July 8, 2025, when the company dropped the separate commercial licence requirement. As of November 2026 the pricing page lists a Free plan at $0 for running local models, with paid Bionic+ and Pro plans that add cloud-hosted open models and higher limits. Teams can create an organization for centralized billing.
- What is LM Studio Bionic?
- Bionic is LM Studio's agent for coding, research and document work with open models. The docs describe it as a new, separate app from LM Studio: a Bionic session can use a local model, a remote model on another of your devices through LM Link, or an open model hosted in LM Studio's cloud with zero data retention. LM Studio itself remains the tool for low-level model configuration.
- How do I use LM Studio with my app?
- Load a model, start the server from the Developer tab or with lms server start, and point any OpenAI client at http://localhost:1234/v1. The server implements /v1/models, /v1/responses, /v1/chat/completions, /v1/embeddings and /v1/completions. For more control there are official SDKs: npm install @lmstudio/sdk for TypeScript and pip install lmstudio for Python.
- Can LM Studio run without the desktop app?
- Yes. llmster is LM Studio's core packaged as a headless daemon for servers, cloud instances and CI. Install it with curl -fsSL https://lmstudio.ai/install.sh | bash on Mac or Linux, or irm https://lmstudio.ai/install.ps1 | iex on Windows, then run lms daemon up, lms get <model> and lms server start.
Filed under
local-llm · desktop · gui · inference
Related
- GuideSelf-Host vs API: When Does Running Your Own LLM Actually Pay Off?The real economics of self-hosting an LLM vs. calling a hosted API — GPU utilization, privacy, latency, and the hidden ops costs that decide the crossover.
- ToolOllamaAn open-source tool that runs open-weight LLMs locally with one command and serves them through OpenAI- and Anthropic-compatible APIs, plus paid cloud models.
- ToolvLLMA high-throughput, memory-efficient inference and serving engine for LLMs, with PagedAttention, continuous batching, and an OpenAI-compatible API server.
- AgentLLM Inference EngineerUse this agent to serve and optimize self-hosted LLM inference — sizing GPUs, configuring a serving engine like vLLM (continuous batching, PagedAttention, tensor parallelism), applying quantization, and tuning throughput and tail latency against a cost and p95 budget. Examples — "serve Llama-3-70B at p95 under 2s on our GPUs", "our self-hosted model is slow and the GPUs sit half-idle — raise throughput", "quantize this model to fit one GPU without wrecking quality".
- ToolJanAn open-source desktop app that runs LLMs offline on llama.cpp or MLX, with a model hub, MCP tools, cloud providers by key and a local OpenAI-compatible API.
- TermGGUFGGUF is the single-file binary model format used by llama.cpp and other GGML-based runtimes, storing quantized tensors plus typed metadata in one file.
- GuideBest Open-Source LLMs in 2026: The Open-Weight Families ComparedThe open-weight LLM families current in November 2026, from DeepSeek, Mistral Large 4, and Qwen to Gemma 4 and Muse, with sizes, context, and exact licences.
- GuideBest Tools for Running LLMs Locally in 2026The local LLM stack ranked by job — Ollama, LM Studio, Jan, llama.cpp, vLLM, and LiteLLM — with a verdict each and the line where local inference stops paying.