Pacific Design/ artificial intelligence

Tools · Assistant & agents · tool 09/15 · checked 2026-11-29

Ollama

The open-source runtime that downloads open-weight language models and serves them on your own computer, behind a local API that other apps can call.

Kind
runtime · local model runner
Made by
Ollama
License
MIT — Each model you pull has its own license
Runs on
Windows, macOS, Linux
Needs
Memory for the model you pull: 18 GB for Qwen3.8 27B, under 8 GB for Gemma 4 E2B
Replaces
a cloud model API
Checked
v0.40.19 · 2026-11-29
In the video
13:57 in “I Replaced ALL My Paid AI Apps With Open Source Alternatives”

What it is

Ollama is the plumbing under two of the video's five swaps. It fetches a model by name from its library or straight from Hugging Face, loads it onto whatever GPU you have — spilling layers into system memory if it must — and serves it on localhost:11434, including an OpenAI-compatible API under /v1. Anything that can talk to a cloud model can be pointed there instead, and Hermes Agent and Cline both are. Its launch command goes a step further, installing and configuring an app such as Hermes Desktop against a local model in one line.

The commands that matter

ollama pull qwen3.8:27b      # download, about 18 GB
ollama list                  # what is installed
ollama run gemma4:e2b        # chat in the terminal
ollama ps                    # what is loaded: GPU/CPU split, context
ollama launch hermes-desktop --model qwen3.8:27b

Install from ollama.com/download, or with curl -fsSL https://ollama.com/install.sh | sh on Linux and macOS and irm https://ollama.com/install.ps1 | iex in Windows PowerShell.

What the video shows

Download, install, then one ollama pull per model; YouRunAI's “My Hardware” page suggests which model fits your card. Once pulled, the model appears under Hermes's Ollama tab and in Cline's model list.

Failure mode

A context window smaller than the job. Ollama's documentation sets a 4k-token default on GPUs with less than 24 GiB of memory, and an agent that needs tens of thousands of tokens of instructions, tool definitions and file contents will not get them. Raise the context length in Ollama's settings and confirm it with ollama ps; then watch the same output for the opposite failure, a context so large the model spills to the CPU and every step crawls. And never expose port 11434 to the internet: the API has no authentication. Background: local & edge inference and context windows & memory.