Mindket
Tool guideLM Studio by Element LabsFree

How to use LM Studio: run AI models on your own computer

LM Studio is a free desktop app for running open AI models on your own computer. It has a built-in model search, a chat window you can attach files to, and a local server that speaks the OpenAI API. Install it, search for a model, download an option that fits your memory, load it in the Chat tab and ask a question.

Good for
  • Offline chat with open models
  • Questions about your files
  • A local API for your code
  • Trying many models

At a glance

  • LM Studio runs open AI models on your own computer, with a chat window, a model search and a local server.
  • The app costs nothing, and chats and attached files can stay on your machine once a model is downloaded.
  • Pick a download option that fits your memory, and aim for 4-bit or higher.
  • Existing OpenAI API code can call the local server at port 1234.
  • Turn on authentication before you share the server on a network.
All tools
On this page
  1. YouTube tutorials
  2. What LM Studio is
  3. What LM Studio is good for
  4. When to use LM Studio, and when to pick another tool
  5. How to use LM Studio, step by step
  6. An example to try
  7. Tips for better results
  8. Keep the server and MCP tools safe
  9. Learn more about LM Studio
  10. Frequently asked questions
  11. Sources

What LM Studio is

LM Studio is a desktop app for downloading and running large language models on your own computer. Element Labs makes it, and it launched in May 2023. Chats and attached documents stay on your machine. Only the model search, the downloads and the updates reach out to the internet.

It runs on macOS with an Apple silicon chip, on Windows and on Linux. It runs models in the GGUF format through llama.cpp, and on Apple silicon Macs it can also run MLX models, Apple's own format. The app is free to download and use. Beside the chat window it comes with a local server, a command line called lms, and Python and TypeScript kits for developers.

What LM Studio is good for

  • Chatting with open models, offline: download a model such as Llama, Qwen, Gemma or gpt-oss once, then talk to it with no account and no internet.
  • Answering questions about your own files: attach a .docx, .pdf or .txt file to a chat and the model answers from it, with the file staying on your computer.
  • Serving an API for your own code: switch on the server, and code written for the OpenAI API can talk to a local model at http://localhost:1234/v1.
  • Comparing models quickly: the built-in search pulls from Hugging Face and shows each model in several download sizes, so you can start with a small one.
  • Giving a model tools: add MCP servers, the standard way to connect tools to a model, and the model can call them. Install only servers you trust.
  • Running from a terminal: the lms command loads and unloads models, starts the server and streams the log, which suits scripts and machines with no screen.

When to use LM Studio, and when to pick another tool

LM Studio suits people who want a window for local models. Ollama runs the same kind of models from the command line, and Hugging Face is where the models themselves are published. For the strongest answers, use a cloud assistant such as ChatGPT or Claude.

Your jobUse LM Studio?Or try
Chat privately with a model, with files that stay on your PCYes, this is what it is forOllama
Pick and download models by clicking in a windowYesOllama, if you prefer the command line
Build a script or app against a local OpenAI-style APIYesOllama, which also offers an OpenAI-compatible route
Get the strongest answers to hard questionsNot usually, a model has to fit in your computer's memoryChatGPT, Claude or Gemini
Write code with an agent in your editorNot on its ownCursor, GitHub Copilot or Claude Code
Read a model's page or find a new modelOnly to download itHugging Face

How to use LM Studio, step by step

These steps take you from the installer to a first chat with a file attached. Names and shortcuts are the ones LM Studio's docs give.

  1. Check your computer. LM Studio asks for an Apple silicon Mac on macOS 14 or newer, a Windows PC (x64 with AVX2, or ARM), or Linux with Ubuntu 20.04 or newer. At least 16GB of RAM is recommended.
  2. Install it. Download the installer for your system from LM Studio's Downloads page and run it. On Linux the download is an AppImage, a single file that runs without an installer.
  3. Open the model search. Press Ctrl + 2, or ⌘ + 2 on a Mac. Search by a name such as gemma or qwen, or paste a Hugging Face address.
  4. Choose a download option. Each model comes in several sizes with names like Q4_K_M or Q8_0. Pick one at 4-bit or higher that fits your free memory, and download it.
  5. Load the model. Open the Chat tab, open the model loader at the top, select the model and load it. Downloading and loading are separate steps.
  6. Ask a question. Type in the chat box and press Enter. The model answers on your computer.
  7. Attach a file. Attach a .docx, .pdf or .txt file and ask about what it says.
  8. Start the server, if your code needs it. Open the Developer tab and switch on Start server. Your code can now call http://localhost:1234/v1.
  1. Press Ctrl + 2, or ⌘ + 2 on a Mac, to open the model search. Then type a model name such as qwen3 in the Search models box.

    An illustration of LM Studio's model search with a gold ring around the Search models box holding the word qwen3.
  2. Open a model and pick a download option such as Q4_K_M. Press its Download button once the size fits your free memory.

    An illustration of LM Studio's model page with a gold ring around the Download button on the Q4_K_M row.
  3. Open the Chat tab and click the model loader at the top, where it says Select a model to load. Pick your model and load it.

    An illustration of LM Studio's Chat tab with a gold ring around the model loader bar at the top.
  4. Open the Developer tab and switch on Start server. Your code can then call http://localhost:1234/v1.

    An illustration of LM Studio's Developer tab with a gold ring around the Start server switch.

AI-made illustrations of LM Studio's screens, drawn on 6 November 2026 to match these steps. They are not screenshots, so the real app may look different: follow what you see.

LM Studio changes menus between versions, so a label may differ from these steps. The tutorials at the top of this page show the steps on screen.

An example to try

Attach a short .txt or .pdf file to a chat, such as a one-page note of your own, and send this prompt.

Summarize the attached file in five bullet points. Then list two questions it leaves unanswered.
  • A good answer is five bullets in the file's own terms, not general knowledge about its topic.
  • A short file goes into the chat whole, so the model sees all of it. A long file makes LM Studio pick out passages that look relevant, so put the terms you expect in the answer into your question.
  • If the reply is slow or the app runs short of memory, load a smaller download option.

Tips for better results

  • Compare file sizes with your free memory before you press Download. Every option is the same model, and the bigger files need more memory to load.
  • The context, the text a model can hold at once, takes memory on top of the model file. A long chat or a big document can run a tight machine short.
  • When your code sends a model field, copy the identifier from the app, or set your own with --identifier on lms load.
  • Run lms log stream in a terminal while your code calls the server, to read what went in and out.
  • Start with a small model on a laptop. Qwen's team says its Qwen3.5-9B needs about 7GB to run locally, and the download is only part of the memory it uses.

Keep the server and MCP tools safe

Out of the box the server accepts requests with no key. LM Studio's network page warns that any bind other than 127.0.0.1 exposes the server beyond your computer, and the Serve on Local Network setting does exactly that. Turn on authentication first. Tokens come from the Manage Tokens button, and the app shows a new one only once, so copy it straight away.

MCP servers need the same care. LM Studio's MCP page warns that some servers can run arbitrary code, read your local files and use your network.

Learn more about LM Studio

  1. 3Local AI course: run AI models on your own computer · Lesson 3 of 4LM Studio tutorial: run local models in a desktop appAn LM Studio tutorial: check your hardware, get a model from the built-in search, chat with it and your files, then run its OpenAI-compatible server and lms.11 min
  2. 4Local AI course: run AI models on your own computer · Lesson 4 of 4Local LLM hardware requirements: how much VRAM a model needsLocal LLM hardware requirements, worked out: how parameters and GGUF quantization set a model size, how much VRAM it needs, and what CPU, GPU or a Mac changes.10 min
  3. 1Local AI course: run AI models on your own computer · Lesson 1 of 4Ollama tutorial: run AI models on your own computerAn Ollama tutorial for Windows, macOS and Linux: install it, download and chat with a first local model, then list, stop and remove models and move their files.11 min

Frequently asked questions

Is LM Studio free?

Yes. The app costs nothing to download and use, and the open models it runs are free to download. Your computer pays in memory and time.

Does LM Studio work offline?

Yes, once a model is downloaded. The model runs on your own hardware, so a chat needs no connection. The app goes online to search for models, to download them and to check for updates.

How much RAM do I need for LM Studio?

LM Studio recommends 16GB of RAM or more on every system. The model must fit too, and a small one such as Qwen3.5-9B needs about 7GB according to Qwen's team. Bigger downloads need more memory.

What is the difference between LM Studio and Ollama?

The window. Both run GGUF models through llama.cpp and serve an OpenAI-compatible API on your machine. LM Studio puts a model browser and a chat window in front, and Ollama is built around its command line and a library of named tags.

Can LM Studio use MCP servers?

Yes, since version 0.3.17, when it became an MCP host. Open the Program tab in the right-hand sidebar, choose Install, then Edit mcp.json, and add servers in the mcpServers format.

Where does LM Studio keep downloaded models?

In its models directory, which you can see and change under My Models. Models you fetch with lms get go to the same folder.

Sources

  1. LM Studio Docs: Welcome to LM Studio (read November 5, 2026)https://lmstudio.ai/docs/app
  2. LM Studio Docs: System requirements (read November 5, 2026)https://lmstudio.ai/docs/app/system-requirements
  3. LM Studio Docs: Get started (read November 5, 2026)https://lmstudio.ai/docs/app/basics
  4. LM Studio Docs: Download an LLM (read November 5, 2026)https://lmstudio.ai/docs/app/basics/download-model
  5. LM Studio Docs: Chat with documents (read November 5, 2026)https://lmstudio.ai/docs/app/basics/rag
  6. LM Studio Docs: Offline operation (read November 5, 2026)https://lmstudio.ai/docs/app/offline
  7. LM Studio Docs: Use MCP servers (read November 5, 2026)https://lmstudio.ai/docs/app/mcp
  8. LM Studio Docs: Local server (read November 5, 2026)https://lmstudio.ai/docs/developer/core/server
  9. LM Studio Docs: Authentication (read November 5, 2026)https://lmstudio.ai/docs/developer/core/authentication
  10. LM Studio Docs: Serve on Local Network (read November 5, 2026)https://lmstudio.ai/docs/developer/core/server/serve-on-network
  11. LM Studio Docs: lms CLI (read November 5, 2026)https://lmstudio.ai/docs/cli
  12. LM Studio blog: MCP in LM Studio (read November 5, 2026)https://lmstudio.ai/blog/lmstudio-v0.3.17
  13. Hugging Face Docs: GGUF (read November 5, 2026)https://huggingface.co/docs/hub/gguf
  14. Qwen on X: Qwen3.5-9B is now available on LM Studio (read November 5, 2026)https://x.com/Alibaba_Qwen/status/2028664203872251943
  15. Wikipedia: LM Studio (read November 6, 2026)https://en.wikipedia.org/wiki/LM_Studio
  16. Tech With Tim on YouTube: LM Studio Full Tutorial (read November 6, 2026)https://www.youtube.com/watch?v=XpPtfB2pdio
  17. Bart Slodyczka on YouTube: LM Studio Is Getting Insane, Start Using It Now (read November 6, 2026)https://www.youtube.com/watch?v=OOCioZC4tk0
  18. Eric Tech on YouTube: LM Studio Is Getting Insane, Master Local AI Now (read November 6, 2026)https://www.youtube.com/watch?v=FHzWptAH9V0
  19. Zero to MVP on YouTube: LM Studio Tutorial and Review (read November 6, 2026)https://www.youtube.com/watch?v=V5Qap-SNyLU

Share this lesson

Run your first local model

The LM Studio lesson covers the model search, chatting with files, the local server and the lms command line.

Start the lesson

This lesson as Markdown · All tools · All courses