Ollama
Tool for downloading and running open-weight language models on a personal computer or server through a simple command line and local API.
Ollama is a tool for downloading and running large language models and other open-weight models locally on a personal computer or server. A single command pulls a model from Ollama's library and starts an interactive chat, while a local HTTP API lets other programs, editors and coding agents send prompts to the same models. Ollama manages model files, hardware detection and memory allocation, hiding most of the setup that running models by hand would require.
Ollama appeared in 2023 and is written mainly in Go. It has relied on llama.cpp and the related ggml libraries for much of its inference work and stores models in the GGUF format, usually in quantized form to reduce memory use. A Modelfile, loosely modeled on a Dockerfile, lets users package a base model with a system prompt, parameters and templates into a reusable variant. The software runs on macOS, Linux and Windows, uses GPU acceleration where available and offers endpoints compatible with common chat completion interfaces, so many applications built for hosted services can point to it instead.
By reducing local model use to a few commands, Ollama became one of the most common ways for developers to experiment with self-hosted AI. Running models locally keeps prompts and documents on the user's own hardware, avoids per-request fees and works offline, which appeals to privacy-conscious users and Self-Hosting communities. The trade-offs come from hardware limits: models that fit on consumer machines are generally smaller and less capable than the largest hosted systems, and performance depends heavily on available memory and graphics hardware.
Key points
- Ollama downloads, manages and runs open-weight language models with simple commands.
- A local HTTP API lets editors, scripts and agents use the models like a hosted service.
- Modelfiles package a base model with prompts and parameters into reusable variants.
- Local inference keeps data on the user's machine but is limited by available memory and GPU power.
In their own words
...lets you use open models with your coding agents so you can spend less while keeping your data private.
Related entries
llama.cpp
Open-source C and C++ engine for running large language models locally on consumer hardware, known for its quantized GGUF model format.
Open-Weight Model
AI model whose trained weights are publicly released for download, letting others run, study and adapt it, though often under restrictive licenses.
Neural network trained on very large amounts of text to predict the next token, able to generate language and perform many tasks from prompts.
Self-Hosting
Practice of running one's own servers and software for services such as email, file storage or media instead of relying on third-party platforms.
Quantization
Technique that stores and computes a model's numbers at lower precision, such as 8 or 4 bits, to cut memory use and speed up inference.
Llama
Family of large language models from Meta, distributed as downloadable weights that developers can run, study and adapt on their own hardware.
Inference
The stage at which a trained machine learning model is run on fresh inputs to produce predictions or generated outputs, as distinct from training.
Docker Engine
Open-source container runtime and toolset that builds, ships and runs applications in isolated Linux containers from portable images.
Featured in guides
Referenced by
Other entries that discuss or point to Ollama.