You can run a downloaded AI model on your computer with LM Studio or Ollama. Choose LM Studio for a graphical app that lets you find models and chat, or Ollama for a command-line workflow and a local API. Either way, running the model locally does not automatically make every connected app feature local.

Choose a runtime that fits your workflow

LM Studio is a desktop app for browsing, downloading, and chatting with models. Ollama is command-line-first and also provides a local API that other applications can use. If you want to get to a first chat through a graphical interface, start with LM Studio. If you plan to connect a model to developer tools or work from a terminal, Ollama’s local API may suit that setup.

A local model means the inference request goes to a model running on your computer rather than a hosted model service. Model downloads require a connection, but LM Studio says it can operate offline once its model files are present. A model tagged for cloud use is different: Ollama’s cloud documentation describes that service separately from local execution (Ollama’s cloud documentation).

Check compatibility before downloading

LM Studio lists support for Apple Silicon Macs with macOS 14 or newer, Windows x64 and ARM, and Linux x64 and ARM64. Its system requirements specify different recommendations by platform:

  • Apple Silicon Mac: M1, M2, M3, or M4; 16 GB or more of RAM recommended. Macs with 8 GB may work with smaller models and modest context sizes. Intel-based Macs are not supported.
  • Windows: x64 or ARM, including Snapdragon X Elite. LM Studio requires AVX2 on x64 and recommends at least 16 GB of RAM and 4 GB of dedicated VRAM.
  • Linux: x64 or ARM64, distributed as an AppImage; Ubuntu 20.04 or newer is required.

These are LM Studio’s recommendations for the app, not a promise that every model will fit or run quickly. A model’s download size is only part of its memory needs: the context window, runtime allocations, and other open applications use memory too. Quantization stores model weights using fewer bits to reduce memory needs, with possible accuracy trade-offs.

A dedicated GPU is not required for every Ollama setup. Ollama’s hardware guidance includes CPU use, but the model size, available system memory, context, and speed still shape what will be practical. XDA Developers reported one everyday-use example: Gemma 3 4B on a Ryzen 7 5825U laptop with integrated Radeon graphics and 16 GB of RAM. That single setup is not a performance benchmark for other computers.

Download a model and start your first chat

English-language walkthrough of Ollama installation, model selection, download, and a first chat
  1. Install one runtime. Install LM Studio for your operating system, or install Ollama. Use the product’s official setup path; the steps differ by platform.
  2. Choose a model that fits your system. Start with a smaller model if memory is limited, and leave room for the context window and runtime. Then download its files in the app or with Ollama.
  3. Open a chat. In LM Studio, select the downloaded model and start a chat. With Ollama, run the model you downloaded. For the example model tag in the setup instructions, the commands are:ollama pull gemma4:e2b ollama run gemma4:e2b

Use documents offline with context or RAG

LM Studio supports .docx, .pdf, and .txt attachments. If a file fits within the selected model’s context window, LM Studio includes it in full. For a longer file, it uses retrieval-augmented generation (RAG), which finds relevant passages and supplies them to the model. LM Studio notes that retrieval may need tuning, so check answers against the original document or the cited passages in the app’s document-chat guide.

Download the application and model files before going offline. Once they are present, LM Studio says it can operate offline (offline operation).

Keep IDEs and other tools on their own data paths

Selecting a local model in an IDE handles the requests sent to that model endpoint; it does not by itself determine how the IDE’s other features work. Zed documents local model options for Ollama and LM Studio, while external agents and terminal threads have separate configuration paths (Zed’s local-model guide). Check web search, remote tools, cloud agents, and other integrations individually before using sensitive prompts or code.

Android and other integrations

The third-party Android Ollama App identifies itself as a client that connects to an Ollama API; it does not host the Ollama server on the phone (the app’s repository). In that setup, the phone is the client and a separate server runs the model.

Agent Zero’s installation guide describes local model servers such as Ollama and LM Studio. Docker’s Model Runner provider instructions cover Docker Agent, a separate product. Those are distinct setup paths, so follow the instructions for the application you are configuring (Agent Zero installation; Docker Model Runner for Docker Agent).

Check that the setup is working

Send a short prompt and confirm that the selected local model responds. For document chat, ask about a passage you can check in the original file. For an IDE, verify its model endpoint separately from any web, agent, or remote-tool settings. These checks help distinguish a working local inference path from other features that may use network services.

Quick reference: choose LM Studio for a graphical start or Ollama for a command-line and API workflow; check platform and memory needs; download a model; then check document retrieval and connected app settings separately.