A model on your own computer works offline and sends nothing to a server. It is slower and less capable than a hosted one.
- Check memory
- Install Ollama
- Download a model
- Chat
1Check how much memory you have
The model file has to fit in memory with room to spare. These are rough starting points.
| Memory | Start with |
|---|---|
| 8 GB | The smallest models |
| 16 GB | Small to mid-size models |
| 32 GB or a graphics card | Mid-size models at a usable speed |
2Install Ollama
Download the installer for Windows, macOS or Linux from ollama.com and run it. Ollama is free and open source.
3Download and run a model
Pick a model name from ollama.com/library, open a terminal and type the commands below with that name.
ollama pull model-name1
ollama run model-name2
>>> Summarize this paragraph in two sentences.3
ollama list4
- Downloads the model. The first download is several gigabytes.
- Starts a chat in the terminal.
- Type your question after the prompt. It works with the network off.
- Shows the models already on your computer.
4Decide what stays local
On your computer
- Private documents
- Working offline
- No usage cap
Hosted
- Hard questions
- Very long documents
- Web search and newer features