Amoozyar AI فارسی
← Back to blog
- 2 min read LLMlocalopen-weight

Running an LLM on your own computer: what you need to know

A laptop with a chip on screen and a padlock beside a crossed-out cloud

Most people use LLMs through a website or app. But some models can run entirely on your own computer, with no internet connection and no data leaving your machine.

Two ways to run a model

Why run locally?

The trade-off: the biggest, most capable models are far too large for a normal computer, so local models are usually smaller.

Will it fit on my computer?

A simple rule of thumb: at standard 16-bit precision, each billion parameters needs about 2 GB of memory. So a 7-billion-parameter model needs roughly 14 GB, while models with over 100 billion parameters are out of reach for most consumer devices.

The model is held in your RAM, your graphics card’s memory (VRAM), or unified memory on some laptops. If it doesn’t fit in the graphics card, it can be split between the card and system memory, at the cost of speed.

Quantization: making models smaller

Quantization stores the model’s numbers at lower precision, shrinking its size so larger models fit on ordinary hardware. You lose a little quality, but often much less than you save in memory.

Tools that make it easy

Try it

  1. Install LM Studio or Ollama.
  2. Pick a small model (a few billion parameters, quantized).
  3. Ask it to summarize a text or draft an email.
  4. Compare the speed and quality with the hosted assistant you normally use.

Further reading: the Wikipedia article on large language models.