Ollama
Open-source tool that runs open LLMs on your machine with one command
- Pricing
- Open source and free
- Access
- Reachable from mainland China
Last updated
What is Ollama?
Ollama is an open-source tool with a single goal: make running open large language models on your own computer as easy as installing an app. After installation you type one command in the terminal, and it downloads the model, sets up the runtime and drops you into a chat. No Python environments, no manual model-format wrangling.
Its real value is the local API. While running, Ollama serves an OpenAI-compatible endpoint on your machine, so a long list of AI clients, browser extensions, knowledge-base tools and coding assistants can use it as their model backend. Plenty of people install Ollama not to chat in a terminal, but to give other tools a free, offline model whose data never leaves the computer.
Be realistic about local models. What an ordinary computer runs smoothly is usually a smaller, quantised model, and the gap to cloud flagship models is obvious. It suits privacy-sensitive work, offline use, batch processing and tinkering, not replacing your strongest online assistant.
Key features
- One-command models: download and start a model in one step; the library includes mainstream open models.
- Local API server: an OpenAI-compatible local endpoint for other applications to call.
- Cross-platform: runs on macOS, Windows and Linux, using your GPU or Apple silicon for acceleration.
- Custom models: set a system prompt and parameters in a configuration file and package them as your own model variant.
- Model management: list, update and remove local models, and manage several at once.
How to use
- Download the installer for your system from the website; after installing, the background service starts automatically.
- Pick a model from the library that suits your hardware, paying attention to parameter size and memory needs.
- Run it from the terminal; the first run downloads the model, then you can chat.
- To use it in another tool, point that tool’s model address at the local Ollama service and enter the model name.
- Remove models you no longer use; model files take a lot of disk space.
Best for
- Privacy-sensitive data: contracts, medical records and internal documents you do not want in the cloud.
- Powering local tools: a free model backend for knowledge bases, note apps and coding plugins.
- Offline settings: AI on the road or on an isolated network.
- Learning and experimenting: try different open models cheaply and learn the basics of model deployment.
Strengths and limitations
Strengths
- Very easy to install and run; one of the lowest-friction ways to run models locally.
- Strong local API ecosystem with native support in many third-party tools.
- Open source, free, and your data stays on your machine.
Limitations
- Models you can run locally are limited; complex tasks fall well short of cloud flagships.
- Demands memory and GPU; an average computer only runs small models, and slowly.
- Mostly operated from the command line with a basic built-in interface; beginners may prefer the graphical LM Studio.
- Model files are large and slow to download, and speeds from mainland China can be unreliable.
Head-to-head comparisons
Ollama vs. similar tools
| Tool | In one line | Pricing | Access |
|---|---|---|---|
| Hugging Face | The largest hub for open models and datasets — the GitHub of AI | Browsing and downloads free; compute and hosting billed by usage | Blocked in CN |
| ModelScope | Alibaba-led open model hub, the smoothest way to get models in China | Model downloads free; some free compute and inference quota included | Reachable from mainland China |
| OpenRouter | One API for models from every major provider | Pay per use; some models are free | Reachable from mainland China |
| SiliconFlow | Chinese API platform for open models, quick to set up and well priced | Pay per use; some smaller models are free | Reachable from mainland China |
| Ollama | Open-source tool that runs open LLMs on your machine with one command | Open source and free | Reachable from mainland China |
| LM Studio | Desktop app to find, download and chat with local LLMs, no terminal needed | Free to use; the app itself is not open source | Reachable from mainland China |
| Google AI Studio | Google's Gemini playground: try models free and get an API key | Free in the browser; API has a free tier, then pay per use | Blocked in CN |
Pricing and features change often; check the official site before relying on them.