How to Run an AI Model Locally on Windows

A laptop with a glowing electric-blue chip icon on its screen and three empty chat bubbles floating above it.

Running an AI model on your own PC means your chats stay on your computer, you can use it without an internet connection, and you do not pay for each use. The setup is simpler than it used to be. This guide shows a beginner-friendly way to do it on Windows.

Step-by-step: run a model locally

Step 1: Check your hardware

The most important numbers are your graphics card's VRAM and your system RAM. Open Task Manager > Performance > GPU and note the Dedicated GPU memory. Read how much VRAM you need to run AI models to estimate which models will fit. Make sure you also have free disk space, since a model can be several gigabytes.

Step 2: Choose a tool

  • LM Studio: a desktop app with a graphical interface. You search for a model, download it and chat. It is a good first choice.
  • Ollama: a lightweight tool you run from a terminal. It is simple and popular with people who like the command line.

Both are free to use. Download them only from their official websites.

Step 3: Install the tool

Run the installer, keep the default options, and restart if asked. Make sure your graphics driver is current. See how to update graphics drivers.

Step 4: Pick a model that fits

Start small. Models are described by size, such as 7B or 13B (billions of parameters), and by quantization, such as 4-bit. A 4-bit version of a small model is often a reasonable place to start for a graphics card with 8 GB of VRAM. Choose a model from a reputable publisher and read its page for size and license.

Step 5: Download and run it

  • LM Studio: use the search tab to find the model, download it, load it and open the chat tab.
  • Ollama: open a terminal and run ollama run followed by the model name from the Ollama library. It downloads the model the first time and then starts a chat.

Step 6: Check that it uses your GPU

While the model is answering, open Task Manager and look at the GPU. The Dedicated GPU memory and GPU usage should rise. If the CPU is busy and the GPU is idle, the model is running on the CPU, which is much slower. It may be too large for your VRAM, or the GPU setting may be turned off in the tool. For a closer look at the numbers, see how to monitor GPU usage and VRAM.

Step 7: Tune the settings

  • Choose a smaller model or a lower quantization if you run out of memory.
  • Reduce the context length, since long contexts use more memory.
  • In LM Studio, use the setting that controls how many layers run on the GPU. More layers on the GPU is faster as long as they fit.

Step 8: Check privacy and keep the PC healthy

Local does not automatically mean private, so check each tool's settings and server options (see is local AI private and safe). Running a model also keeps the GPU busy for long periods, so watch the temperatures and keep the vents clear. See fix a PC that keeps overheating.

Troubleshooting

  • Out of memory error: pick a smaller model or shorter context.
  • Very slow answers: check that the GPU is used, and close other apps that use VRAM.
  • The download fails: check your disk space and internet connection.
  • The model gives wrong answers: local models can make mistakes, so check important facts.

Do I need an AI PC for this?

Not necessarily. For large models, the GPU and its VRAM matter most. See what is an AI PC. If you are thinking about a new machine for this, our parts checklist for building a PC for local AI lists what to look for. For other hardware questions, browse the PC repair guides on the PC Repair Atlas homepage.

FAQ

Is it free? The tools and many models are free to download, but some models have license terms, so read them.

Do I need an internet connection? Only to download the tool and the model. After that it can run offline.

Is it private? Your chats stay on your PC, but check what each tool does with usage data in its settings. To go further and use your own files, read our guide to chatting with your own documents using local AI.