How-to

How to Run an AI Model on Your Own Computer

Run an LLM locally in a few steps. What hardware you need, which free apps to use, which open models fit your machine, and the trade-offs to expect.

Close-up of a computer graphics card
Photo: Nick Stathas / Wikimedia Commons, CC BY-SA 4.0. Cropped and colour-treated.

You can run an LLM locally by installing a free app such as Ollama or LM Studio, downloading an open-weight model sized for your computer's memory, and chatting with it offline. On a recent laptop with 16 GB of memory, the whole setup takes about 15 minutes, and nothing you type leaves your machine.

Local models are smaller and usually less capable than the flagship assistants that run in giant data centers. But they have improved quickly, and for drafting, summarizing, coding help and private document work, many people now find them good enough. This guide explains what you need, how to set one up and what to expect.

Why would you run an AI model locally?

The most common reason is privacy. When you use a cloud chatbot, your prompts travel to the provider's servers. A local model processes everything on your own device, which matters if you handle client files, health records or unpublished work.

Other reasons are practical. A local model works on a plane or in a village with patchy internet. It has no monthly fee and no usage cap. Developers also use it to build and test apps without paying per request.

What hardware do you need to run an LLM locally?

The key number is memory. A model's size is measured in parameters, the internal numbers it learned during training, and all of those numbers need to sit in memory while the model runs. More parameters generally means a smarter model and a heavier one.

On a Windows or Linux PC, the fastest option is a graphics card (a GPU) with plenty of its own video memory. On Apple Silicon Macs, the processor and graphics share one pool of memory, which makes MacBooks and Mac minis with lots of RAM surprisingly good at local AI. You can run models on a plain processor too, just more slowly.

Your machine's memoryWhat you can realistically runTypical uses
8 GBSmall models, roughly 1 to 4 billion parametersQuick questions, short summaries, simple rewriting
16 GBModels up to about 14 to 20 billion parametersEveryday writing help, coding assistance, document Q&A
24 to 32 GBModels in the 27 to 32 billion rangeStronger reasoning and coding, longer documents
64 GB and aboveLarge models, including some above 100 billion parametersClose to cloud quality for many tasks

These figures assume compressed models and are only a starting point. Speed also depends on your chip, and longer conversations use extra memory.

How do quantized models make this possible?

Most people running models at home use quantized versions. Quantization stores each of the model's numbers with fewer digits of precision, a bit like saving a photo as a smaller JPEG. A model that would need 16 bits per number can often be squeezed to 4 or 5 bits.

That cuts memory needs by roughly two thirds to three quarters, and in practice the drop in answer quality is usually small. You will see these files labeled with tags such as "Q4" or "4-bit". If you have spare memory, a higher setting like Q6 or Q8 gives slightly better output.

Which apps can you use to run a local LLM?

AppBest forInterfaceCost
OllamaQuick setup, developers, connecting to other appsCommand line, plus a simple desktop appFree, open source
LM StudioBeginners who want a point-and-click experienceFull desktop app with model browser and chat windowFree for personal and work use
llama.cppTinkerers who want maximum control and speedCommand lineFree, open source
JanPeople who want a ChatGPT-style app that stays offlineDesktop appFree, open source

Ollama and LM Studio both build on the same underlying engine as llama.cpp, so the choice mostly comes down to whether you prefer typing commands or clicking buttons.

How to run an LLM locally with Ollama

  1. Download and install Ollama from its official website. Installers are available for Windows, macOS and Linux.
  2. Open a terminal (Command Prompt or PowerShell on Windows, Terminal on Mac).
  3. Pull and start a model with a single command such as ollama run gemma3 or ollama run qwen3, swapping in whichever model name the Ollama library currently lists. The first time, Ollama downloads the model file, which can be several gigabytes.
  4. Start chatting. Type your question at the prompt and press Enter. Type /bye to exit.
  5. Try other models. Browse the model library on the Ollama website, check the size of each version, and pick one that fits your memory.

Ollama also runs a small local server, so other apps and coding tools on your computer can use the model.

How to run an LLM locally with LM Studio

  1. Install LM Studio from its official website.
  2. Open the Discover tab and search for a model family. LM Studio shows whether each version is likely to fit on your hardware.
  3. Download a version marked as a good fit, ideally a 4-bit or 5-bit quantized file.
  4. Load the model in the Chat tab and start typing.
  5. Attach documents if you want to ask questions about your own files. LM Studio can read PDFs and text files locally.

Which open models should you try first?

These are "open-weight" models, meaning the company has released the trained model files for anyone to download. Our guide to open-source vs closed AI models explains why that label differs from fully open source.

The families that come up most often for home use in late 2026 are:

  • Gemma (Google): Comes in several sizes, with small versions that run well on modest laptops.
  • Qwen (Alibaba): A wide range of sizes, including models tuned for coding, with strong multilingual support.
  • gpt-oss (OpenAI): Two open-weight models released in 2025 under the permissive Apache 2.0 license. OpenAI said the smaller gpt-oss-20b can run on devices with 16 GB of memory, while gpt-oss-120b targets machines with around 80 GB.
  • Llama (Meta): One of the earliest popular open families, released under Meta's own community license.
  • Mistral (Mistral AI): European models, including compact options aimed at coding.

New versions arrive often, so check the model library in your app for the latest release in each family. Read the license before using any model in a commercial product, because terms vary.

What are the downsides of running AI locally?

Local models trail the best cloud systems on hard reasoning, very long documents and up-to-date knowledge. Most have no live web access, so they only know what was in their training data.

Speed can disappoint on older hardware, where a large model can crawl. Model files are big, too, so you need tens of gigabytes of free disk space to try several.

Is running an AI model locally safe?

Running a model locally is generally safer for privacy than sending data to the cloud, as long as you download from trusted sources. Stick to the official app websites and well-known model publishers. Be cautious with files from unknown uploaders, and keep your apps updated.

Remember that a local model can still make things up, exactly like a cloud model. Treat its answers with the same healthy scepticism you would apply to any large language model.

Why It Matters

Running a model on your own machine changes who holds your data. For a lawyer with client files, a clinic with health records or a writer with an unpublished manuscript, the question of where prompts end up is not abstract. A local model answers it plainly: nowhere. That makes local AI one of the most practical privacy options open to individuals and small firms right now.

The economics matter too, especially in India, where monthly subscriptions add up and connections can be patchy outside cities. Free apps and open-weight models on hardware you already own give you an assistant that works offline with no usage cap. Developers gain a way to test ideas without paying for every request.

Be clear-eyed about the trade, though. A model that fits on a 16 GB laptop will not match a flagship cloud assistant on hard reasoning, and it can still make things up. A sensible split for many readers is to keep sensitive drafting and documents local, and turn to cloud tools only when the extra power is worth sending data out.

Frequently asked questions

Can I run an LLM locally without a GPU?

Yes. Ollama, LM Studio and llama.cpp can all run models on a normal processor. It will be slower, so start with a small model of a few billion parameters. Apple Silicon Macs handle this especially well because of their shared memory design.

Is a local LLM as good as ChatGPT?

The largest local models come close on many everyday tasks, but they need expensive hardware. Typical models that fit on a 16 GB laptop are noticeably weaker than leading cloud assistants on complex reasoning and research. For drafting, summarizing and private document work, many users find them good enough.

Is it free to run an AI model on my own computer?

The apps and most open-weight models are free to download and use. Your real costs are the hardware, the electricity and your time. Some model licenses restrict certain commercial uses, so check the terms before building a product.

Does a local LLM need the internet?

Only to download the app and the model files. After that, you can chat completely offline. That also means the model cannot look things up online unless you connect it to extra tools.

Researched and written by The AI Telegraph staff and checked against primary sources. See our editorial policy. Spotted an error? Tell us.