Ollama Models List & Local LLM Guide (2026)
Ollama lets you run large language models locally. Here's the list of popular Ollama models, how to install them, and how to use the local API endpoint.
What is Ollama?
Ollama is an open-source tool that lets you run large language models locally on your own machine. It handles model downloading, quantization, and serving, making local LLM deployment as simple as running a single command.
Unlike cloud APIs, Ollama runs entirely on your hardware — no API key, no per-token billing, no data leaving your machine. This makes it ideal for privacy-sensitive applications, offline use, and cost-free experimentation.
Popular Ollama Models List
Ollama supports a wide range of open-source models. Here are the most popular ones in 2026, with their parameter sizes and approximate memory requirements:
- llama3.1:8b — Meta's Llama 3.1, 8B params, ~5GB RAM
- llama3.1:70b — Llama 3.1, 70B params, ~40GB RAM (requires strong GPU)
- qwen2.5:7b — Alibaba's Qwen 2.5, 7B params, ~5GB RAM, strong Chinese support
- deepseek-r1:7b — DeepSeek-R1 distilled reasoning model, 7B params, ~5GB RAM
- deepseek-r1:14b — DeepSeek-R1, 14B params, ~9GB RAM, better reasoning
- gemma2:9b — Google's Gemma 2, 9B params, ~6GB RAM
- mistral:7b — Mistral 7B, lightweight and fast, ~5GB RAM
- phi3:3.8b — Microsoft Phi-3 mini, 3.8B params, ~3GB RAM, great for low-end hardware
How to Install and Pull Models
Install Ollama from ollama.com — there are installers for macOS, Linux, and Windows. After installation, pulling a model is a single command:
# Pull the Llama 3.1 8B model
ollama pull llama3.1:8b
# Run the model interactively
ollama run llama3.1:8b
# List installed models
ollama listBasic Ollama commands to pull, run, and list models
Using the Ollama Local API
Ollama runs a local HTTP server on port 11434. The API is OpenAI-compatible, so you can use the same SDK with the base URL set to localhost. No API key is required for local calls.
from openai import OpenAI
# Ollama runs locally — no API key needed
client = OpenAI(
api_key="ollama", # any string works
base_url="http://localhost:11434/v1"
)
response = client.chat.completions.create(
model="llama3.1:8b",
messages=[
{"role": "user", "content": "Explain what an API key is."}
]
)
print(response.choices[0].message.content)Calling a local Ollama model through the OpenAI-compatible API
Ollama vs Cloud APIs: When to Use Which
Ollama shines for privacy-sensitive work, offline environments, and cost-free unlimited usage. Cloud APIs offer more powerful models (GPT-4o, Claude 3.5 Sonnet) that can't run on consumer hardware, plus features like function calling and vision that local models may not fully support.
A common pattern: prototype locally with Ollama, then deploy to cloud APIs for production. This gives you free development and the best models for production.
FAQ
Is Ollama completely free?
Yes. Ollama is open-source and free. You download and run models on your own hardware at no cost. The only cost is your own compute resources (CPU, RAM, GPU).
Do I need an API key for Ollama?
No. Ollama runs locally on your machine. The local API endpoint doesn't require authentication. When using the OpenAI SDK, you can pass any string as the API key — it's ignored.
What hardware do I need to run Ollama models?
For 7-8B parameter models, you need about 5GB RAM (8GB+ recommended). For 14B models, about 9GB. For 70B models, you need a strong GPU with 40GB+ VRAM. Smaller models like Phi-3 (3.8B) can run on machines with as little as 4GB RAM.
Can Ollama models be used in production?
Yes, but with caveats. Local deployment is great for privacy and cost control, but performance and model quality may lag behind top cloud models. For production use, ensure you have adequate hardware and monitor response latency.
Related in This Series
Related Providers
Sources
- Ollama Official WebsiteOllama · Checked 2026-07-29
- Ollama Model LibraryOllama · Checked 2026-07-29