Ollama
Get up and running with large language models locally.
- Stars
- 183.2K
- Forks
- 18.3K
- Open issues
- 4.3K
- Last commit
- 2026-10-15
Live from the GitHub API · updated 2026-10-15
What is Ollama?
Ollama downloads and runs open models such as Llama, Qwen, Gemma, Mistral and DeepSeek with one command and exposes a local REST API that many apps integrate with. It handles quantized model files, GPU offloading and model customization through Modelfiles.
Key features
- One-command model download and chat
- Local REST API (OpenAI-compatible endpoint)
- Modelfiles for custom system prompts and parameters
- Vision and embedding models
System requirements
- Platforms
- Windows · macOS · Linux · Docker
- GPU
- Optional; NVIDIA, AMD and Apple Silicon accelerated
- RAM
- 8 GB for 7B models, 16 GB for 13B, 32 GB+ for larger
How to install Ollama
Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.
macOS / Windows
- 1Download and run the installer from ollama.com.
- 2Run a model.
ollama run llama3.2
Linux
- 1Install with the official script.
curl -fsSL https://ollama.com/install.sh | sh - 2Run a model.
ollama run llama3.2
Docker
- 1Start the server (add --gpus=all for NVIDIA).
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama docker exec -it ollama ollama run llama3.2
Strengths
- Easiest way to run local LLMs
- Huge app ecosystem
Limitations
- Less control than raw llama.cpp
Ollama alternatives compared
| Software | Stars | License | Platforms | VRAM |
|---|---|---|---|---|
| Ollama Get up and running with large language models locally. | 183.2K | MIT | — | |
| llama.cpp LLM inference in C/C++ — the engine behind most local AI apps. | 131.2K | MIT | — | |
| Jan Open-source ChatGPT-style desktop app that runs 100% offline. | 45K | AGPL-3.0 | — | |
| LocalAI Self-hosted, OpenAI-compatible API for text, images, audio and more. | 49.5K | MIT | — | |
| GPT4All Private, on-device chat with local document Q&A. | 77.4K | MIT | — | |
| vLLM High-throughput LLM serving engine with PagedAttention. | 93.8K | Apache-2.0 | — |
FAQ
Is Ollama free?
Yes — Ollama is open-source software released under the MIT license. Check the license (and any model weight licenses) before commercial use.
Does Ollama run on Windows, Mac and Linux?
Ollama supports: Windows, macOS, Linux, Docker.
What hardware do I need for Ollama?
Optional; NVIDIA, AMD and Apple Silicon accelerated. RAM: 8 GB for 7B models, 16 GB for 13B, 32 GB+ for larger
How do I install Ollama?
1. Download and run the installer from ollama.com. 2. Run a model.
What are the best Ollama alternatives?
Popular alternatives include llama.cpp, Jan, LocalAI, GPT4All. See the comparison table on this page.