Reupload
All AI ToolsExploreLocal AI?
← Back home

Local AI · Ollama

Running Local AI Models With Ollama

Running Local AI Models With Ollama

Photo: Markus Spiske on Unsplash

Ollama is a free, MIT-licensed tool that runs open-weight AI models locally through a simple command-line interface and a REST API, with a library of thousands of ready-to-run models. It's the most common starting point for developers who want a local model reachable from their own code.

Ollama's whole design fits around one command: ollama run <model-name>. Type that in a terminal, and it downloads the model on first use, then drops you into a chat session — no separate download step, no manual configuration of model files.

Because it's built as a background service with a REST API (not just a terminal chat window), any application on your machine can send it requests the same way it would call a cloud AI API, just pointed at your own computer instead. This is why Ollama is the usual pick when a developer wants to build or test something against a local model: it behaves like an API from the first command.

Its model library now lists several thousand ready-to-pull models, covering most well-known open-weight families and their various sizes and quantization levels, so picking one sized for your hardware is mostly a matter of choosing a smaller or larger tag of the same model (for example a 3B vs. a 70B version of the same family). Ollama has also grown beyond a pure local tool over time, adding optional cloud-hosted models, web search, and tool-calling integrations for people who want to mix local and hosted model use from the same interface.

Getting started: install Ollama from ollama.com for macOS, Windows, or Linux, open a terminal, and run ollama run llama3.2 (or any other model name from its library) to download and start chatting immediately. For programmatic use, Ollama exposes its REST API on localhost by default, ready for any script or app to call once the model is loaded.

Ollama is the right choice if you're comfortable with a terminal, or if you're building something that needs to call a local model from code rather than chat with it by hand.

Wondering if your computer can run local AI?

Sources & credits

Original source: Ollama