Documentation

Running LLMs Locally

User Interface

Advanced

Command Line Interface - lms

API

About LM Studio

LM Studio is a desktop app for developing and experimenting with LLMs locally on your computer.

Key functionality

  • A desktop application for running local LLMs
  • A familiar chat interface
  • Search & download functionality (via Hugging Face ๐Ÿค—)
  • A local server that can listen on OpenAI-like endpoints
  • Systems for managing local models and configurations

How do I install LM Studio?

Head over to the Downloads page and download an installer for your operating system.

LM Studio is available for macOS, Windows, and Linux.


System requirements

LM Studio generally supports Apple Silicon Macs, x64/ARM64 Windows PCs, and x64 Linux PCs.

Consult the System Requirements page for more detailed information.


Run llama.cpp (GGUF) or MLX models

LM Studio supports running LLMs on Mac, Windows, and Linux using llama.cpp.

On Apple Silicon Macs, LM Studio also supports running LLMs using Apple's MLX.

To install or manage LM Runtimes, press โŒ˜ Shift R on Mac or Ctrl Shift R on Windows/Linux.


Run an LLM like Llama, Phi, or DeepSeek R1 on your computer

To run an LLM on your computer you first need to download the model weights.

You can do this right within LM Studio! See Download an LLM for guidance.


Chat with documents entirely offline on your computer

You can attach documents to your chat messages and interact with them entirely offline, also known as "RAG".

Read more about how to use this feature in the Chat with Documents guide.

Use LM Studio's API from your own apps and scripts

LM Studio provides a REST API that you can use to interact with your local models from your own apps and scripts.


Community

Join the LM Studio community on Discord to ask questions, share knowledge, and get help from other users and the LM Studio team.