Yeda AI Tips · #046

Run Any Open A.I. Model on Your Own Computer, Free

Every time you chat with a cloud A.I., a request leaves your machine, a token meter starts ticking, and your prompt sits on someone else's server. None of that is required. Open-weight models can run entirely on your own laptop, for free, with one tool: Ollama.

The problem with cloud-only A.I.

Cloud APIs are great for scale, but they cost money per token, need an internet connection, and send your data off-device. For a lot of everyday use — drafting, coding help, quick Q&A, private notes — none of that trade-off is necessary. A modern laptop can run a genuinely useful open model locally, and once it's downloaded, it works offline and costs nothing per query.

Why it works

Open-weight models ship as downloadable files. Ollama packages the model weights, a runtime, and a simple CLI/API into one install. It handles the parts that used to require real ML-ops knowledge — quantization, GPU/CPU detection, memory management — behind a single command.

How to do it

  1. Install Ollama. Go to ollama.com and download the installer for your OS (macOS, Windows, Linux). It installs a background service plus an ollama CLI.
  2. Pull and run a model. In your terminal: ollama run llama2. The first time you run a given model name, Ollama downloads it (a few GB, depending on size). Every run after that starts almost instantly, because the weights are already on disk.
  3. Chat. Once it loads, you get a prompt right in the terminal — type and it responds, entirely on your hardware.
  4. Pick a size that fits your RAM. Smaller models (7B parameters and under) run comfortably on most laptops with 8–16GB of RAM. Larger models need more memory and ideally a GPU. If a model won't load or is painfully slow, try a smaller one — ollama run llama2:7b instead of a 70B variant, for example.
  5. Switch anytime. Different task, different model — just run a different name (ollama run mistral, ollama run gemma, etc.). Ollama keeps whatever you've pulled locally so switching is instant after the first download.

Where this fits

Pitfalls

Power tricks

Resources

Building an AI feature? Yeda AI designs, audits, and ships production LLM systems.

Talk to us · Read the blog