Start building with open models, locally or in the cloud
open coreMITself-hostablefree
Ollama downloads and runs open language, vision and embedding models on your own computer, with a CLI, a desktop app for macOS and Windows, and a local REST API on port 11434 that also speaks the OpenAI and Anthropic API formats. It runs models on NVIDIA and AMD GPUs, Apple silicon through Metal, and Vulkan, using llama.cpp as a backend, and models are customised with a Modelfile. Ollama can launch coding agents such as Claude Code, Codex and OpenCode against its models, and its paid cloud runs larger open models on Ollama's servers through the same CLI and API.
Ways to install
On your own server
Package managers
Problems it solves
- run an open source LLM like Gemma, Qwen or DeepSeek on my own laptop without sending prompts to a cloud
- download a local model and chat with it from the terminal in one command
- point my app that uses the OpenAI SDK at a model running on my own machine instead
- use Claude Code or Codex with an open model I run myself to avoid API bills
- serve a local model over an HTTP API so other apps on my network can call it
- my laptop GPU is too weak for big open models but I still want to use them through the same tool
- generate embeddings locally for a RAG project without paying per token
- customise a model with my own system prompt and parameters and save it under a new name
- run local LLMs on my AMD GPU or Apple silicon Mac with GPU acceleration
- give my self-hosted chat UI a backend that runs open models on my homelab server
Features
- ollama run to download and chat with a model
- REST API on localhost:11434
- OpenAI and Anthropic API compatibility
- model library at ollama.com/library
- Modelfile for custom system prompts and parameters
- importing models
- streaming, thinking, structured outputs, vision, embeddings, tool calling and web search
- ollama launch for Claude Code, Codex, Copilot CLI, OpenCode, Droid and OpenClaw
- GPU support for NVIDIA, AMD Radeon, Apple Metal and Vulkan
- official Python and JavaScript libraries
View 2 more
- cloud models that run on Ollama's servers, named with a :cloud suffix
- official Docker image
Limitations
- No GPU acceleration on Intel Macs: Ollama runs CPU-only on x86 Macs6
Ways to run it
Ollama (local)
Not included
- larger cloud-only models that need no local GPU
You arrange
- a computer with enough GPU memory or RAM for the models you run
- disk space for models, which can be tens to hundreds of GB
Ollama Cloud
Pay as you go per token; Pro $20/month; Max $100/month; Team $500/month; Enterprise custom89
Only in this edition
- models run on Ollama's servers without a local GPU
- usage credits on paid plans
- model access controls and budgets (Enterprise)
Not included
- structured outputs
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Ollama does.
- LocalAI Your own AI, on your own hardware
- Unsloth Run and train AI models on your own local hardware via an open-source UI
- LM Studio Experiment with LLMs on your computer: chat interface and programmable API
- KoboldCpp Run GGUF AI models locally with a KoboldAI UI. One file, zero install.
- llama.cpp LLM inference in C/C++
- llamafile Distribute and run LLMs with a single file
