Ollama setup: local models, Open WebUI and API basics
Learn to install Ollama, run Llama 3.2, add Open WebUI and connect code through an OpenAI-compatible API on localhost port 11434.
Player not loading? Watch on YouTube
This Ollama tutorial explains how to run models locally on Mac, Windows and Linux. It covers installation, starting Llama 3.2 with ollama run llama3.2, and managing downloads and loaded models through terminal commands. The presenter describes offline chat after the initial model download.
Hardware guidance takes up a substantial part of the walkthrough. The speaker gives a starting point of 8 GB RAM, about 10 GB free disk space and a modern 64-bit processor, with CPU-only execution possible. They recommend 16 GB RAM and a GPU with 8 to 12 GB memory, or Apple Silicon, for more comfortable use. These are the video's guidelines, rather than guarantees of model fit or speed. The discussion also explains unified memory and warns that oversized models can slow a machine severely.
Open WebUI supplies a browser interface with conversation history, model selection and document uploads. The tutorial outlines Docker installation but refers viewers to documentation for detailed setup. For developers, it describes an OpenAI-compatible API at localhost port 11434 and explains that compatible applications can often switch by changing the endpoint and model name.
A final section covers Modelfile profiles with a system prompt, temperature and conversation context settings. The presenter reserves difficult problems for cloud models and notes that local LLM speed and capacity depend on available hardware.