Local LLM runtime
Ollama
Ollama is a MIT-licensed local-LLM desktop app for Linux · macOS · Windows, running on CUDA · Metal · CPU · ROCm, with an OpenAI-compatible API. Ease of use 5/5 in our sourced ratings.
- License
- MIT
- Operating systems
- Linux · macOS · Windows
- Backends
- CUDA · Metal · CPU · ROCm
- Install
- binary
- Ease of use
- 5/5
- Latest version
- v0.40.6
- GitHub stars
- 183,858
- Engine
- llama.cpp + mlx-preview
- Graphical app (GUI)
- Server mode
- OpenAI-compatible API
- CPU offload
- Multi-GPU
- Speculative decoding
- LoRA support
- KV-cache quantization
- One-line install
As of 2026-10-19 · source · GitHub
Setup and what to expect
Best when you want a desktop app for chatting plus a scriptable local server and coding-agent integrations, with one install path across macOS, Windows, and Linux.
- Desktop app
- Ollama ships a graphical macOS and Windows app; the CLI and server remain available.
- Source · as of 2025-07-30
- Apple silicon preview
- Since Ollama 0.19, Apple silicon can run a preview MLX-backed path for select models. The dataset's fit math still uses GGUF artifact sizes.
- Source · as of 2026-03-30
- Default context
- Official defaults are 4K below 24 GiB VRAM, 32K at 24–48 GiB, and 256K at 48 GiB or more. Ollama's docs say coding, agents, and web-search tasks should set at least 64K.
- Source · as of 2026-10-19
- Desktop integrations
- The app can connect Claude and ChatGPT Desktop on macOS; coding agents can be launched with `ollama launch`.
- Source · as of 2026-10-19
1. Install the app or CLI
Download the macOS/Windows app, or run the official install script on Linux. The same binary provides the CLI and local server.
curl -fsSL https://ollama.com/install.sh | shSource: Ollama download page
2. Start Ollama and run a model
Open the app or run `ollama serve`; then pull a registry tag. A registry tag is a distribution name, not proof that its artifact matches the exact quant our engine modeled.
ollama pull qwen3:14b
ollama run qwen3:14bOur engine's verdict uses a computed quant (often Q4_K_M). The registry's default `qwen3:14b` may use a different artifact. Verify the tag's quant on its library page before treating the verdict as an install guarantee.
Source: Ollama quickstart
3. Choose context deliberately
Context is a memory setting, not a free quality upgrade. Set it in the app's settings or with the environment variable, then confirm what was allocated.
OLLAMA_CONTEXT_LENGTH=32768 ollama serveThis command starts a CLI server with that environment variable. If Ollama's app or service is already running, stop/configure that server instead; Ollama's FAQ documents platform-specific environment setup for the app and services.
Source: Ollama context-length docs
4. Read the processor split
`ollama ps` prints resident SIZE, PROCESSOR, CONTEXT, and UNTIL. A mixed CPU/GPU split can indicate offload; 100% CPU can be an intentional CPU-only run. Placement is a clue, not a full speed diagnosis.
ollama psSource: Ollama CLI reference
Keep these boundaries visible
- The MLX preview is Apple-silicon-only and model-dependent. Our engine does not model MLX kernels; treat its tier as the GGUF-path tier.
- Ollama's FAQ still says the default context is 4096, while its dedicated context page lists the VRAM-based defaults above. Treat the allocated CONTEXT in `ollama ps` as authoritative for the run in front of you.
- Ollama's docs recommend at least 64K context for long coding/agent work, but many models cap below that. The right target is the smallest context that holds your task, not a universal number.
- A model can fit and still be unpleasant if it spills to CPU. Check PROCESSOR in `ollama ps`, not just whether the command returned.
Quant-format support
What the feasibility gate checks before any VRAM math — per format and backend.
| Format | Backend | Supported |
|---|---|---|
| gguf | CPU | yes |
| gguf | CUDA | yes |
| gguf | Metal | yes |
| gguf | ROCm | yes |
| gguf | Vulkan | yes |
Software that runs on Ollama
Frontends, assistants and harnesses that can use Ollama as their local backend.
Best Ollama models by VRAM
Which models load cleanly at each memory budget, computed per tier.
Ollama compared
Side-by-side on install, backends, server mode and quant support.
Recommended in workflows
Go deeper
Will your machine run a model with Ollama?
Check with Ollama preselected →Support facts come from each runtime's own documentation, stamped and dated — how the math works.