About LM Studio
LM Studio is a desktop application for discovering, downloading, and running large language models directly on personal hardware, without sending data to the cloud. It provides a graphical interface for browsing and managing models such as Llama, Qwen, Gemma, and DeepSeek-R1, alongside a headless server mode for running models on machines without a display, making it usable both as an everyday chat client and as local infrastructure for other applications.
Beyond the GUI, LM Studio exposes an OpenAI-compatible local API, so existing tools and code written against OpenAI’s API can point at a local LM Studio server instead of a cloud endpoint. Developers can go further with the official JavaScript and Python SDKs and the lms command-line tool, which is MIT-licensed and open source, to script model management, automate local inference, and integrate LM Studio into CI/CD pipelines or custom applications. The platform also supports Apple’s MLX framework for optimized performance on Apple Silicon and includes MCP client functionality for connecting local models to external tools.
LM Studio is free for personal and work use, targeting individual developers who want private, offline access to LLMs, teams building applications that require on-premises inference for privacy or cost reasons, and organizations that need to keep sensitive data off third-party AI infrastructure entirely.
What LM Studio offers
- Local model executiondownload and run open-weight models like Llama, Qwen, Gemma, and DeepSeek-R1 entirely on local hardware with no data leaving the machine
- Desktop GUI applicationbrowse, download, and chat with models through a polished interface available on Windows, Mac, and Linux
- Headless server moderun LM Studio without a GUI for deployment on servers or in cloud environments where only API access is needed
- OpenAI-compatible APIpoint existing OpenAI-client code at a local LM Studio endpoint with minimal or no code changes
- Open-source CLI (`lms`)manage models and automate workflows from the command line using an MIT-licensed, publicly available tool
- JavaScript and Python SDKsintegrate local model inference directly into applications with official developer libraries
- Apple MLX supportrun models with optimized performance on Apple Silicon using Apple's MLX framework
- MCP client functionalityconnect locally running models to external tools and data sources via the Model Context Protocol
Common use cases
- Private local chat and experimentationindividual developers and researchers run models fully offline to test prompts and workflows without sending data to a third party
- On-premises inference for sensitive datateams in regulated or privacy-conscious environments use LM Studio's local server mode to keep confidential data off cloud AI infrastructure
- Prototyping against a local APIdevelopers point OpenAI-compatible code at a local LM Studio endpoint to prototype and test applications without incurring cloud API costs
- CI/CD and scripted automationengineering teams use the open-source `lms` CLI and SDKs to script model downloads and inference as part of automated pipelines
- Apple Silicon optimized inferenceMac users run MLX-optimized models locally to get faster performance than generic CPU-based inference