LM Studio

A desktop app with a friendly interface to find, download and chat with local AI models, no terminal needed.

by Element Labs No ratings yet

What it is

LM Studio is a free desktop application for running language models locally. It has a built-in model browser (connected to Hugging Face), a chat window that looks like ChatGPT, and a one-click local server that other apps can use. It is the best starting point if you prefer not to use the terminal.

Install

  1. Download LM Studio for your system from lmstudio.ai.
  2. Windows: run the installer. macOS: open the .dmg and drag LM Studio to Applications. Linux: download the AppImage, make it executable and run it.
  3. Open the app. It checks your hardware and suggests models that fit.

Use it

  1. Open the Discover tab (magnifying glass) and search for a model, for example gemma, qwen or llama.
  2. Pick a version marked as fitting your machine (LM Studio shows a green or warning badge) and click Download.
  3. Go to the Chat tab, select the model at the top, and start typing.
  4. You can attach documents to a chat and ask questions about them.

Tip

On Macs with Apple Silicon, prefer MLX versions of models when available: they are usually faster.

Use the local server

Open the Developer tab and start the server. It listens on http://localhost:1234 with an OpenAI-compatible API, so apps and scripts written for OpenAI can point to it instead:

Terminal
curl http://localhost:1234/v1/chat/completions -H "Content-Type: application/json" -d '{
  "model": "your-model-name",
  "messages": [{ "role": "user", "content": "Hello!" }]
}'

LM Studio also comes with a command-line tool, lms, to load models and start the server from scripts.

Limitations

  • The app itself is not open source (the models are open).
  • Large models need a lot of memory; stick to the ones LM Studio says will fit.

Guides for LM Studio

Beginner 10 min

Choose the right local model for your computer

Understand parameters, quantization and memory, and find out which local AI models your computer can run comfortably.

Uses: Ollama, LM Studio, llama.cpp

Comments 0

Share tips, prompts that worked for you, or questions.

No comments yet. Be the first to share a tip.