Tech · Published

Can you run AI on your own computer? What you need, and why memory decides

Free, open-source programs let you download an AI model and run it on your own computer. Whether a model fits depends mostly on memory. What the software makers and model makers themselves say, and what has happened to the price of computer parts.

Most people use AI through a website or an app: the question goes to a data centre, and the answer comes back. But many AI models can also be downloaded and run on an ordinary computer, with free software. This page sets out what that takes, from the software makers' and model makers' own documents, and what has happened to the price of computer parts.

The short version

  • Yes, you can. Free, open-source programs such as Ollama and llama.cpp (both published under the MIT licence) load an AI model on your own computer. Ollama installs on Mac, Windows and Linux.
  • Memory decides what fits. A model has to be loaded into memory to run. Hugging Face's documentation gives the example of a model with 8 billion parameters: about 16GB in the usual 16-bit format, about 8GB at 8 bits and about 4 to 5GB at 4 bits.
  • 16GB is a common starting point. LM Studio, another program for running models locally, recommends 16GB of memory or more, and OpenAI's model card says its open gpt-oss-20b model runs "within 16GB of memory".
  • The largest open models need far more. OpenAI's larger open model, gpt-oss-120b, fits on a single graphics chip with 80GB of memory, such as NVIDIA's H100 or AMD's MI300X.
  • Storage got dearer. In the US, producer prices for computer storage devices, where models are saved, were 80.3% higher in October 2026 than a year earlier (US Bureau of Labor Statistics, preliminary figure).

What "running AI locally" means

An AI model is, in the end, a large file of numbers - its parameters, or weights. A program loads that file into memory and works through it to produce each word of an answer. When the model runs locally, that work happens on your own computer rather than in a data centre.

Some of the same programs also offer models that run in the cloud. Ollama's download page, for example, says its "Cloud models need usage credits or a paid plan". So it is worth checking which kind you have chosen.

The software

  • Ollama installs on macOS, Windows and Linux (download page), and its code is published on GitHub under the MIT licence. Its documentation says it can use NVIDIA graphics chips with "compute capability 5.0+", AMD Radeon chips through AMD's ROCm software, and Apple computers through Apple's Metal software. It can also run a model on the main processor alone: its FAQ explains that "100% CPU means the model was loaded entirely in system memory". Its download page warns: "Large models are slow on a computer without a strong GPU."
  • llama.cpp describes itself as "LLM inference in C/C++" - a program that runs large language models - and is published under the MIT licence. Ollama's GitHub page lists it among its supported backends.
  • LM Studio is a desktop program for Mac, Windows and Linux. Its requirements page lists Apple's own M1 to M4 chips (Intel-based Macs are "currently not supported") and, on Windows PCs, a processor with the AVX2 instruction set. Its home page says local models run on the LM Studio runtime, "with MLX and llama.cpp under the hood". The pages we read do not state its price or licence.

How much memory a model needs

The rough rule is the number of parameters times the space each one takes. Hugging Face's documentation says models "are usually loaded in bf16, which takes 2 bytes per parameter" - so 8 billion parameters take about 16GB.

The way to fit a larger model into less memory is quantization: storing each number with fewer bits. In Hugging Face's words, it "stores a model's weights, and sometimes its activations, in fewer bits so the model needs less memory". It has a cost: "Fewer bits cost some accuracy", and each method trades memory, speed and accuracy differently (Hugging Face). The llama.cpp documentation says the loss of accuracy is usually measured with two statistical measures, perplexity and Kullback-Leibler divergence.

The llama.cpp documentation gives these sizes for Meta's Llama 3.1 models, at their original size and in the 4-bit format Q4_K_M used in its examples. Its original sizes are larger than the 16-bit figures above; the page does not say which format they are in:

  • 8 billion parameters: 32.1GB originally, 4.9GB at 4 bits.
  • 70 billion: 280.9GB originally, 43.1GB at 4 bits.
  • 405 billion: 1,625.1GB originally, 249.1GB at 4 bits.

It adds that "you will need adequate disk space to save them and sufficient RAM to load them". The model is not the only thing in memory: Ollama's FAQ notes that "More parallel requests require more memory", and longer conversations need more room too.

What fits on which computer

From the software and model makers' own guidance:

  • 8GB. LM Studio says "You may still be able to use LM Studio on 8GB Macs, but stick to smaller models and modest context sizes."
  • 16GB. LM Studio recommends 16GB or more on Mac and Windows, and on Windows PCs a graphics card with at least 4GB of its own memory. OpenAI's gpt-oss-20b, released on 5 August 2025 under the Apache 2.0 licence, has 21 billion parameters, of which 3.6 billion are used for each word, and OpenAI says it "can run on edge devices with just 16 GB of memory". OpenAI says it "delivers similar results to OpenAI o3-mini on common benchmarks" - its own claim, not an independent test.
  • About 43GB. A 70-billion-parameter Llama 3.1 model at 4 bits, by the llama.cpp figures above - well past 16GB.
  • 80GB. OpenAI's gpt-oss-120b (117 billion parameters) fits "into a single 80GB GPU (like NVIDIA H100 or AMD MI300X)" (model card).

What the parts cost

A model has to be saved on the computer before it can be loaded, and the llama.cpp sizes above show how much room that takes. US producer prices for computer storage devices were 80.3% higher in October 2026 than a year earlier, a preliminary figure the Bureau of Labor Statistics may revise:

US prices, change on a year earlier

US prices, change on a year earlierUS prices, change on a year earlier. Computers (consumer prices): Change on a year earlier +9.7%; Phones and other devices (consumer prices): Change on a year earlier -12.7%; Computer storage (producer prices): Change on a year earlier +80.3%; Imported semiconductors: Change on a year earlier +16%; US-made semiconductors (producer prices): Change on a year earlier -2.7%-20020406080100Computers (consumer prices)Change on a year earlier, Computers (consumer prices): +9.7%+9.7%Phones and other devices (consumer prices)Change on a year earlier, Phones and other devices (consumer prices): -12.7%-12.7%Computer storage (producer prices)Change on a year earlier, Computer storage (producer prices): +80.3%+80.3%Imported semiconductorsChange on a year earlier, Imported semiconductors: +16%+16%US-made semiconductors (producer prices)Change on a year earlier, US-made semiconductors (producer prices): -2.7%-2.7%
Show the numbers
Values (%)Change on a year earlier
Computers (consumer prices)9.7
Phones and other devices (consumer prices)-12.7
Computer storage (producer prices)80.3
Imported semiconductors16
US-made semiconductors (producer prices)-2.7
Latest month available: Oct 2026; Sep 2026. US Bureau of Labor Statistics price indexes, not seasonally adjusted. Consumer price indexes allow for quality improvements, which pulls measured prices of fast-improving products down. The producer price index for semiconductors covers chips made in the US; most memory chips are imported. Source: US Bureau of Labor Statistics, series CUUR0000SEEE01: Computers, peripherals, and smart home assistants in U.S. city average, all urban consumers, checked , and 6 more.
Show all 7 sources

Our article Why your next computer costs more sets out what the memory makers themselves say about the shortage of memory chips, and our Micron review follows one of those makers.

The verdict

This is our reading of the evidence, not a forecast.

Running AI on your own computer is practical today for small and medium models, with free, open-source software and 16GB of memory as a common starting point. Memory, not the software, is the limit: 4-bit formats cut a model's memory to roughly a quarter to a third of the usual 16-bit size, at some cost in accuracy, but the largest open models still need far more memory than the 16GB LM Studio recommends. Rising prices for computer storage work against home AI for now.

What would change this reading:

  • Prices for computer storage and memory falling back, which would make larger machines cheaper.
  • Small models catching up with large ones on independent tests, not only on the makers' own claims.
  • Programs that need markedly less memory for the same model without losing accuracy.

What to watch

  • US price indexes for computers and storage, published monthly by the Bureau of Labor Statistics; our charts update when they do.
  • Micron's next results, for what the memory makers say about supply.
  • New open models and the memory their makers say they need.
  • Our wider question: Good enough at home? - what local AI could mean for the cloud AI companies.

Disclosure: this article was drafted with help from Claude, an AI model made by Anthropic. Anthropic makes AI models that people use through the cloud, the alternative to the local models discussed here. Anthropic has no part in what we publish; every fact here is taken from the documents listed under Sources.

Drafted with help from an AI tool, then checked and edited by a person. Sources are listed below.

Sources (18)

Show all 18 sources