KernelFox
Home / LM Studio

LM Studio: How to Run AI Locally Without a Terminal?

6 Oct 2026By Adrien M.6 min read

LM Studio is a free application that downloads AI models and runs them on your own computer, with a real chat interface: no terminal needed. Here is how it works, how to use it, what sets it apart from Ollama, and what I think of it.

LM Studio at a glance

LM Studio is a desktop application for Windows, macOS and Linux. You search for a model, download it in one click, then chat with it in a chat window. It can also serve the model to other software through an API compatible with OpenAI's. Nothing leaves your machine, which matters if you work on confidential documents or offline.

Its official documentation lists the main features: a chat, model downloads from Hugging Face, a local server, the ability to attach documents to a conversation and talk about them offline, and support for MCP servers, the connectors that give tools to the model.

On licensing, the application is free, at home and at work: since July 8, 2025, companies are no longer asked to do anything. However, it is not open source software: its terms of use forbid extracting its code. Only its command line, lms, is published under the MIT license.

How it works

Like Ollama, LM Studio downloads models that are already quantized, meaning the precision of their numbers has been reduced (often to 4 bits) so they fit on a desktop computer. It runs them with the llama.cpp engine for files in GGUF format, and with MLX, Apple's library, on Macs with Apple Silicon chips.

It uses your graphics card when it finds one, and you can choose how much of the model to place there: the rest goes through the processor's RAM. It works, but it is much slower, hence the deciding factor: the available memory. The documentation recommends at least 16 GB of RAM on all platforms, and at least 4 GB of graphics memory on Windows.

The supported systems are Macs with Apple chips (M1 and later, on macOS 14 or newer, Intel Macs are not), Windows (AVX2-compatible processor, or ARM such as the Snapdragon X Elite) and Linux (Ubuntu 20.04 or newer, on x64 or ARM64 processors).

Install LM Studio and run a first model

On macOS and Windows, download the installer from lmstudio.ai. On Linux, the application comes as an AppImage, a single file that just needs to be made executable and launched:

Terminal · Linux
chmod +x LM-Studio-*.AppImage
./LM-Studio-*.AppImage

Then everything happens in the application. Open the model search, type for example gpt-oss 20B, an open model that fits on a 16 GB card (KernelFox's calculation gives about 13 GB of memory with 32,000 tokens of context), download it, load it, and the chat is ready. The application warns you if a model is likely to be too big for your machine.

To know which model to pick for your hardware, the AI model ranking shows the memory needed for each one, and the path that shows which model fits on your computer even estimates the speed.

Use it as a server for your tools

LM Studio can serve the loaded model on port 1234, locally, and even on your network. It reuses five endpoints of the OpenAI API: the list of models, /v1/chat/completions, /v1/responses, /v1/completions and /v1/embeddings. To check that it is running and see the available model names:

Terminal · API
curl http://localhost:1234/v1/models

You can then query it from a script or an application, using one of those names:

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

For a tool that expects the OpenAI API, just point its base address to http://localhost:1234/v1. It is the most common way to use a local model with a code editor or an agent.

Not everything requires the mouse: the lms command line is installed with the application (you need to have launched it at least once). It lets you download, load and run a model from the terminal:

Terminal
lms get            # search and download a model
lms ls             # models on disk
lms load name      # load a model into memory
lms ps             # models loaded in memory
lms chat           # chat in the terminal
lms server start   # start the local server

For a server without a screen, llmster is the version of LM Studio without an interface. And LM Link connects several of your machines through an end-to-end encrypted connection: you load a model on the most powerful computer and use it from another as if it were local, still pointing to localhost:1234.

LM Studio or Ollama?

Both do the same thing at heart: download a quantized model and run it at home, with an OpenAI-compatible server. The difference is in how you use them.

  • The interface. LM Studio is an application with a window, model search and built-in chat. Ollama is driven from the terminal first: see my article on Ollama.
  • The license. Ollama is open source (MIT license). The LM Studio application is free but closed source.
  • The models. LM Studio fetches the files directly from Hugging Face; Ollama downloads from its own library. On Mac, LM Studio can also run models in MLX format.
  • The port. Ollama's server listens on 11434, LM Studio's on 1234: a tool that expects the OpenAI API is set up the same way in both cases, with a different address.

Both rely on llama.cpp, but their default settings differ, and it shows: in my test, with the same model file, Ollama generated about twice as fast. All the figures are in the LM Studio versus Ollama comparison with a real test.

My take

What is very good. LM Studio is the gentlest way into local AI: you install, search for a model, chat, without typing a command. The OpenAI-compatible server and the command line also make it a serious tool for development. The application is free, including at work, and runs on all three systems.

What is less good. The application is not open source, which matters if you want to be able to check everything. LM Studio also offers Bionic, an agent that combines local features with optional cloud inference: a free plan (which keeps local models), then plans at 20 and 100 dollars a month. It is not necessary to run models at home, but the application now puts this agent forward. Finally, as with Ollama, you need to plan the memory: a model that is too big slows everything down.

Who it is for. Anyone who wants to try local AI without a terminal, with at least 16 GB of RAM or an 8 GB card. If you prefer to drive everything from the command line and want a fully open source tool, look at Ollama instead.

Official sources: system requirements, free for work and OpenAI-compatible API.

Going further
Which graphics card for local AI?
See the graphics card ranking