
Strengths
- Minimalist installation, one-line command to run large models
- Supports mainstream models such as Llama 3, Mistral, Qwen, DeepSeek, etc.
- Data is processed completely locally and privacy is guaranteed.
- Provide REST API for easy integration into own applications
- Completely free, no token restrictions, no network dependencies
Best for
- Run AI assistant locally to protect data privacy
- Develop and test AI applications (local API service)
- Use AI offline (no internet connection required)
- Enterprise intranet deployment, data does not leave the country
- Learn and research open source large models
Installation and quick start
Ollama is extremely easy to install and you can run large models locally in minutes.
Install Ollama and run your first model
# Step 1: Install Ollama # macOS/Linux: curl -fsSL https://ollama.com/install.sh | sh # Windows: # Visit https://ollama.com/download to download the installation package # Step 2: Run the model (automatically download) ollama run llama3.2 # Step 3: Start a conversation # After the installation is complete, enter the question directly in the terminal
You need to download the model for the first run. It is recommended to choose the model size suitable for your own hardware (a 7B model requires about 8GB of memory).
View available models and choose the right one
# View installed models ollama list # Search available models (visit ollama.com/library) # Commonly used model recommendations: # General dialogue (Chinese and English): ollama pull qwen2.5:7b # Ali Tongyi Qianwen, excellent in Chinese ollama pull deepseek-r1:7b # DeepSeek inference model # Code generation: ollama pull qwen2.5-coder:7b # Code-specific model ollama pull codellama:7b # Meta code model #Lightweight (low configuration computer): ollama pull llama3.2:1b # 1B parameters, very low configuration to run
Choose the appropriate model based on your hardware configuration:
- 8GB memory: select 7B parameter model
- 16GB memory: can run 13B parameter model
- 32GB+ memory: can run 34B parameter model
The Qwen series is recommended for Chinese tasks, and Qwen-Coder or DeepSeek-Coder is recommended for coding tasks.